Right now when exim delivers a message I get something like this:
2016-07-28 15:40:10 1bSmTo-000BMo-7n => firstname.lastname <firstname.lastname@??? <
mailto:firstname.lastname@domain.com>> R=virtual_local_spamw T=virtual_local_spamw_delivery
I’d like to get the filename writen in the logs too. e.g.
/usr/local/mail/comapny/firstname.lastname@??? <mailto:usr/local/mail/comapny/firstname.lastname@???>/new/1456148110.H163737P32327.mail.fluent.ltd.uk
Can the transport or appendfile entry be modified to add the filename above?
I have:
virtual_local_spamw_delivery:
driver = appendfile
directory = ${lookup mysql {MYSQL_Q_BOXNAMW}{$value}}/.Spam
maildir_format
user = mailnull
group = mail
mode = 0660
directory_mode = 0770
envelope_to_add
return_path_add
Any help would be greatly appreciated!
Kind Regards,
Jonathan Gilpin