From: Ansgar Wiechers on 20 Feb 2010 13:43 On 2010-02-19 David Koski wrote: > On Monday 15 February 2010, Ansgar Wiechers wrote: >> 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(a)kosmosisland.com>" "$test" \ >>> && grep "Return-Path:.*<MAILER-DAEMON>" "$test" \ >>> && grep "^To:.*<david(a)kosmosisland.com>" "$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. I prefer to know when mail I sent did not reach a recipient, even if the person running the destination MTA is an idiot. YMMV. Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky
First
|
Prev
|
Pages: 1 2 3 Prev: The method behind the madness Next: Error: timeout exceeded (in reply to end of DATA command) |