On 04/08/16 07:51, Jonathan Gilpin wrote: > 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
What does your mysql lookup return?
--
Cheers,
Jeremy