The Thursday 2004-12-02 at 01:58 +0100, Carlos E. R. wrote:
Mmm.
That may be true, but fetchmail routes mail through postfix. My main problem is that I can not make postfix reject those mails which "Return-Path" is empty ("<>"). That is, when postfix sees this:
SMTP> MAIL FROM: <> SIZE=33229
it should reject that empty "From", but it doesn't. I have been told that an empty "Return-Path" is legal, and that is quite a surprise for me.
I was directed to "http://www.google.com/search?hl=en&lr=&q=reject+empty+Return-Path%3A". On a debian list this subject was commented months ago, and it seems that yes, empty envelope-from are correct. Also, of course, it is too late to change the smtp standard, even if some abuse it. Therefore, empty "envelope-from" can not be rejected with "smtpd_sender_restrictions" in main.cf. There is no other recourse but using header_check or spam filters. -- Cheers, Carlos Robinson