On 05/24/2011 01:03 AM, Boris Korzun wrote:
RFC 2822 says that originator header fields with the full name (of person who
sent the message) in parentheses after address without angle brakets is legacy
form. And postfix's sendmail sends message from user with the fullname in
parentheses,
Incorrect.
Sendmail(1) accepts and sends RFC5322-compliant messages; it does not
"invent" data that was not present.
The From: header is either
A) already present in the submitted RFC5322-compliant message, or
B) provided on the sendmail(1) commandline with the -F flag, or
C) taken from the NAME environment variable, or
D) taken from the envelope sender provided with the -f flag if none
of the above apply.
http://www.postfix.org/sendmail.1.html
but Sendmail (Sendmail Consortium) sends message from user by RFC
implementation (the fullname is before the address with angle bracket).
Can postfix developers do rewrite engine (cleanup_message.c and other) for RFC
implementation?
What does sendmail(1) have to do with cleanup(8) ?
Postfix is an MTA, it does not rewrite mail unless you specifically tell
it to.
If your client submits mail with the legacy form of the From: header,
fix the client.
--
J.