Re: [Exim] Skip SPAM check for SMTP Auth'd and local sent ma…

Top Page
Delete this message
Reply to this message
Author: Mark Seamans
Date:  
To: exim-users, jbc
Subject: Re: [Exim] Skip SPAM check for SMTP Auth'd and local sent mail
--
On Wed, 4 Feb 2004 00:18:57 -0800
Bradford Carpenter <jbc@???> wrote:

> Um...you can also use just *one* variable and simplify things a bit. It
> will get set if either condition accepts the message in the rcpt acl.
> It's getting late...


Brad,

I just want to clarify:

I could add:

  accept  domains = +local_domains
             set acl_m1 = local


-OR-

  accept  authenticated = *
             set acl_m2 = auth


-AND- all of:

acl_check_data:

  warn   message = X-Spam-Score: $spam_score ($spam_bar)
       condition = ${if or{{eq{$acl_m1}{local}}{eq{$acl_m2}{auth}}}
{no} {yes}}
            spam = nobody:true
  warn   message = X-Spam-Report: $spam_report
       condition = ${if or{{eq{$acl_m1}{local}}{eq{$acl_m2}{auth}}}
{no} {yes}}
            spam = nobody:true


  warn   message = X-Spam-Flag: YES
       condition = ${if or{{eq{$acl_m1}{local}}{eq{$acl_m2}{auth}}}
{no} {yes}}
            spam = nobody


  deny   message = This message scored $spam_score points.
Congratulations!
       condition = ${if or{{eq{$acl_m1}{local}}{eq{$acl_m2}{auth}}}
{no} {yes}}
            spam = nobody:true
       condition = ${if >{$spam_score_int}{50}{1}{0}}


.....removing the entry "{eq{$acl_m1}" or "{eq{$acl_m2}" depending which one I add....

Just to clarify...for my self and others on the list...

Thanks,

Mark
--
[ Content of type application/pgp-signature deleted ]
--