Hi ,
I have set the maildrop function at 1st line of .qmail-xxx file as below :
| preline /usr/local/bin/maildrop ./.maildropfilter
I have set the forward function at .qmail-xxx file as well as below :
&xx...@xxx.com <http://xxx.com/>
If I want to run maildrop for the email account with forward function ,
the .qmail-xxx will look like :
| preline /usr/local/bin/maildrop ./.maildropfilter
&xx...@xxx.com <http://xxx.com/>
If the email is spam , it will deliver the spam mail to spam folder , and
exit , but
it still will foward the email to xx...@xxx.com , how can I exit the maildrop
cleanly , and don't execute the
following line in .qmail-xxx ?
below is the script to filter the spam mail :
if (/^Subject:.\[\*SPAM\*\]/)
{
DUMMY=`test -d $VHOME/Maildir/.spam`
if ( $RETURNCODE == 1 )
{
DUMMY=`/usr/local/bin/maildirma ke -f spam $VHOME/Maildir/`
}
exception {
xfilter '/usr/local/bin/spamassassin -d -x'
}
to "$VHOME/Maildir/.spam/."
exit
}
exit
to "$VPOP"
how can I exit completely in the filter so that it wond continue to excute
the following line in .qmail-xxx ?
Thanks .