[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-15 Thread florian . roemer
On 6/11/20 11:12, Brian Carpenter wrote:
> 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. 

Thanks for the idea. I do indeed not have root access, as it is a shared 
server, but I do have a shell access. The server is configured to use qmail, I 
was not able to find its outgoing SMTP log in any of my userspaces (I'm new to 
all this). However, I did find mailman/logs/smtp.log. This looks clean though. 
So the mail has not bounced directly when sending but later down the line. I 
guess I have mostly to fight against "backscatter" as Dimitri called it. I 
highly suspect a misconfiguration at the user's end, maybe even in the MUA, who 
knows.

I'll follow Marks idea to reconfigure qmail to forward the bounces to me. That 
should work well enough.

Thanks again
Florian.
--
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-15 Thread florian . roemer
On 6/11/20 12:11, Mark Sapiro wrote:
> 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.

Ah great! I am in fact still running 2.1. I wasn't able to find that option in 
the web frontend but I did find it in the Defaults.py. So let's see if that 
does anything.

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

Yes, of course, this should have occured to me. That's the easiest and cleanest 
solution. The shared server I am on is using qmail so I guess all I have to do 
is to edit the .qmail-listname-bounces file to story a copy.

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

I'll leave this open as a last resort in case I cannot convince qmail to do as 
I want. Interesting to look into how the BounceProcessor is implemented. I 
certainly learned a lot from this.

Thanks again
Florian.
--
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/