OK, thanks… What version are you running? That is exactly what I would like to achieve..
2016-08-04 11:54:18 1bVGI3-000AZ5-41 => sarah.mills <[email protected]> R=virtual_local_catchall T=virtual_local_mdw_delivery mine seems to be => local.part <local.part@domain> R=router T=transport for delivery transports, in full, I have: new_virtual_local_mdw_delivery: driver = pipe command = /usr/local/libexec/dovecot/deliver -d $local_part@$domain -f $sender_address -a $original_local_part@$original_domain message_prefix = message_suffix = delivery_date_add envelope_to_add return_path_add log_output user = mailnull group = mailnull temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78 virtual_local_mdw_delivery: driver = appendfile directory = ${lookup mysql {MYSQL_Q_BOXNAMW}{$value}} maildir_format user = mailnull group = mail mode = 0660 directory_mode = 0770 envelope_to_add return_path_add virtual_local_spam_delivery: driver = appendfile directory = ${lookup mysql {MYSQL_Q_BOXNAME}{$value}}/.Spam maildir_format user = mailnull group = mail mode = 0660 directory_mode = 0770 envelope_to_add return_path_add 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 Can I ask what version of exim you run and also if your transport is any difference? > On 4 Aug 2016, at 11:23, Jeremy Harris <[email protected]> wrote: > > On 04/08/16 11:14, Jonathan Gilpin wrote: >> Are you saying you do get the filename in your logs? If so could I please >> see an example? > > 2016-08-04 10:15:28 +0000 1bVFgV-0003hA-Pt => > /mail/wizmail.org/jgh/Maildir/ ([email protected]) <[email protected]> > R=forw_n_local T=address_directory > > > -- > ## 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/
