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 <[EMAIL PROTECTED]> wrote:

Hi
My smtp server (postfix) was receiving a lot of mails with empty senders
("mail from:<>"), and it sends them as they was from
"[EMAIL PROTECTED]". 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,
reject_unknown_sender_domain'

but this way I get the same response:

helo k
250 mydomain.com
mail from:<>
250 Ok
rcpt to:[EMAIL PROTECTED]
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
fds
fdsfsf
fdsfs
.
250 Ok: queued as B4F7C3EFF
quit
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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





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


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to