Mitch (WebCob) wrote:
Good idea, but is it really that simple?

Yeah, why not?


I would only want to do this for
the top Received header - if I test all headers a spoofed auth header can
bypass spamassassin.

If you're really that paranoid about it, you can probably flesh this out:


i=1
foreach /Received: /
{
        if ( $i == 1 && ( ! $MATCH =~ /Received: .*\(AUTH: [^)]*\) *by \
                [:alnum:]*.example.com/) )
        {
                xfilter "/usr/bin/spamc"
        }
        i=$i + 1
}

There's probalby something wrong with that. I didn't test it.




------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to