Hi,
I have a virtual domain and till now, I just use exim4 to deliver the
the mail for that domain to a specific maildir:
maildir_virtual:
debug_print = "T: maildir_virtual for [EMAIL PROTECTED]"
driver = appendfile
user = virtual
group = virtual
mode = 0600
directory_mode = 0700
mode_fail_narrower = false
envelope_to_add
return_path_add
directory = /home/virtual/spool/${local_part}/
create_directory
maildir_format
delivery_date_add
Now, I want to add mailfiltering to this situation. I can generate
maildrop-scripts using for example this format:
# Von Ingo erzeugtes maildrop Script (March 16, 2007, 10:49 pm)
##### Von Root #####
if( \
/^Sender: .*root/:h \
)
exception {
to "${DEFAULT}/.von_root/"
}
How can I switch maildrop into the system for just filtering with such a
script in /home/virtual/spool/$local_part/mailfilter WITHOUT touching
global configuration??
I played around with maildrop's options and setting environment
variables like DEFAULT=/path/to/maildir maildrop -d virtual
/home/virtual/spool/$local_part/mailfilter but it does not work.
Thank you for any hints!
Niki
PS: It's no problem to call maildrop from exim as another user, with any
commandline arguments, use output from stdout, setting environment....
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users