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:.*<da...@kosmosisland.com>" "$test" \ >>> && grep "Return-Path:.*<MAILER-DAEMON>" "$test" \ >>> && grep "^To:.*<da...@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