Re: [EXIM] Adding to headers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Tim Patterson
Kopio: exim-users
Aihe: 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/ ***