Peter Lavender muttered:
> I thought I had this working, but seems that I have broken something,
> and I'm not sure I'm using send and folder-hook correctly.
>
> What I need to have happen is that my .sig changes, my From address is
> correct (which it is) and the reply-to: header is correct, and remove
> the vanitity headers.
>
> =====
> # Setup the rest as defaults.
> send-hook . my_hdr X-Operating-System: Linux/`uname -r` (`uname -m`)
> send-hook . my_hdr X-Uptime: \`uptime\`
These send-hooks will always apply regardless what to specify in the
folder-hooks.
> folder-hook "maxware" unmy_hdr *
>
> #send-hook "maxware" unmy_hdr X-Operating-System: Linux/`uname -r`
> (`uname -m`)
> #send-hook "maxware" unmy_hdr X-Uptime: \`uptime\`
As I understand the manual you're not using the unmy_hdr function
correcly. The manual section 3.12.
unmy_hdr field
To remove user defined header fields, use the ``unmy_hdr'' command.
You may specify an asterisk (``*'') to remove all header fields, or
the fields to remove. For example, to remove all ``To'' and ``Cc''
header fields, you could use:
unmy_hdr to cc
unmy_hdr X-Uptime X-Operating-System
Is what you need here.
HTH,
Michael
--
We come to bury DOS, not to praise it.
(Paul Vojta, [EMAIL PROTECTED], paraphrasing a quote of Shakespeare)
PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key