Hello,
I had a similar problem with my config (Courier-Imap/Postfix/ Userdb).
I found a file in the $home/Maildir called maildirfilterconfig, which
contains :
MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir
MAILDIRFILTER points to the filter.
MAILDIR is use in the .mailfilter
Hope this helps.
Olivier
J. C. a écrit:
Hello list,
we are currently using Courier-Imap / Postfix with a virtual user
setup (mysql). The setup works fine but we need maildrop for
"vacation" autoreplies. Maildrop ignores the ".mailfilter" file in the
user home-directory. If i manually include it in the /etc/maildroprc
file it works.
/etc/maildroprc :
# Uncomment this line to make maildrop default to ~/Maildir for
# delivery- this is where courier-imap (amongst others) will look.
logfile "/var/log/maildrop.log"
HOME="$HOME/$DEFAULT"
#include "$HOME/.mailfilter" <-- COMMENTED FOR TESTING <:
Example .mailfilter for testing (in the user homedir) :
if (/^Subject:.*/)
{
log "CALLED!";
}
Any ideas how to get the .mailfilter file working in the users
"home"-directory ?
Thanks,
Jens
|||||||||||| medianet
|||||||||||| elektronische Kommunikation und Marketing GmbH
|||||||||||| Jens Calisti (jcal...@medianet.de)
|||||||||||| Hanauer Landstrasse 135-137
|||||||||||| 60314 Frankfurt am Main
|||||||||||| Germany
|||||||||||| Telephone +49 69 274016-13
|||||||||||| Fax +49 69 274016-29
|||||||||||| http://www.medianet.de
|||||||||||| medianet Berlin
|||||||||||| Kaiserin Augusta Allee 10-11
|||||||||||| 10553 Berlin
|||||||||||| Telephone +49 30 34350864
|||||||||||| Fax +49 30 34350938