[Mailman-Users] Bounces not being detected
mark at msapiro.net
Sun Jun 22 06:27:44 CEST 2014
On 06/21/2014 08:43 PM, Peter Fraser wrote:
> 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: B7E0A3AC890: from=<Listname at domain.com>, size=585098, nrcpt=500 (queue active)
> Jun 20 04:11:31 poseidon postfix/qmgr: B52323AC87E: from=<list name at domain.com>, status=expired, returned to sender
First of all, these should be from=<listname-bounces at domain.com>, not
from=<listname at domain.com>. If your posts are really being sent with
envelope from <listname at domain.com>, 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
...postfix/bounce[...]: B52323AC87E sender non-delivery notification: xxxx
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: 35F9D3AC8A5: to=<listname at domain.com>, 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.35F9D3AC8A5 at mail1.domain.com> Queued mail for delivery)
If this is actually a report on one of those DSNs, it should be going
to=<listname-bounces at domain.com>, not to=<listname at domain.com>. If the
envelope from of your outgoing posts is really <listname at domain.com> and
not <listname-bounces at domain.com>, 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.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users