Re: [exim] logging the mail client used

Góra strony
Delete this message
Reply to this message
Autor: Jethro R Binks
Data:  
Dla: exim-users
Temat: Re: [exim] logging the mail client used
On Tue, 17 Jan 2012, Graeme Fowler wrote:

> However: how will Exim determine what the mail client is?


I have a rather complex (and slightly messy) set of rules that divulge
this information from various mail headers and logs it. I did it for fun
mostly, not 'cos I had a great need, but it was an interesting exercise.
I haven't looked at it in a while to see if the rules could be tweaked to
get more information from some unknown clients.

It also extracts stuff like mailing list systems in use.

Sample output, probably not very useful for eximstats as it is:

ClientId: agent="Microsoft Outlook Express 6.00.2600.0000 Microsoft MimeOLE V6.00.2600.0000"

ClientId: agent="Workspace Webmail 5.6.10" mlm="Mailman 2.1.14-1" msgid=...

ClientId: agent="vBulletin Mail via PHP" (auto-generated) msgid=...

ClientId: agent="ZuckMail [version 1.00]" msgid=...@www.facebook.com

ClientId: agent="PHPMailer [version Moodle 2007101591.04]" msgid=moodlepost...

(Interesting to note for security heads, one of the common Java mail
packages by default includes the userid under which the process is running
in the message ID it generates, doh!).

I can publish the rules somewhere if there is an interest.

Jethro.

. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.