Re: [EXIM] Adding to headers

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Tim Patterson
Υ/ο: exim-users
Αντικείμενο: Re: [EXIM] Adding to headers
On Sun, 2 Aug 1998, Tim Patterson wrote:

> I would like add Content-Type: text/html; charset="us-ascii" to
> the 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 }" 



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***