Συντάκτης: Matt McLeod Ημερομηνία: Προς: exim-users Αντικείμενο: [Exim] home_directory and filters
I'm building a system where users have no home directories, and
all per-user configuration is done using a mysql database. I've
got most of it working nicely now, but for one thing:
Using the following router:
userfilter:
driver = redirect
check_local_user
no_verify
no_expn
check_ancestor
allow_filter
data = ${lookup mysql {select filter from filters where user='$local_part' and toggle=1}{$value}}
file_transport = address_file
reply_transport = address_reply
directory_transport = address_file
transport_home_directory = /var/mail/$local_part
(a bunch of forbid_* items will be added later, this is still in the
basic development and testing stage.)