Re: [exim] logging the mail client used

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: exim-users
Data:  
Para: Exim
Assunto: Re: [exim] logging the mail client used
On 17/01/12 11:29, Oliver Howe wrote:

> Is it possible to log the type of mail client used in mainlog?
> Then eximstats could give a summary.
>
> This would help us decide which clients to test our software against.


We use something like this:

warn log_message = Client: ${if
def:header_X-Mailer:{$header_X-Mailer:}{$header_User-Agent:}}

It logs the X-Mailer or User-Agent header if they exist. This seems to
cover most clients.

-- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4