procmail
[Top] [All Lists]

Re:A more general X-Envelope-To

2002-02-28 01:00:53
At 10:08 2002-02-27 -0800, you wrote:
At 12:30 2002-02-27 -0500, Charlie Summers did say:
#########################
#   Format of headers   #
#########################
<snip>
HX-Envelope-From: $g
HX-Envelope-To: $u
<snip>

   For complete information, see sendmail.org. If you use a different mailer
agent, see the website for that daemon.

Agreed.

Since it comes up here though, let me point out that it is much more preferrable to make this change within the sendmail proto.m4 config file, so that each time you rebuild your sendmail.cf, it gets included
...

Perfect! Now, I'm not a total rookie generating cf-files from m4-files, but I've never modified the m4 files. Exactly how should those lines look? My suggestion is this:

# Original part of sendmail-8.11.6/cf/m4/proto.m4:
#########################
#   Format of headers   #
#########################

ifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `$?x$x <$g>$|$g$.')')dnl
H?P?Return-Path: <$g>
HReceived: confRECEIVED_HEADER
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: confFROM_HEADER
H?F?From: confFROM_HEADER
H?x?Full-Name: $x
# HPosted-Date: $a
# H?l?Received-Date: $b
H?M?Resent-Message-Id: <$t(_dot_)$i(_at_)$j>
H?M?Message-Id: <$t(_dot_)$i(_at_)$j>

# The next two lines added by me:
HX-Envelope-From: $g
HX-Envelope-To: $u


Should they read like this instead?

H?X?-Envelope-From: $g
H?X?-Envelope-To: $u

Thanks for your replies!

/Fredrik

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>