[Mailman-Users] Re: emails sitting in postfix mailq a long time

2022-01-25 Thread Mark Sapiro

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-3c52fc431...@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: SIZE=3913'

Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) sender: m...@msapiro.net
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) >> b'RCPT 
TO:'
Jan 25 20:04:28 2022 (16427) ('127.0.0.1', 60119) recip: 
mailman-us...@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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@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/


[Mailman-Users] Re: emails sitting in postfix mailq a long time

2022-01-25 Thread Paul Moore
When my mailq get hundreds to thousands stacked up, all email slows to a 
crawl.


Is your DNS setup correctly? Can you confirm the NLx.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-3c52fc431...@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 x.s
h...@xx.nz couldn't be delivered.NLx.shaw wasn't found at .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 
Sent: Tuesday, 25 January 2022 2:18 pm
To: 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
   xx-bounces@lists.xx

Are these bounces back into mailman?

They could be. They also could be spam sent to the
xx-bounces@lists.xx 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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fmailman-users.python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=Cy60ESCLgti5tzbglOXkPj0qruRRkjBRBieGAYzn2yM%3Dreserved=0
Mailman FAQ: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FAgA3data=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=THf0%2BIpkvtxapN2aNefdvXFOw0rJ7%2F5XE3IgiXOR15E%3Dreserved=0
Security Policy: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FQIA9data=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=o57d%2BUBwje6PAQc6NjJSyVVhz%2FAnsmmH34PcUyyZqkI%3Dreserved=0
Searchable Archives: 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fmailman-users%40python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=yC%2FeX%2BgBE%2FJPLg8Xoaz0Bw7pD8q1YAWrYl3HScJ2R58%3Dreserved=0
 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Farchives%2Flist%2Fmailman-users%40python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=kh2atbWXhhyiqvc%2B5OX2srEFecEZP8%2F8mpHFidBD1yM%3Dreserved=0
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@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.or

[Mailman-Users] Re: emails sitting in postfix mailq a long time

2022-01-25 Thread Steven Jones
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-3c52fc431...@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 x.s
h...@xx.nz couldn't be delivered.NLx.shaw wasn't found at .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 
Sent: Tuesday, 25 January 2022 2:18 pm
To: 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
>   xx-bounces@lists.xx
>
> Are these bounces back into mailman?

They could be. They also could be spam sent to the
xx-bounces@lists.xx 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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman3%2Flists%2Fmailman-users.python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=Cy60ESCLgti5tzbglOXkPj0qruRRkjBRBieGAYzn2yM%3Dreserved=0
Mailman FAQ: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FAgA3data=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=THf0%2BIpkvtxapN2aNefdvXFOw0rJ7%2F5XE3IgiXOR15E%3Dreserved=0
Security Policy: 
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.list.org%2Fx%2FQIA9data=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=o57d%2BUBwje6PAQc6NjJSyVVhz%2FAnsmmH34PcUyyZqkI%3Dreserved=0
Searchable Archives: 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fmailman-users%40python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=yC%2FeX%2BgBE%2FJPLg8Xoaz0Bw7pD8q1YAWrYl3HScJ2R58%3Dreserved=0

https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Farchives%2Flist%2Fmailman-users%40python.org%2Fdata=04%7C01%7Csteven.jones%40vuw.ac.nz%7Cc84d86787bc9479b24b808d9dfa0e53f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637786705523874822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=kh2atbWXhhyiqvc%2B5OX2srEFecEZP8%2F8mpHFidBD1yM%3Dreserved=0
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@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/


[Mailman-Users] Re: emails sitting in postfix mailq a long time

2022-01-24 Thread Mark Sapiro

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
  xx-bounces@lists.xx

Are these bounces back into mailman?


They could be. They also could be spam sent to the 
xx-bounces@lists.xx 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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@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/