> > I think part of the problem is that 'localhost' is being interpreted as > > the IPv6 loopback device ::1 and not the v4 127.0.0.1 - it may be that > > roundcube has got a wrong mailhost stored. Try running the following > > SQL command on your roundcube database: > > > > mysql --user=rc -p roundcubemail -e "select username,mail_host from > > users;" > > > > It will prompt for the password. (Obviously use a different user if > > it's not 'rc' and a different databasename if it's not 'roundcubemail' > > - they are the defaults and are defined in the roundcube config file.) > > > > It will come back with a list of the users defined and the mailhost it > > will attempt to connect to for that user. > > > > P. > > I seem to have forgotten the password I used. Have tried everything. I may > have to re-install roundcube. >A bit further up in the roundcube config file there's a line defining the database connection. The username, password and database name are all in the definition - something like $config['db_dsnw'] = 'mysql://username:password at host/database'; P.
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Pete Biggs > Sent: Friday, August 24, 2018 5:16 PM > To: centos at centos.org > Subject: Re: [CentOS] Mail has quit working > > > > > I think part of the problem is that 'localhost' is being interpretedas> > > the IPv6 loopback device ::1 and not the v4 127.0.0.1 - it may be that > > > roundcube has got a wrong mailhost stored. Try running the following > > > SQL command on your roundcube database: > > > > > > mysql --user=rc -p roundcubemail -e "select username,mail_host from > > > users;" > > > > > > It will prompt for the password. (Obviously use a different user if > > > it's not 'rc' and a different databasename if it's not 'roundcubemail' > > > - they are the defaults and are defined in the roundcube config file.) > > > > > > It will come back with a list of the users defined and the mailhost it > > > will attempt to connect to for that user. > > > > > > P. > > > > I seem to have forgotten the password I used. Have tried everything. Imay> > have to re-install roundcube. > > > A bit further up in the roundcube config file there's a line defining > the database connection. The username, password and database name are > all in the definition - something like > > $config['db_dsnw'] = 'mysql://username:password at host/database'; > > P. >Thanks!! I ran the query. Got something like this +---------------------------+-------------------------+ | username | mail_host | +---------------------------+-------------------------+ | tdukes | localhost | +---------------------------|-------------------------+
On 08/24/2018 03:15 PM, TE Dukes wrote:>> Made those changes and rebooted. No change. Still times out.>What do you get from this command?> ??? getent hosts localhost::1 localhost>Can you reach localhost by "normal" means?> ??? telnet localhost 25I cannot. Thanks
On 08/24/2018 05:40 PM, TE Dukes wrote:> >> ??? getent hosts localhost > ::1 localhostCan't say that's what I expected.? What about "getent hosts 127.0.0.1"? Also, uncomment the ::1 line in /etc/hosts.>> Can you reach localhost by "normal" means? >> ??? telnet localhost 25 > I cannot.Can you share the specific output of the command?? It might help. From what you've told us, localhost resolves to the IPv6 local address, and that address is present on your "lo" device.? You *should* be able to connect.? The type of error might indicate what is still wrong with the system.