I have installed maildrop.
I see this error in my qmail logs:
@4000000040974430377df0b4 delivery 2559: deferral:
/usr/local/bin/maildrop:_Cannot_determine_my_username./
Im testing maildrop with a virtual user mail account. Im useing QMAIL +
VPOPMAIL
I installed maildrop this way:
./configure --enable-maildrop-uid=root --enable-maildrop-gid=vchkpw && make
....
In the virtual user HOME: /home/vpopmail/domains/CCCCCCC.com/info
I put this:
* a .qmail file:
| /usr/local/bin/maildrop .mailfilter
* a .qmail-default:
| /usr/local/bin/maildrop .mailfilter
* and a .mailfilter :
import EXT
import HOST
import SIZE
SHELL="/bin/sh"
VHOME=`pwd`
# 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/"
}
Any idea what is wrong?