Citação:
# Location of the SquirrelMail user data files
SQDATA=/var/lib/squirrelmail/data/
# Location of the user's SM Trash file ($HOME represents the user's home dir)
SQTRASH=$HOME/INBOX.Trash
# Full, absolute path of the test utility on the system
TESTPATH=/usr/bin/test
# Full, absolute path of the formail utility on the system
FORMAILPATH=/usr/bin/formail
# Full, absolute path of the grep utility on the system
GREPPATH=/bin/grep
# Full, absolute path of the sed utility on the system
SEDPATH=/bin/sed
# DO NOT MODIFY ANYTHING BELOW UNLESS YOU (REALLY) KNOW WHAT YOU'RE DOING!
SHELL=/bin/sh
BLOCKLIST=$LOGNAME.block
:0
* ? $TESTPATH -f $SQDATA/$BLOCKLIST
{
# Get the sender's email address
:0h
SENDER=|$FORMAILPATH -IReply-To: -rtzxTo:
# Grab the domain from the sender
DOMAIN=\*@`echo $SENDER|sed s/^.*@//`
:0
* 1^0 ? $GREPPATH $SENDER $SQDATA/$BLOCKLIST
* 1^0 ? $GREPPATH $DOMAIN $SQDATA/$BLOCKLIST
{
DROPPRIVS=yes
:0:
$SQTRASH
}
}
:0:
*^X-Spam-Flag:.*YES
$HOME/INBOX.Spam
:0:
*^Subject:.*.
$HOME/INBOX
# --- BLOQUEAR ANEXOS ---------
PMDIR=/var/mail/FILTER
LOGFILE=$PMDIR/log
:0B $PMDIR/.msgid.lck
* name=".*\.(scr|pif|bat)| +\.exe|.*\.cmd"
$PMDIR/filter-src-pif-exe
pode ajudar?