oncebrewedpbx ~ # cat /mnt/kd/rc.conf.d/gui.network.conf | grep SMTP_SERVER SMTP_SERVER="w2k3nnpexch5.nnpa.com" oncebrewedpbx ~ # ping w2k3nnpexch5.nnpa.com PING w2k3nnpexch5.nnpa.com (10.8.243.4): 56 data bytes 64 bytes from 10.8.243.4: seq=0 ttl=126 time=179.851 ms 64 bytes from 10.8.243.4: seq=1 ttl=126 time=84.752 ms ^C --- w2k3nnpexch5.nnpa.com ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 84.752/132.301/179.851 ms oncebrewedpbx ~ # telnet w2k3nnpexch5.nnpa.com 25 220 w2k3nnpexch5.nnpa.com Microsoft ESMTP MAIL Service ready at Fri, 8 Oct 2010 14:47:53 +0100 quit oncebrewedpbx ~ # msmtpqueue -f msmtpqueue: already running, lockfile "/var/lock/msmtp.lock" exists, process id: 15007.
Hrm. Tom > -----Original Message----- > From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] > Sent: 08 October 2010 14:39 > To: AstLinux Users Mailing List > Cc: Tom Chadwin > Subject: Re: [Astlinux-users] Mail queue intermittently stacks up mail > > Tom, > > You could try to manually flush the queue: > > $ msmtpqueue -f > > Though I expect it is already running, but give it a try. > > Can you test if your email relay is reachable. > > Lonnie > > > > On Oct 8, 2010, at 8:24 AM, Tom Chadwin wrote: > > > Hi Lonnie > > > > I know the mail queue only recently appeared, thanks to your work. > > I'll keep an eye, and try to perform those tests is the > symptoms reoccur. > > > > Actually, just done this on one box where this has occurred before, > > and here is what is returned (all email addresses are in the public > > domain, so do not worry about confidentiality - callerID > phone number > > snipped). Looks as though the issue might current be > manifesting itself. Hope this helps. > > > > Tom > > > > > > oncebrewedpbx ~ # msmtpqueue > > ============================== > > Index: 1 -- File: /var/spool/mail/2010-10-02-14.08.59-0.msmtp > > Args: -t > > Size: 29.7k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Southern Rangers" <southern.rang...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > ============================== > > Index: 2 -- File: /var/spool/mail/2010-10-03-11.31.53-0.msmtp > > Args: -t > > Size: 20.8k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Paget Lazarri" <paget.lazz...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > ============================== > > Index: 3 -- File: /var/spool/mail/2010-10-05-11.56.47-0.msmtp > > Args: -t > > Size: 89.6k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Kevin Malone" <kevin.mal...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > ============================== > > Index: 4 -- File: /var/spool/mail/2010-10-06-09.48.06-0.msmtp > > Args: -t > > Size: 41.6k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Paget Lazarri" <paget.lazz...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > ============================== > > Index: 5 -- File: /var/spool/mail/2010-10-07-12.34.20-0.msmtp > > Args: -t > > Size: 55.3k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Southern Rangers" <southern.rang...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > ============================== > > Index: 6 -- File: /var/spool/mail/2010-10-07-14.42.53-0.msmtp > > Args: -t > > Size: 61.2k > > ------------------------------ > > From: "Once Brewed voicemail" <Once Brewed voicem...@oncebrewedpbx> > > To: "Southern Rangers" <southern.rang...@nnpa.org.uk> > > Subject: > =?ISO-8859-1?Q?=5BVoicemail=5D=3A_New_message_from_=[snip]?= > > > > oncebrewedpbx ~ # grep 'msmtpqueue' /var/log/messages Sep > 28 11:07:07 > > oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-08-26-16.01.48-0.msmtp > > Sep 28 11:07:08 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-08-27-13.29.21-0.msmtp > > Sep 28 11:07:13 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-08-31-13.34.47-0.msmtp > > Sep 28 11:07:14 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-08-31-16.11.32-0.msmtp > > Sep 28 11:07:15 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-02-09.13.05-0.msmtp > > Sep 28 11:07:17 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-02-16.38.26-0.msmtp > > Sep 28 11:07:18 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-03-14.52.23-0.msmtp > > Sep 28 11:07:20 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-05-11.45.27-0.msmtp > > Sep 28 11:07:21 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-06-13.48.42-0.msmtp > > Sep 28 11:07:22 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-07-08.29.25-0.msmtp > > Sep 28 11:07:24 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-07-11.27.04-0.msmtp > > Sep 28 11:07:26 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-07-17.15.41-0.msmtp > > Sep 28 11:07:27 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-08-10.33.05-0.msmtp > > Sep 28 11:07:29 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-10-10.13.58-0.msmtp > > Sep 28 11:07:31 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-12-10.42.32-0.msmtp > > Sep 28 11:07:32 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-12-11.37.20-0.msmtp > > Sep 28 11:07:34 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-13-09.02.21-0.msmtp > > Sep 28 11:07:35 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-14-11.55.56-0.msmtp > > Sep 28 11:07:36 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-15-14.46.50-0.msmtp > > Sep 28 11:07:38 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-16-13.25.24-0.msmtp > > Sep 28 11:07:40 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-17-10.21.07-0.msmtp > > Sep 28 11:07:41 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-17-10.29.08-0.msmtp > > Sep 28 11:07:44 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-20-10.38.38-0.msmtp > > Sep 28 11:07:45 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-20-11.40.11-0.msmtp > > Sep 28 11:07:46 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-21-12.54.45-0.msmtp > > Sep 28 11:07:49 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-21-18.23.53-0.msmtp > > Sep 28 11:07:51 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-22-09.35.48-0.msmtp > > Sep 28 11:07:52 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-22-11.36.50-0.msmtp > > Sep 28 11:07:53 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-23-12.24.34-0.msmtp > > Sep 28 11:07:54 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-23-13.56.34-0.msmtp > > Sep 28 11:07:55 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-23-16.00.38-0.msmtp > > Sep 28 11:07:56 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-23-16.07.02-0.msmtp > > Sep 28 11:07:58 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-23-18.36.48-0.msmtp > > Sep 28 11:07:59 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-24-09.14.23-0.msmtp > > Sep 28 11:08:01 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-25-10.13.55-0.msmtp > > Sep 28 11:08:02 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-26-12.46.47-0.msmtp > > Sep 28 11:08:04 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-26-20.57.13-0.msmtp > > Sep 28 11:08:05 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-27-13.40.27-0.msmtp > > Sep 28 11:08:07 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-27-17.00.27-0.msmtp > > Sep 28 11:08:10 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-28-09.04.30-0.msmtp > > Sep 28 11:08:12 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-28-10.33.50-0.msmtp > > Sep 29 08:44:04 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-08.44.01-0.msmtp > > Sep 29 09:41:59 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-09.41.56-0.msmtp > > Sep 29 12:10:23 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-12.10.22-0.msmtp > > Sep 29 13:34:55 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-13.34.52-0.msmtp > > Sep 29 17:13:16 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-17.13.14-0.msmtp > > Sep 29 17:14:16 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-17.14.14-0.msmtp > > Sep 29 17:46:58 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-17.46.56-0.msmtp > > Sep 29 20:52:51 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-29-20.52.49-0.msmtp > > Sep 30 11:33:26 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-30-11.33.24-0.msmtp > > Sep 30 15:40:42 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-30-15.40.41-0.msmtp > > Sep 30 17:26:45 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-09-30-17.26.44-0.msmtp > > Oct 1 08:41:52 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-10-01-08.41.51-0.msmtp > > Oct 1 16:55:26 oncebrewedpbx mail.info msmtpqueue: Success: > > /var/spool/mail/2010-10-01-16.55.22-0.msmtp > > Oct 2 14:09:01 oncebrewedpbx mail.info msmtpqueue: (74) msmtp: > > network read > > error: Connection reset by peer msmtp: could not send mail (account > > default from /etc/msmtprc) Oct 2 14:09:01 oncebrewedpbx mail.info > > msmtpqueue: Failure: Keeping mail queue > > /var/spool/mail/2010-10-02-14.08.59-0 msmtp/mail pair. > > Oct 2 14:14:01 oncebrewedpbx mail.info msmtpqueue: (74) msmtp: > > network read > > error: Connection reset by peer msmtp: could not send mail (account > > default from /etc/msmtprc) Oct 2 14:14:01 oncebrewedpbx mail.info > > msmtpqueue: Failure: Keeping mail queue > > /var/spool/mail/2010-10-02-14.08.59-0 msmtp/mail pair. > > Oct 2 14:19:03 oncebrewedpbx mail.info msmtpqueue: (74) msmtp: > > network read > > error: Connection reset by peer msmtp: could not send mail (account > > default from /etc/msmtprc) Oct 2 14:19:03 oncebrewedpbx mail.info > > msmtpqueue: Failure: Keeping mail queue > > /var/spool/mail/2010-10-02-14.08.59-0 msmtp/mail pair. > > > > > > > >> -----Original Message----- > >> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] > >> Sent: 08 October 2010 13:29 > >> To: AstLinux Users Mailing List > >> Cc: Tom Chadwin > >> Subject: Re: [Astlinux-users] Mail queue intermittently stacks up > >> mail > >> > >> Hi Tom, > >> > >> The mail queue (msmtpqueue) is a fairly recent addition to > AsLinux, > >> previous to that, undeliverable email was simply dropped. > >> > >> The status of the mail queue is shown by typing: > >> > >> $ msmtpqueue > >> > >> Every time a new email is sent the queue is flushed (tries to > >> anyway), and should an error occur it will retry every 5 minutes. > >> > >> There are cases where "msmtp" returns a benign error which is not > >> 'queue worthy' (64 for example), possibly there is another that > >> should be added to that list. > >> > >> My advice is to occasionally checkin to that box, and if you get > >> results other than... > >> > >> $ msmtpqueue > >> Mail queue is empty > >> > >> take a look at /var/log/messages... > >> > >> $ grep 'msmtpqueue' /var/log/messages > >> > >> for clues and report back. > >> > >> Lonnie > >> > >> > >> On Oct 8, 2010, at 2:34 AM, Tom Chadwin wrote: > >> > >>> Morning all > >>> > >>> A very minor issue I've come across is that sometimes our > 0.7.2 (as > >>> was then > >>> - 0.7.3 now) boxes stop delivering voicemail emails. I tend > >> not to be > >>> notified of this by users for some time, and sometimes > even not at > >>> all. A reboot of Astlinux causes all the queued messages to be > >>> delivered at once, causing much hilarity and confusion. On > >> occasion, > >>> I've not been told that the emails have stopped arriving, have > >>> upgraded Astlinux, rebooted, and suddenly all these emails > >> have appeared. > >>> > >>> So far, this has only happened at remote offices. Our mail > >> server is > >>> at our HQ. I am guessing that the issue is that the > remote Astlinux > >>> boxes have lost contact with the mail server at some > point (such as > >>> when the VPN - not managed by Astlinux - has temporarily > >> gone down), > >>> but the boxes have not successfully detected that the mail > >> server has > >>> come back up. The remote boxes add a route to the head > >> office subnet via rc.elocal. > >>> > >>> What mechanism, and perhaps what timings, does Astlinux use > >> to detect > >>> that the specified mail server is once more available? If > I become > >>> aware that this behaviour is ongoing again, I'll mail the > list, and > >>> one of the devs can hop onto the box if that would help. > To stress, > >>> this is not at all a big issue, but I thought it would be > >> of interest. > >>> > >>> Thanks > >>> > >>> Tom > >> > >> > >> -------------------------------------------------------------- > >> ---------------- > >> Beautiful is writing same markup. Internet Explorer 9 supports > >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > >> Spend less time writing and rewriting code and more time creating > >> great experiences on the web. Be a part of the beta today. > >> http://p.sf.net/sfu/beautyoftheweb > >> _______________________________________________ > >> Astlinux-users mailing list > >> Astlinux-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/astlinux-users > >> > >> Donations to support AstLinux are graciously accepted via > PayPal to > >> pay...@krisk.org. > >> > > > > > > > ---------------------------------------------------------------------- > > -------- Beautiful is writing same markup. Internet Explorer 9 > > supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, > and DOM L2 > > & L3. > > Spend less time writing and rewriting code and more time creating > > great experiences on the web. Be a part of the beta today. > > http://p.sf.net/sfu/beautyoftheweb > > _______________________________________________ > > Astlinux-users mailing list > > Astlinux-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > > > Donations to support AstLinux are graciously accepted via > PayPal to pay...@krisk.org. > > > > > > > -------------------------------------------------------------- > ---------------- > Beautiful is writing same markup. Internet Explorer 9 > supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, > and DOM L2 & L3. > Spend less time writing and rewriting code and more time > creating great experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via > PayPal to pay...@krisk.org. > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.