-
Notifications
You must be signed in to change notification settings - Fork 178
Q0901
Nigel Metheringham edited this page Nov 29, 2012
·
2 revisions
I would like add some custom headers to selected outgoing mail based on a specific domain and the subject line.
To the remote_smtp transport, add something like
headers_add = ${if and{\
{eq{$domain}{spec.dom}}\
{matches{$h_subject:}{whatever}} }\
{Content-Type: text/html; charset="us-ascii"} fail }
This example shows a Content-Type: header, but you can have anything
you like, and multiple headers can be inserted by using \n
to separate
them.
- I would like add some custom headers to selected outgoing mail based on
- Is it possible to have Exim add a header to only certain local parts of
- How can I remove some part of the Received: header?
- How I can insert the PGP header line using Exim filters?
- I know I can use a system filter to replace certain headers in messages,
- How do I reject messages that don't have a Message-ID header? How do I