[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] About adding headers to mail
- Subject: Re: [vps-mail] About adding headers to mail
- From: Weldon Whipple <wwhipple@xxxxxxxxx>
- Date: Thu, 20 Nov 2003 13:18:57 -0700
It came to pass on Thu, Nov 20, 2003 at 08:50:12PM +0100 that anon wrote:
> Hi,
>
> From time to time I have added a header or two for my own reasons by
> finding the section in the sendmail.cf and adding something like
>
> HX-FunnyName
>
> and the correct macro stuff with it and they work fine.
>
> I have long wondered where thes go in the m4. I can't see where they
> would go in sendmail.mc. Anyone have any ideas?
They go in a special section of your regular mc file. Down towards the
bottom of the file (before the MAILER lines at the end--mine is also
before the FEATURE for defining procmail as the local delivery agent),
you can define a section of the mc file for "local" configuration
statements.
For custom headers, add a line that reads:
LOCAL_CONFIG
Then you can add a line for the header definition, so that it ends up
looking like this:
LOCAL_CONFIG
HX-FunnyName
(For the "H" line, use the same syntax that you use in your
hand-edited cf file.)
That's all there is to it ... (except for building the cf file from
the mc file the way you normally do ...)
--
Weldon Whipple
wwhipple@xxxxxxxxx
801.437.7502
NTT/VERIO
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
======================================================================
Main Index |
Thread Index