Hallo,
Ik heb een klein probleem met maildrop en qmail.
Wanneer ik het onderstaande script gebruikt voor de afhandeling dan zegt vpopmail :
vdelivermail: no HOST environment varilable
Iemand enig idee??
SHELL="/bin/sh"
import HOST
import EXT
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
LOGFILE = "/home/maildrop.log"
if (/^X-Spam-Flag: *YES/)
{
exception {
include $VHOME/Maildir/.mailfilter
}
## IF YOU WANT TO GATHER ALL SPAM INTO 1 MAILDRIR
exception {
to /home/spam/
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to "$VPOP"
exit
}
}
Ik heb een klein probleem met maildrop en qmail.
Wanneer ik het onderstaande script gebruikt voor de afhandeling dan zegt vpopmail :
vdelivermail: no HOST environment varilable
Iemand enig idee??
SHELL="/bin/sh"
import HOST
import EXT
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
LOGFILE = "/home/maildrop.log"
if (/^X-Spam-Flag: *YES/)
{
exception {
include $VHOME/Maildir/.mailfilter
}
## IF YOU WANT TO GATHER ALL SPAM INTO 1 MAILDRIR
exception {
to /home/spam/
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to "$VPOP"
exit
}
}