Mail hang problem
Posted: 30 Mar 2013, 11:27
I've been running a B2 for a few years and switched to B3 in December. Throughout all this my mail has been operating fine, until a couple of weeks ago. Since then it has apparently just stopped receiving mail from my ISP. I checked on the ISP and can see the mail there.
I can sort the problem by making a change to the configuration. I just change something simple such as the setting for a user like 'Leave Copy'. (Mail---Retrieve Mail---edit a user---->tick or untick leave mail on server).
The change forces a restart of the fetchmail daemon as /etc/fetchmailrc has been changed.
Has anybody seen this behaviour or can suggest how I can sort this?
These are the reoccuring msgs I see in the maillog until the restart:
Mar 30 15:14:18 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:18 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:18 petra fetchmail[1291]: Query status=2 (SOCKET)
Mar 30 15:14:38 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:38 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:38 petra fetchmail[1291]: Query status=2 (SOCKET)
Here are messages from syslog around time of me making the change that forces a restart of the daemon.
Mar 30 15:14:38 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:38 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:38 petra fetchmail[1291]: Query status=2 (SOCKET)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24811]: (root) CMD (/etc/init.d/dovecot status >/dev/null 2>&1 || /etc/init.d/dovecot restart)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24812]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24813]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
Mar 30 15:15:04 petra bubba-networkmanager: Starting up
Mar 30 15:16:04 petra bubba-networkmanager: Server timed out, terminating
Mar 30 15:16:04 petra bubba-networkmanager: Daemon terminating
Mar 30 15:16:04 petra bubba-networkmanager: Shutting down
Mar 30 15:17:01 petra /USR/SBIN/CRON[24879]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 30 15:19:38 petra fetchmail[1291]: restarting fetchmail (/etc/fetchmailrc changed)
Mar 30 15:19:38 petra fetchmail[1291]: starting fetchmail 6.3.17 daemon
Mar 30 15:19:49 petra fetchmail[1291]: 212 messages (174 seen) for jingle+robin at mail.plus.net (6628482 octets).
I can sort the problem by making a change to the configuration. I just change something simple such as the setting for a user like 'Leave Copy'. (Mail---Retrieve Mail---edit a user---->tick or untick leave mail on server).
The change forces a restart of the fetchmail daemon as /etc/fetchmailrc has been changed.
Has anybody seen this behaviour or can suggest how I can sort this?
These are the reoccuring msgs I see in the maillog until the restart:
Mar 30 15:14:18 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:18 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:18 petra fetchmail[1291]: Query status=2 (SOCKET)
Mar 30 15:14:38 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:38 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:38 petra fetchmail[1291]: Query status=2 (SOCKET)
Here are messages from syslog around time of me making the change that forces a restart of the daemon.
Mar 30 15:14:38 petra fetchmail[1291]: getaddrinfo("mail.plus.net","pop3") error: Name or service not known
Mar 30 15:14:38 petra fetchmail[1291]: POP3 connection to mail.plus.net failed: Connection timed out
Mar 30 15:14:38 petra fetchmail[1291]: Query status=2 (SOCKET)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24811]: (root) CMD (/etc/init.d/dovecot status >/dev/null 2>&1 || /etc/init.d/dovecot restart)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24812]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
Mar 30 15:15:01 petra /USR/SBIN/CRON[24813]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
Mar 30 15:15:04 petra bubba-networkmanager: Starting up
Mar 30 15:16:04 petra bubba-networkmanager: Server timed out, terminating
Mar 30 15:16:04 petra bubba-networkmanager: Daemon terminating
Mar 30 15:16:04 petra bubba-networkmanager: Shutting down
Mar 30 15:17:01 petra /USR/SBIN/CRON[24879]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 30 15:19:38 petra fetchmail[1291]: restarting fetchmail (/etc/fetchmailrc changed)
Mar 30 15:19:38 petra fetchmail[1291]: starting fetchmail 6.3.17 daemon
Mar 30 15:19:49 petra fetchmail[1291]: 212 messages (174 seen) for jingle+robin at mail.plus.net (6628482 octets).