Can someone describe me the maildrop installation to make it work with
QMAIL+VPOPMAIL?
I can´t find what is wrong and maildrop complains with this when it is
called:
/usr/local/bin/maildrop: Cannot determine my username.
My installation:
qmail + vpopmail (5.4)
installed a .qmail-default file with this:
| maildrop mailfilter
The mailfilter file content:
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/local/bin/dspam --user $EXT@$HOST"
}
}
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"
}
As you can see, maildrop executes and then calls to DSPAM (anti spam
aplication), but seems DSPAM never is called, maildrop has some error before
that.
Let supose I won´t use DSPAM, and that i just want to use some filtering
rules, can describe me the maiuldrop installation for that and a simple
mailfilter example.
Thanks in advance