> Here's the link for the maillog: > > https://paste.fedoraproject.org/paste/kbH2N9Pc~JPuCqVpE1kszQOK. There are a couple of things: Aug 23 21:47:18 ts130 postfix/smtpd[3750]: warning: hostname localhost does not resolve to address 127.0.0.1 Aug 23 21:47:18 ts130 postfix/smtpd[3750]: connect from unknown[127.0.0.1] That needs to be fixed. What does the entry for 127.0.0.1 look like in /etc/hosts? Have you also defined ::1 to be localhost in /etc/hosts? Aug 23 21:47:21 ts130 dovecot: imap-login: Login: user=<tdukes>, method=PLAIN, rip=::1, lip=::1, mpid=3754, secured, session=<9W1yjiR08AAAAAAAAAAAAAAAAAAAAAAB> So you are connecting over TCPv6 from roundcube to dovecot? Is that what you want? What is the IMAP hostname in the roundcube configuration? P.
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Pete Biggs > Sent: Friday, August 24, 2018 10:00 AM > To: centos at centos.org > Subject: Re: [CentOS] Mail has quit working > > > > Here's the link for the maillog: > > > > https://paste.fedoraproject.org/paste/kbH2N9Pc~JPuCqVpE1kszQ > > OK. There are a couple of things: > > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: warning: hostname localhost > does not resolve to address 127.0.0.1 > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: connect from > unknown[127.0.0.1] > > That needs to be fixed. What does the entry for 127.0.0.1 look like in > /etc/hosts? Have you also defined ::1 to be localhost in /etc/hosts?127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 192.168.1.110 ts130.palmettodomains.com ts130 192.168.1.110 mail.palmettodomains.com mail # ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.102 edukes1.palmettodomains.com edukes1 192.168.1.105 hp8200.palmettodomains.com hp8200> > > Aug 23 21:47:21 ts130 dovecot: imap-login: Login: user=<tdukes>, > method=PLAIN, rip=::1, lip=::1, mpid=3754, secured, > session=<9W1yjiR08AAAAAAAAAAAAAAAAAAAAAAB> > > So you are connecting over TCPv6 from roundcube to dovecot? Is that > what you want?I have IPV6 disabled (I think).> What is the IMAP hostname in the roundcube configuration? > > P.// IMAP // ---------------------------------- // The mail host chosen to perform the log-in. // Leave blank to show a textbox at login, give a list of hosts // to display a pulldown menu or set one host as string. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// // Supported replacement variables: // %n - hostname ($_SERVER['SERVER_NAME']) // %t - hostname without the first part // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %s - domain name after the '@' from e-mail address provided at login screen // For example %n = mail.domain.tld, %t = domain.tld // WARNING: After hostname change update of mail_host column in users table is // required to match old user data records with the new host. $config['default_host'] = 'localhost'; TIA
On Fri, 24 Aug 2018 at 10:36, TE Dukes <tdukes at palmettoshopper.com> wrote:> > > > > -----Original Message----- > > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Pete Biggs > > Sent: Friday, August 24, 2018 10:00 AM > > To: centos at centos.org > > Subject: Re: [CentOS] Mail has quit working > > > > > > > Here's the link for the maillog: > > > > > > https://paste.fedoraproject.org/paste/kbH2N9Pc~JPuCqVpE1kszQ > > > > OK. There are a couple of things: > > > > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: warning: hostname localhost > > does not resolve to address 127.0.0.1 > > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: connect from > > unknown[127.0.0.1] > > > > That needs to be fixed. What does the entry for 127.0.0.1 look like in > > /etc/hosts? Have you also defined ::1 to be localhost in /etc/hosts? > > 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > 192.168.1.110 ts130.palmettodomains.com ts130 > 192.168.1.110 mail.palmettodomains.com mail > > # ::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > 192.168.1.102 edukes1.palmettodomains.com edukes1 > 192.168.1.105 hp8200.palmettodomains.com hp8200 > > > > > > > Aug 23 21:47:21 ts130 dovecot: imap-login: Login: user=<tdukes>, > > method=PLAIN, rip=::1, lip=::1, mpid=3754, secured, > > session=<9W1yjiR08AAAAAAAAAAAAAAAAAAAAAAB> > > > > So you are connecting over TCPv6 from roundcube to dovecot? Is that > > what you want? > > I have IPV6 disabled (I think). >You have it disabled in the configs you have shown.. but roundcube is configured to expect it to work. You are going to need to figure out where that is in the dovecot (possibly a find /etc -type f -print | xargs grep -l "::1" might give you some ideas unless this is in the database where you will be needing to play with that. It may be just easier to just turn on ipv6 and get that working again as that seems to be what 'broke' mail versus the kernel upgrade. [The kernel reboot probably just brought to light a 'oh I have ipv6 required somewhere but it is deeply hidden'] -- Stephen J Smoogen.
> > OK. There are a couple of things: > > > > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: warning: hostname localhost > > does not resolve to address 127.0.0.1 > > Aug 23 21:47:18 ts130 postfix/smtpd[3750]: connect from > > unknown[127.0.0.1] > > > > That needs to be fixed. What does the entry for 127.0.0.1 look like in > > /etc/hosts? Have you also defined ::1 to be localhost in /etc/hosts? > > 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > 192.168.1.110 ts130.palmettodomains.com ts130 > 192.168.1.110 mail.palmettodomains.com mail > > # ::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > 192.168.1.102 edukes1.palmettodomains.com edukes1 > 192.168.1.105 hp8200.palmettodomains.com hp8200In the file /etc/nsswitch.conf there is a line that starts hosts: what does that say?> > > > > > > Aug 23 21:47:21 ts130 dovecot: imap-login: Login: user=<tdukes>, > > method=PLAIN, rip=::1, lip=::1, mpid=3754, secured, > > session=<9W1yjiR08AAAAAAAAAAAAAAAAAAAAAAB> > > > > So you are connecting over TCPv6 from roundcube to dovecot? Is that > > what you want? > > I have IPV6 disabled (I think).Well it's certainly trying to connect via v6 - that's what the ::1 on that line is.> > > What is the IMAP hostname in the roundcube configuration? > > > > > $config['default_host'] = 'localhost'; >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.