From: mouss (no email)
Date: Mon Apr 16 2007 - 04:33:31 EDT
Jaroslaw Bazydlo wrote:
> Postfix disallows empty MAIL FROM: but accept the one with simple "<>"
> argument. I understand why not to accept empty one but simply do not
> know why to accept "<>" which seems to be empty too :)
This is mandated by the standards. see the RFC. It is used as the sender
address for mail that should not generate an error. In particular, it is
used in bounces.
> This is a sample SMTP script with Postfix 2.3.3-1:
> 220 ent.bazydlo.org ESMTP Postfix (Ubuntu)
> helo abc.comp.waw.pl
> 250 ent.bazydlo.org
> MAIL FROM:
> 501 5.5.4 Syntax: MAIL FROM:<address>
The addresses after MAIL FROM and RCPT TO _must_ be enclosed between '<'
ane '>'. in "bugward compatibility mode", this is not enforced, but even
then, MAIL FROM: needs an argument.
> MAIL FROM: <>
> 250 2.1.0 Ok
> Best regards