I'm using qmail 1.03, vpopmail 5.2.1, SpammAssassin-2.53 with Maildrop.
Some of the mail-accounts have a forward file in their directory:
/<vopmail-home>/domains/problem.com/<user>/.qmail
If I send an email to an user who have this .qmail forward file, the mail will not be forwarded. This happens when the spam filter is activated:
# cat .qmail-default | /usr/local/bin/maildrop mailfilter
The qmail log file says that everything is ok and that the email is delivered local - but she isn't.
Where goes the mail???
Thanks in advice! Andrej.
# cat mailfilter VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/local/bin/spamc -f -u [EMAIL PROTECTED]"
}
}if (/^X-Spam-Flag: *YES/)
{
# try filtering it using user-defined rules
exception {
include $VHOME/Maildir/.mailfilter
}
# then try delivering it to a Spam folder
exception {
# to "$VPOP"
to "$VHOME/Maildir/.Spam/"
}
# ah well, I guess they'll just have to live with disappointment
exception {
to "$VPOP"
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to "$VPOP"
}
}