procmail
[Top] [All Lists]

Re: Adding Envelope Headers to m4 conf file for Procmail

2000-10-14 01:38:51
"Jason Cox" <jasonc(_at_)webpipe(_dot_)net> writes:
Sorry if this is a bit off-topic but I was wondering if anyone would know
how to do this.  I added the following headers to my sendmail.cf file in the
Format Headers section:
HX-Envelope-From: $g
HX-Envelope-To: $u

This allows procmail to work with BCCs.  My question is, how can I alter the
m4 conf file so I don't have to add these changes again the next time I
rebuild the sendmail.cf file?  Is it possible?  I'm thinking it could be
done with the define() but I wouldn't know which macro to use.

This question should really be addressed to the comp.mail.sendmail
newgroup, but...

Use the LOCAL_CONFIG section.  For example:

        FEATURE(`local_procmail', `/usr/bin/procmail')
        # other stuff here...
        LOCAL_CONFIG
        HX-Envelope-From: $g
        HX-Envelope-To: $u
        divert(-1)

The "divert(-1)" ends the LOCAL_CONFIG section.

Philip Guenther

_______________________________________________
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>