Re: [exim] Exim 4.63 + MySql Vitual mailboxes + user filters…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Graeme Fowler
Datum:  
To: Robert Sigler
CC: exim-users
Betreff: Re: [exim] Exim 4.63 + MySql Vitual mailboxes + user filters?
On Thu, 2006-12-14 at 13:27 -0500, Robert Sigler wrote:
> I'm beginning to wonder if what I want to do is even possible, and if
> not, is there an alternative...


Yes, it is. Have a read of the docs and look at:

http://www.exim.org/exim-html-4.63/doc/html/spec_html/ch15.html
router_home_directory

One virtual domain setup that I have uses the following:

userforward:
driver = redirect
user = exim
router_home_directory = ${lookup mysql{HOME}}
file = ${lookup mysql{HOME}}/.forward
condition = ${if !eq {${lookup mysql{HOME}}}{}{true}{false} }
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
directory_transport = address_directory

ie. the whole shebang runs as user exim, and it looks up the home dir
from the DB backending it all.

HTH

Graeme