Hi Jeremy,

It returns something like:

/usr/local/mail/comet/[email protected] 


Jonathan Gilpin
[email protected]



> On 4 Aug 2016, at 09:21, Jeremy Harris <[email protected]> wrote:
> 
> 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 
>> <[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
> 
> What does your mysql lookup return?
> -- 
> Cheers,
>  Jeremy
> 
> 
> 
> -- 
> ## 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/

-- 
## 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