Right now when exim delivers a message I get something like this:

2016-07-28 15:40:10 1bSmTo-000BMo-7n => firstname.lastname 
<[email protected] <mailto:[email protected]>> 
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/[email protected] 
<mailto:usr/local/mail/comapny/[email protected]>/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



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to