emails sitting in postfix mailq a long time
Hi,
trying to figure out why there are a lot of these in postfix's mail queu,
75D752B3E0* 415295 Tue Jan 25 12:38:50 MAILER-DAEMON xxxxxx-bounces@lists.xxxxxx
Are these bounces back into mailman?
regards
Steven
On 1/24/22 16:36, Steven Jones wrote:
Hi,
trying to figure out why there are a lot of these in postfix's mail queu,
75D752B3E0* 415295 Tue Jan 25 12:38:50 MAILER-DAEMON xxxxxx-bounces@lists.xxxxxx
Are these bounces back into mailman?
They could be. They also could be spam sent to the xxxxxx-bounces@lists.xxxxxx address, but the MAILER-DAEMON sender makes bounces more likely.
The asterisk says the message is active. Whats in the mail.log for these? E.g.
grep 75D752B3E0 /var/log/mail.log
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
That email has gone but we have a similar one running today,
[root@vuwunicomailmp1 ~]# grep A2FC12B3C2 /var/log/maillog Jan 26 12:06:24 vuwunicomailmp1 postfix/smtpd[1701064]: A2FC12B3C2: client=mail-sy4aus01lp2176.outbound.protection.outlook.com[104.47.71.176] Jan 26 12:06:24 vuwunicomailmp1 postfix/cleanup[1700168]: A2FC12B3C2: message-id=<5d76f972-5e21-4e35-9238-3c52fc431855@SY6PR01MB8442.ausprd01.prod.outlook.com> Jan 26 12:06:24 vuwunicomailmp1 postfix/qmgr[1503666]: A2FC12B3C2: from=<>, size=78692, nrcpt=1 (queue active) [root@vuwunicomailmp1 ~]# find /var/spool -name A2FC12B3C2 /var/spool/postfix/active/A2FC12B3C2 [root@vuwunicomailmp1 ~]#
Looking inside A2~
"8><---- Your message to xxxxx.s haw@xxxxxx.nz couldn't be delivered.NLxxxxx.shaw wasn't found at xxxxxxxx.nz, or the mailbox is unava ilabl=Ne.N2nz-libs-bounces 8><----
It looks like the user doesnt exist so yes 99% sure it is a bounce. Just for some reason this list is really bad at cluttering the mailq.
TY
We are still getting delays of hours on odd emails in other lists which I cant fathom yet but it is not this impacting I think?
regards
Steven
From: Mark Sapiro <mark@msapiro.net> Sent: Tuesday, 25 January 2022 2:18 pm To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: emails sitting in postfix mailq a long time
On 1/24/22 16:36, Steven Jones wrote:
Hi,
trying to figure out why there are a lot of these in postfix's mail queu,
75D752B3E0* 415295 Tue Jan 25 12:38:50 MAILER-DAEMON xxxxxx-bounces@lists.xxxxxx
Are these bounces back into mailman?
They could be. They also could be spam sent to the xxxxxx-bounces@lists.xxxxxx address, but the MAILER-DAEMON sender makes bounces more likely.
The asterisk says the message is active. Whats in the mail.log for these? E.g.
grep 75D752B3E0 /var/log/mail.log
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.pytho... Mailman FAQ: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.o... Security Policy: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.o... Searchable Archives: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-a... https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.pytho...
When my mailq get hundreds to thousands stacked up, all email slows to a crawl.
Is your DNS setup correctly? Can you confirm the NLxxxxx.shaw is able or not able to be resolved?
On 1/25/2022 3:21 PM, Steven Jones wrote:
That email has gone but we have a similar one running today,
[root@vuwunicomailmp1 ~]# grep A2FC12B3C2 /var/log/maillog Jan 26 12:06:24 vuwunicomailmp1 postfix/smtpd[1701064]: A2FC12B3C2: client=mail-sy4aus01lp2176.outbound.protection.outlook.com[104.47.71.176] Jan 26 12:06:24 vuwunicomailmp1 postfix/cleanup[1700168]: A2FC12B3C2: message-id=<5d76f972-5e21-4e35-9238-3c52fc431855@SY6PR01MB8442.ausprd01.prod.outlook.com> Jan 26 12:06:24 vuwunicomailmp1 postfix/qmgr[1503666]: A2FC12B3C2: from=<>, size=78692, nrcpt=1 (queue active) [root@vuwunicomailmp1 ~]# find /var/spool -name A2FC12B3C2 /var/spool/postfix/active/A2FC12B3C2 [root@vuwunicomailmp1 ~]#
Looking inside A2~
"8><---- Your message to xxxxx.s haw@xxxxxx.nz couldn't be delivered.NLxxxxx.shaw wasn't found at xxxxxxxx.nz, or the mailbox is unava ilabl=Ne.N2nz-libs-bounces 8><----
It looks like the user doesnt exist so yes 99% sure it is a bounce. Just for some reason this list is really bad at cluttering the mailq.
TY
We are still getting delays of hours on odd emails in other lists which I cant fathom yet but it is not this impacting I think?
regards
Steven
From: Mark Sapiro <mark@msapiro.net> Sent: Tuesday, 25 January 2022 2:18 pm To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: emails sitting in postfix mailq a long time
On 1/24/22 16:36, Steven Jones wrote:
Hi,
trying to figure out why there are a lot of these in postfix's mail queu,
75D752B3E0* 415295 Tue Jan 25 12:38:50 MAILER-DAEMON xxxxxx-bounces@lists.xxxxxx
Are these bounces back into mailman? They could be. They also could be spam sent to the xxxxxx-bounces@lists.xxxxxx address, but the MAILER-DAEMON sender makes bounces more likely.
The asterisk says the message is active. Whats in the mail.log for these? E.g.
grep 75D752B3E0 /var/log/mail.log
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.pytho... Mailman FAQ: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.o... Security Policy: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.o... Searchable Archives: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-a... https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.pytho...
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
On 1/25/22 15:21, Steven Jones wrote:
That email has gone but we have a similar one running today,
[root@vuwunicomailmp1 ~]# grep A2FC12B3C2 /var/log/maillog Jan 26 12:06:24 vuwunicomailmp1 postfix/smtpd[1701064]: A2FC12B3C2: client=mail-sy4aus01lp2176.outbound.protection.outlook.com[104.47.71.176] Jan 26 12:06:24 vuwunicomailmp1 postfix/cleanup[1700168]: A2FC12B3C2: message-id=<5d76f972-5e21-4e35-9238-3c52fc431855@SY6PR01MB8442.ausprd01.prod.outlook.com> Jan 26 12:06:24 vuwunicomailmp1 postfix/qmgr[1503666]: A2FC12B3C2: from=<>, size=78692, nrcpt=1 (queue active) ... It looks like the user doesnt exist so yes 99% sure it is a bounce. Just for some reason this list is really bad at cluttering the mailq.
It's a bit of a puzzle. Postfix should be trying to deliver the mail to Mailman's LMTP runner. It doesn't really matter what the content is. Mailman's LMTP runner should either accept or reject the recipient, but it appears that neither has happened and Postfix is just waiting.
Look for messages similar to these
Jan 25 20:04:28 2022 (16427) Available AUTH mechanisms: LOGIN(builtin)
PLAIN(builtin)
Jan 25 20:04:28 2022 (16427) Peer: ('127.0.0.1', 60119)
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) handling connection
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'LHLO
mail.mailman3.org'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'MAIL
FROM:<mark@msapiro.net> SIZE=3913'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) sender: mark@msapiro.net
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'RCPT
TO:<mailman-users@mailman3.org>'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) recip:
mailman-users@mailman3.org
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'DATA'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'QUIT'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) connection lost
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) Connection lost during
_handle_client()
in Mailman's smtp.log. It's tricky because the process that writes them doesn't get notified when the log rotates so current messages may be in an older generation of the log.
Note the connection lost messages are normal.
In any case, see if when you have a hung message in Postfix you get the first few of those but not all. It will be interesting to see where they stop if that's the case. These are written by aiosmtpd which actually handles the Mailman side of this connection. What version do you have?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Paul Moore
-
Steven Jones