View Single Post

  #2 (permalink)  
Old 02-02-2005
Claudiu Cismaru
 
Posts: n/a
Default Re: Exim4: [local delivery]how to configure both Berkeley mbx and Maildir

>
> I'd like to selectively deliver using "mail_spool" to certain accounts
> and to the rest using "maildir_home".
>
> How would this be done in Exim 4?
>
> Jari


Create 2 routers. One to select the accounts with mailbox and send it in
1st transport, and the second that accepts the rest to go to transport
2.

In the maildir transport use: maildir_format directive/option.

More details, in:
http://www.exim.org/exim-html-4.40/d...26.html#CHAP26

Quote:
"If neither file nor directory is set, the redirection operation must
specify an absolute path (one that begins with /). This is the most
common case when users with local accounts use filtering to sort mail
into different folders. See for example, the address_file transport in
the default configuration. If the path ends with a slash, it is assumed
to be the name of a directory. A delivery to a directory can also be
forced by setting maildir_format or mailstore_format."

PS: From time to time it's good ideea to read some documentation.
--
Claudiu Cismaru

Reply With Quote