OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Empty From when generating bounce

From: Erwan David (erwanrail.eu.org)
Date: Tue Dec 07 2010 - 02:05:43 CST


On Tue, Dec 07, 2010 at 08:39:24AM CET, Trigve Siver <trigvesyahoo.com> said:
> Hi,
> I'm having some problem with bounces. When someone send mail to my mail server
> and sender is not existent, postfix generate bounce. Bounce has empty envelope
> "From" set (from=<>) . I'm using relayhost and when sending bounce back I've got
> error that "From" shouldn't be empty/invalid (I think it could be but ... :-().
> My question therefore is if it is possible to set some default "From" when
> postfix generate bounce?

SMTP protocol imposes this From on bounces to avoid loops. Your relayhost is broken.