- run spamassassin against a whole mailbox file (presumably quite large one) full of mixed messages
formail -s procmail -m sa.check < THE.MBOX
sa.check:
LOGFILE=the.mbox.log LOGABSTRACT=NO NL=" " LONGDATE=`date "+%y-%b-%d %I:%m:%S %z"` TRAP='echo ""; formail -l "$LASTFOLDER" ;echo " Spam: $SPAM Deliverd: $LONGDATE'
:0fw | spamassassin
:0
* ^X-Spam-status:\/
{ SPAM=$MATCH }:0: * ^X-Spam-Status:(.*\<)?Yes SPAM.MBOX
:0: HAM.MBOX
- analyze the results I get - amount of spam received, amount of spam caught, etc ...
The logfile will contain the basic details on every email grouped into a single block
--
Ah we're lonely, we're romantic / and the cider's laced with acid / and the Holy Spirit's crying, Where's the beef? / And the moon is swimming naked / and the summer night is fragrant / with a mighty expectation of relief
smime.p7s
Description: S/MIME cryptographic signature
