[exim] How to log the recipient of an email?

Top Pagina
Delete this message
Reply to this message
Auteur: Evil Ernie
Datum:  
Aan: exim-users
Onderwerp: [exim] How to log the recipient of an email?
I'm trying to improve the whitelists we use. I'm looking for a way to log
each message that is accepted in the format:

SendingDomainName SendingIPAddress From To

I can accomplish the first three with $sender_address_domain,
$sender_host_address and $sender_address. But I cannot find the variable for
recipient. I'm trying to use the "logwrite" command when the messages
triggers an accept ACL.

Any suggestions? TIA