[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix doesn't reject empty senders

It is an RFC requirement to accept <> as a valid MAIL FROM -- almost all bounce messages use this as well as certain other circumstances, to indicate they do not wish to receive a bounce message in the event of a delivery error. I don't even think that postfix allows it to be turned off at all.

--On Wednesday, January 28, 2004 18:48 +0100 Tomàs Núñez Lirola <tomas@grupoeon.net> wrote:

My smtp server (postfix) was receiving a lot of mails with empty senders
("mail from:<>"), and it sends them as they was from
"MAILER-DAEMON@mydomain". I want to change this behaviour, so I added to
main.cf the line

'smtpd_sender_restrictions = reject_non_fqdn_sender'

thinking that "<>" is not a fqdn. But after that, postfix still sends
them. So  I added

'smtpd_sender_restrictions = reject_non_fqdn_sender,

but this way I get the same response:

helo k
250 mydomain.com
mail from:<>
250 Ok
rcpt to:some@address.com
250 Ok
354 End data with <CR><LF>.<CR><LF>
250 Ok: queued as B4F7C3EFF
221 Bye

RTFM'ing, I don't find any more option to reject this kind of senders, so
I  don't know what to do...
Am I doing anything wrong? Can anyone please help me?

Thank you very much

To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact

Michael Loftis
Modwest Sr. Systems Administrator
Powerful, Affordable Web Hosting
GPG/PGP --> 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E

Reply to: