Alessandro Vesely writes:
Sam,
when I receive a message with, say:
From: u...@example.com
To: l...@example.org
those non-compliant headers get changed to:
From: u...@example.com
To: l...@example.org
I'm unclear on where the angle bracket removal happens. The code in
submit.C seems to be concerned with submission rather than reception
(also because it entails a 511 Headers specify no recipients that I
never saw on incoming mail.)
submit.C handles all mail, but only locally-submitted mail have their
headers reformatted, and not in submit.C but sendmail.c
If there's any intermediate step in your mail path, such as maildrop
or .courier forwarding the message somewhere, that can come across as a
locally-submitted mail, that's subject to header rewriting. Header rewriting
occurs in sendmail.c, which only gets invoked via the command line, or by
external script. courieresmtpd.c runs submit directly, no header rewriting
takes place in that path.
Is there a way to avoid that modification? The problem is that fixing
them breaks any DKIM signature that signed them.
Yes, well, the only thing that can be done is to eliminate any external
steps in the mail path.
pgpUjTS6SFV5a.pgp
Description: PGP signature
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users