I would like to set up per user scanning using spamassassin and exim. If
there are multiple recipients I would like to use the user 'nobody',
otherwise I want to use the mail alias. Its a University so only 1
domain...

can i merge the following 2 seperate conditions into one multiconditional?
Also from inspection will the following work as im testing it atm but 
mails are getting through and not even being sent to SA.
Ronan





acl_check_rcpt:

condition    = ${if >{$recipients_count}{1}{1}{0}}
         set acl_m1 = 1


acl_check_data:
warn    message       = X-Spam-Score: $spam_bar ($spam_score)\n\
                           X-Spam-Score-Int: $spam_score_int
           condition     = ${if 
and{{>{$spam_score_int}{100}}{and{{<{$message_size}{80k}}{eq{$acl_m1}{0}}}}}}
           set acl_m9    = 1
           spam          = ${lc:[EMAIL PROTECTED]:true
           set acl_m9    = 0


warn    message       = X-Spam-Score: $spam_bar ($spam_score)\n\
                           X-Spam-Score-Int: $spam_score_int
           condition     = ${if 
and{{>{$spam_score_int}{100}}{and{{<{$message_size}{80k}}{eq{$acl_m1}{1}}}}}}
           set acl_m9    = 1
           spam          = ${lc:[EMAIL PROTECTED]:true
           set acl_m9    = 0

-- 
Regards

Ronan McGlue

===================
Analyst / Programmer
Queens University Belfast

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to