invalid sender creates havoc

2009-07-29 Thread Jared Johnson
We recently noticed a message in our postfix queue that thought it was addressed to " foo.com". After examining it, it turned out that Qpsmtpd accepted a MAIL FROM command formatted like so: MAIL FROM: When it passed it to postfix, it transmographied it first into the sender 'u...@domain.com

Patching require_resolvable_fromhost

2009-07-29 Thread Larry Nedry
Hi All, The require_resolvable_fromhost plugin returns DENYSOFT when a host doesn't resolve. This makes sense with a well behaved host. But I've noticed that some hosts that don't resolve will continuously retry and never seem to disconnect. Sometimes this goes on for days. Is there a good rea

Re: invalid sender creates havoc

2009-07-29 Thread Chris Lewis
Jared Johnson wrote: We recently noticed a message in our postfix queue that thought it was addressed to " foo.com". After examining it, it turned out that Qpsmtpd accepted a MAIL FROM command formatted like so: MAIL FROM: When it passed it to postfix, it transmographied it first into the s

Re: invalid sender creates havoc

2009-07-29 Thread Chris Lewis
Lewis, Chris (CAR:W669) wrote: Here's a useful meta-reference: http://www.rfc-ignorant.org/rfcs/rfc2821.php#page72 an search for "source route". I didn't mention: there is now no good reason whatsoever to accept source routes - they date back to the arpanet. It's been deprecated since RFC

Re: invalid sender creates havoc

2009-07-29 Thread Ask Bjørn Hansen
On Jul 29, 2009, at 12:07, Jared Johnson wrote: We recently noticed a message in our postfix queue that thought it was addressed to " foo.com". After examining it, it turned out that Qpsmtpd accepted a MAIL FROM command formatted like so: MAIL FROM: Weird tha postfix would munge it. I