On 22/07/2024 11:26, Paul Warren via Exim-users wrote:
> by having the "file_transport" conditionally deliver to a directory?
That would depend on how conditional you need to handle.
You say
"Our system supports both Maildir and mbox being specified in .forward files"
- exactly how?
Do you ever want anything but Maildir format, for Sieve filters? If not:
use a variant of that expansion on the directory= option
instead of file=.
(If yes - how would Exim find out which?)
The file_transport vs. directory_transport in the redirect router
is independent of the file= vs. directory= in the appendfile
transport. You could point both to the same transport
(so long as that transport deals properly with whatever it gets
handed in $address_file, if it uses that)
--
Cheers,
Jeremy
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/