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

Top Page
Delete this message
Reply to this message
Author: Graeme Fowler
Date:  
To: Robert Sigler
CC: exim-users
Subject: 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