Well, I have installed maildrop.
My intention is useit in conjuntion with DSPAM
Mu mail server is like this:
QMAIL + VPOPMAIL (without MySQL)
I will not ask about the integration with DSPAM because it would be out of
this mailing topic, but, can someone tell me, how to make maildrop work with
QMAIL and VPOPMAIL?
lets supose this:
I have a virutal user at ~vpopmail/domain/user
There I put a .mailfilter file:
import EXT
import HOST
import SIZE
SHELL="/bin/sh"
VHOME=`pwd`
##
# DSPAM
##
# ensure SPAM folder exists
`test -d ./Maildir/.SPAM`
if($RETURNCODE == 1)
{
exception {
`/usr/bin/maildirmake -f SPAM ./Maildir`
}
}
# ensure DSPAM folder exists
`test -d ./Maildir/.DSPAM`
if($RETURNCODE == 1)
{
exception {
`/usr/bin/maildirmake -f DSPAM ./Maildir`
}
}
# check for spam if message is less 250k
if ( $SIZE < 256000 )
{
# filter thru dspam
exception {
xfilter "/usr/local/bin/dspam --user $VHOME"
}
# check
if ( /^X-DSPAM-Result: Spam/)
{
# try to deliver to SPAM maildir
exception {
to "$VHOME/Maildir/.SPAM/"
}
}
}
# normal delivery
exception {
to "$VHOME/Maildir/"
}
But it seems nothing to be happening. In logs of qmail I can see an error
that maildrop can´t find his user?
Can someone help me me?
I installed maildrop in a very standard mode: ./configure, make....