[Mailman-Users] Can I make mailman archive the bounce messages it has processed?

2020-06-11 Thread Florian . Roemer
Dear mailman Community,

I am really new to mailman so maybe I am just missing something obvious. 
However, as far as I understood, when a message sent from a list triggers a 
bounce at some user, mailman will try to automatically parse the bounce, assign 
appropriate bounce scores and then discard the message. However, I would like 
to see the bounce message. The reason is that one of my subscribers complains 
that she does not get the messages from the list and I see her bounce score 
increasing, but she has no idea why the messages are bouncing. As she is not 
that tech savvy, I would really like to help her but for this I would need to 
see the bounce message to extract the reason why it is bouncing.

However, I could not find any archive of the bounce messages on my server. 
There is a .mbox file for the list but that only contains emails sent to the 
list, not to the -bounce alias.

Is there a way I can access the bounces messages or configure mailman to 
archive them?

Thanks in advance!
--
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: Can I make mailman archive the bounce messages it has processed?

2020-06-11 Thread Brian Carpenter

On 6/11/20 8:31 AM, florian.roe...@gmx.de wrote:

I am really new to mailman so maybe I am just missing something obvious. 
However, as far as I understood, when a message sent from a list triggers a 
bounce at some user, mailman will try to automatically parse the bounce, assign 
appropriate bounce scores and then discard the message. However, I would like 
to see the bounce message. The reason is that one of my subscribers complains 
that she does not get the messages from the list and I see her bounce score 
increasing, but she has no idea why the messages are bouncing. As she is not 
that tech savvy, I would really like to help her but for this I would need to 
see the bounce message to extract the reason why it is bouncing.


The reason for the bounce will be contained in the outgoing SMTP logs. 
If you don't have root access then you may need to ask your hosting 
provider to look into it. If you are on a cPanel tool then you can use 
the track delivery tool within cPanel to find the reason for bounce. I 
don't think the reason will be in the bounce message itself.


--
Please let me know if you need further assistance.

Thank you for your business. We appreciate our clients.
Brian Carpenter
EMWD.com

--
EMWD's Knowledgebase:
https://clientarea.emwd.com/index.php/knowledgebase

EMWD's Community Forums
http://discourse.emwd.com/

--
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: Can I make mailman archive the bounce messages it has processed?

2020-06-11 Thread Mark Sapiro
On 6/11/20 5:31 AM, florian.roe...@gmx.de wrote:
> 
> I am really new to mailman so maybe I am just missing something obvious. 
> However, as far as I understood, when a message sent from a list triggers a 
> bounce at some user, mailman will try to automatically parse the bounce, 
> assign appropriate bounce scores and then discard the message. However, I 
> would like to see the bounce message. 


Mailman doesn't keep the actual bounce DSN. It keeps a record of bounces
in the bounceevent table in the database, but this does not include the
actual DSN.

Mailman 2.1 has options to forward the DSN to the list owners when
delivery is disabled or when the score is incremented, but these are not
(yet) implemented in Mailman3.

What you can do is arrange for the MTA to send copies of any mail to the
LISTNAME-bounces address to you or store them in a local mailbox. How
you would do this depends on your MTA and how it it currently configured.

You could also do something similar by patching mailman/runners/lmtp.py
to send -bounces mail to -owner in addition or instead.

You could also modify the BounceProcessor.register method in
mailman/model/bounce.py to save the message somewhere.

-- 
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: Can I make mailman archive the bounce messages it has processed?

2020-06-11 Thread Mark Sapiro
On 6/11/20 8:23 AM, Brian Carpenter wrote:
> 
> The reason for the bounce will be contained in the outgoing SMTP logs.


This is true only if the message is rejected upon delivery from
Mailman's outgoing MTA. In some cases, the first hop MX will accept the
message, but a downstream MTA will reject it and return a DSN. In these
cases, you need to see the actual DSN, but I agree, the first place to
look is in the log of the outgoing MTA.

-- 
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/