[Mailman-Users] Bounces not being detected
Hi AllI have mailman-2.1.17 running on FreeBSD 9.1 along with postfix-2.11.0,1 I noticed that bad email addresses were not being cleared out so I downloaded get_bounce_info.py,saved it and ran it. No bounce info was displayed.I checked the postfix logs and the bounce info was there. A bit from the logs is below: status=bounced (host bla bla .com[x.x.x.x] said: 550 5.7.1 No mailbox found (in reply to RCPT TO command)) Shouldn't mailman detect these bounces? Does mailman detect from the smtp logs or some other method? Thanks for any help received. -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
I checked the data directory and saw some *.pck files Their names were along the lines of "heldmsg--727.pck"so I guess then bouncerunner should be running. All the .pck files have heldmsg in the name. The way our setup is designed though, the mailman box isn't the mail smtp relay. It sits behind the firewall and just sends out. So I'm thinking that if a downstream box later bounced the messages, that wouldn't hit the mailman box, but would hit the main smtp relay and back to the exchange server box. I looked then at the logs of the main smtp relay and did see some bounces with dsn id's I'm hoping though that the bounces detected during the smtp transaction should be detected by postfix and then mailman.Maybe that accounts for those few .pck files? Not sure. -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
The message I showed earlier was the postfix on the same box as mailman. Mailman should detect those bounces. I was just thinking based on what you said about some smtp servers getting the 5xx status from downstream servers thatthose errors would not reach mailman the way things are set up here. I hadn't considered that. So do those .pck files mean the bouncerunner is working? -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
Ok so ps -waux | grep BounceRunner returns nothing. How do I start it up? -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
Wait a minute, I typed this command by force of habit, just realized that's not what you told me to type so I ran it again ps -ax | grep BounceRunner and the result is: 8138 ?? S 0:00.26 /usr/local/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
And what did that log show for the sender non-delivery notification message generated as a result of the undeliverable message. I looked at the postfix logs again and although I do see different type of bounces, I am not seeing anything delivered to mailman. Here are some examples: Jun 20 04:11:30 poseidon postfix/qmgr[95432]: B7E0A3AC890: from=, size=585098, nrcpt=500 (queue active) Jun 20 04:11:31 poseidon postfix/qmgr[95432]: B52323AC87E: from=, status=expired, returned to sender Here's one where it seems to send the bounced message back to ExchangeJun 20 04:11:31 poseidon postfix/smtp[1539]: 35F9D3AC8A5: to=, relay=hubtransport.domain.com[192.168.0.165]:25, delay=0.22, delays=0.08/0.04/0.01/0.1, dsn=2.6.0, status=sent (250 2.6.0 <20140620091131.35f9d3ac...@mail1.domain.com> Queued mail for delivery) And was there anything in Mailman's bounce log? I looked in /usr/local/mailman/logs and only saw these files:root@poseidon:/usr/local/mailman/logs # lserror post qrunner smtpsmtp-failuresubscribe vette I didn't see any for bounces. The last entry in smtp-failure was for last year. smtp had nothing about bounces. And if it appeared the message was delivered to Mailman, was there anything in Mailman's error log from the time of the delivery? No, I didn't even see anything in the error log for June 20 to correspond with the postfix log time and date. The last log entry in errorbefore that was in February. -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Bounces not being detected
Ok I went scouring through the logs trying to trace a particular message like you suggested and I did find some like this: Here's one message I tracked.214CA3AC88D: from=, size=585098, nrcpt=500 (queue active) then214CA3AC88D: to=, relay=none, delay=32256, delays=32255/0.05/0.15/0, dsn=4.4.1, status=deferred (connect to mail1.otherdomain.com[x.x.x.x]:25: Connection refused then214CA3AC88D: from=, size=585098, nrcpt=500 (queue active) then214CA3AC88D: sender non-delivery notification: 35F9D3AC8A5 then35F9D3AC8A5: from=<>, size=3771, nrcpt=1 (queue active) then35F9D3AC8A5: to=, relay=hubtransport.domain.net[192.168.0.165]:25, delay=0.22, delays=0.08/0.04/0.01/0.1, dsn=2.6.0, status=sent (250 2.6.0 <20140620091131.35f9d3ac...@mail1.domain.com> Queued mail for delivery) then35F9D3AC8A5: removed > First of all, these should be from=, not > from=. If your posts are really being sent with > envelope from , that means bounces will be returned > as list posts, not as bounces. > > But, I'm still not seeing what I need to see. Taking the last above > message as an example, do > > grep B52323AC87E /var/log/maillog > > or whatever the log file is. In the last few lines, you should see one > that says > > ...postfix/bounce[...]: B52323AC87E sender non-delivery notification: > > where xxx is another Postfix queue ID for the bounce DSN. Then grep the > log for that Queue ID, and what do you see? > > > > Here's one where it seems to send the bounced message back to ExchangeJun > > 20 04:11:31 poseidon postfix/smtp[1539]: 35F9D3AC8A5: > > to=, relay=hubtransport.domain.com[192.168.0.165]:25, > > delay=0.22, delays=0.08/0.04/0.01/0.1, dsn=2.6.0, status=sent (250 2.6.0 > > <20140620091131.35f9d3ac...@mail1.domain.com> Queued mail for delivery) > > > If this is actually a report on one of those DSNs, it should be going > to=, not to=. If the > envelope from of your outgoing posts is really and > not , that would explain why bounces are > being processed and it might explain what the heldmsg files are (i.e. > bounces returned to the list and being held as non-member posts). > > It this is what's happening, something is rewriting the envelope sender. > What, I have no idea. > -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Global Bounce Settings
Hi All I was wondering, is there a way to globally set the “bounce score threshold” to 1.0 and the “bounce you are disabled warnings” to 0 for all my mailing lists. I shudder at having to go into all of them individually and set this. There are a lot. Thanks so much for any help received. Regards SI Sent from Mail for Windows 10 -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Global Bounce Settings
Fantastic. Worked perfectly. Thanks so much. From: Mark Sapiro Sent: Tuesday, September 24, 2019 10:07 AM To: mailman-users@python.org Subject: Re: [Mailman-Users] Global Bounce Settings On 9/23/19 9:43 AM, Peter Fraser wrote: > Hi All > I was wondering, is there a way to globally set the “bounce score threshold” > to 1.0 and the “bounce you are disabled warnings” to 0 for all my mailing > lists. I shudder at having to go into all of them individually and set this. > There are a lot. Thanks so much for any help received. If you have shell access to the Mailman installation, there are multiple ways to script this. One way is to create a withlist script like def set_bounce(mlist): if not mlist.Locked(): mlist.Lock() mlist.bounce_score_threshold = 1.0 mlist.bounce_you_are_disabled_warnings = 0 mlist.Save() mlist.Unlock() save it as set_bounce.py in Mailman's bin/ directory and run bin/withlist -a -r set_bounce -- 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 https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/softwareinfojam%40gmail.com -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] List first created
Hi All I was wondering, is there a way to tell when a mailing list was first created? Regards SI -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] List first created
Thanks very much. Works perfectly. Regards SI Sent from Mail for Windows 10 From: Mark Sapiro Sent: Wednesday, October 23, 2019 3:50 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] List first created On 10/23/19 11:56 AM, Peter Fraser wrote: > Hi All > I was wondering, is there a way to tell when a mailing list was first > created? Both Mailman 2.1 and Mailman 3 lists have a created_at attribute. In Mailman 2.1 this is a floating point number of seconds since the epoch. There is a withlist script at <https://www.msapiro.net/scripts/created.py> (mirrored at <https://www.msapiro.net/scripts/created.py>) to display this timestamp in human readable form. In Mailman 3 this is a datetime.datetime object. you can display it in mailman shell, e.g., $ mailman shell -l test.example.net Welcome to the GNU Mailman shell The variable 'm' is the test.example.net mailing list >>> m.created_at datetime.datetime(2018, 8, 4, 18, 12, 19, 331435) >>> in this case, the list was created on 2018-04-18 at 18:12:19.331435 -- 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 https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/softwareinfojam%40gmail.com -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org