Getting rid of virus / spam on toucan with maildrop

Hi !

All of you suffering from a ‘virus attack’ on your g.o accounts and not using an insane mail filtering engine might like this.

in .mailfilter:

exception {
        xfilter "/usr/bin/spamc"
        xfilter "/usr/bin/clamassassin"
}

if ( /^X-Spam-Status: .*Yes,/ )
{
        to ".maildir/.spam"
}

if ( /^X-Virus-Status: .*Yes/ )
{
        to "/dev/null"
}

in .forward:

|/usr/bin/maildrop -d ferdy

Thanks infra for letting us use clamassassin… I desperately needed it. Now my INBOX is much cleaner.

Cheers,
Ferdy