All pastes #820440 Raw Edit

Mine

public text v1 · immutable
·published 2007-12-17 15:35 UTC
rendered paste body
logfile "mailfilter-log.txt"

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

if ( /^X-Spam-Flag: YES/ )
        to ".maildir/.spam"

`reformail -D 4096 .maildir/dups-cache`
if ( $RETURNCODE == 0 )
        to ".maildir/.dupes"

if ( /^List-Id:.*gentoo-alpha\.gentoo\.org/ )
        to ".maildir/.Gentoo-alpha"

if ( /^List-Id:.*gentoo-doc\.gentoo\.org/ )
        to ".maildir/.Gentoo-doc"

if ( /^List-Id:.*gentoo-doc-es\.gentoo\.org/ )
        to ".maildir/.Gentoo-doc-es"

if ( /^List-Id:.*gentoo-dev\.gentoo\.org/ )
        to ".maildir/.Gentoo-dev"

if ( /^List-Id:.*gentoo-dev-announce\.gentoo\.org/ )
        to ".maildir/.Gentoo-dev-announce"

if ( /^List-Id:.*gentoo-core\.gentoo\.org/ )
        to ".maildir/.Gentoo-core"

if ( /^List-id:.*trac-dev\.googlegroups\.com/ )
        to ".maildir/.Trac-dev"

if ( /^List-Id:.*badopi\.org/ )
        to ".maildir/.Badopi"

if ( /^List-Id:.*debian-alpha\.list\.debian\.org/ ||
     /^List-Id:axp-list\.redhat\.com/   )
        to ".maildir/.Gentoo-alpha\.Alpha-distros"

if ( /^From:.*bugzilla-daemon@gentoo\.org/ )
{
        if ( /^To:.*alpha@gentoo\.org/ )
                to ".maildir/.Bugzilla/.Alpha"
        if ( /^To:.*docs-team@gentoo\.org/ )
        {
                if ( /^X-Bugzilla-Product:.*Doc Translations/ )
                {
                        if ( /^Subject:.*[ES].*/ )
                                to ".maildir/.Bugzilla/.Doc/.Doc-es"
                        else
                                to $DEFAULT/.Trash/
                }

                to ".maildir/.Bugzilla/.Doc"
        }
}

to ".maildir/"