# Global maildrop filter file
# Uncomment this line to make maildrop default to ~/Maildir for
# delivery- this is where courier-imap (amongst others) will look.
#DEFAULT="$HOME/Maildir"
logfile "/var/log/maildrop.log"
#*spam2junk
if (/^X-Spam-Flag:.*YES/)
{
if (/^Delivered-To:.user\@seconddomain\.domain\.net/)
{
exit
}
else{
`test -f "$HOME/.Junk" && exit 1 || exit 0`
if ( $RETURNCODE == 0 )
{
`maildirmake -f Junk "$HOME"`
}
to "$HOME/.Junk/"
}
}
extmail垃圾邮件存放垃圾邮件箱 将下列脚本添加在/etc/maildroprc实现垃圾邮件的分拣# Global maildrop filter file# Uncomment this line to make maildrop default to ~/Maildir for# delivery- this is w...