Re: [EXIM] Adding to headers

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Tim Patterson
CC: exim-users
Sujet: 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/ ***