Mailing List Archive

Change name pattern for locally stored mails
Hi, I'm using exim to save messages to local storage. By default, it creates files with this name pattern:

<stime>.H<mtime>P<pid>.<host>

How can I change that? I'd like it to include the destination address (the one in "To: ...").

Thank you!
<http://www.fortech.ro/>

--
## 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/
Re: Change name pattern for locally stored mails [ In reply to ]
On 05/10/2018 07:08, Dan Nicolici via Exim-users wrote:
> Hi, I'm using exim to save messages to local storage. By default, it creates files with this name pattern:
>
> <stime>.H<mtime>P<pid>.<host>
>
> How can I change that? I'd like it to include the destination address (the one in "To: ...").

Find the transport that does local deliveries. It's probably
an "appendfile" type of transport; docs here:


http://exim.org/exim-html-current/doc/html/spec_html/ch-the_appendfile_transport.html

You're probably looking for the "file" option.
--
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/