Re: [Exim] logging script names invoking exim

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Jens-Ingo Brodesser
CC: exim-users
Temat: Re: [Exim] logging script names invoking exim
On Tue, 11 Nov 2003, Jens-Ingo Brodesser wrote:

> i would like to log in the mainlog the name (path) of cgi or php
> scripts invoking exim on our webservers. this should enable us to tell
> exactly which script has send what email.


If your scripts invoke Exim directly (i.e. NOT using SMTP over TCP/IP)
and you have control over the command line that they use, you could make
the calling uids trusted, and then use the -oMt command line option to
set an "ident string". This is logged as U=

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book