Re: suppress NDRs from spoofed sender
- On 2010-02-19 David Koski wrote:
> On Monday 15 February 2010, Ansgar Wiechers wrote:I prefer to know when mail I sent did not reach a recipient, even if the
>> On 2010-02-14 David Koski wrote:
>>> How about something more simple: test for From: is the same as To:
>>> and is from MAILER-DAEMON:
>>> grep "^From:.*<david@...>" "$test" \
>>> && grep "Return-Path:.*<MAILER-DAEMON>" "$test" \
>>> && grep "^To:.*<david@...>" "$test"
>>> ..where "$test" is the email file to scan.
>> You (your users) might lose valid bounces that way.
> I would only loose bounces that were from and to me, right? That is
> no big deal.
person running the destination MTA is an idiot. YMMV.
"Abstractions save us time working, but they don't save us time learning."