Re: [exim] rewriting headers (add and remove)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Horne
Date:  
À: Exim users
Sujet: Re: [exim] rewriting headers (add and remove)
On Tue, 2005-06-21 at 12:08 -0400, Michael Johnson wrote:
>
> I recently updated to 4.51 and think something may have happened to
> the headers_add and headers_remove features I was relying on.
> Currently, I have:
>
> headers_add        = ${if mathch{$header_list-post:} {\<mailto:(.*)\>} \

                            ^^^^^^


Your typo I take it :-)

>
> Failing some possible mistakes in my transcription, is there any
> reason this wouldn't work in 4.51? It appears it isn't currently
> working
>

Why not? What error do you get?

> What's the switch to turn on debugging so I can see more of what's
> happening in the logs?
>

Logging probably won't show you what you want to see. Run exim
standalone and add '-d+expand' (or '-d+all' for the whole lot) to the
command line. I usually run it on port 26 and capture all the output
into a file (something like 'exim ... -oX 26 >jhf 2>&1'). Then send a
test message to port 26. It just avoids messing up your usual mail
service on port 25 :-)


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839