[exim] Greylisting and SA

Top Page
Delete this message
Reply to this message
Author: Raymond Jette
Date:  
To: exim-users
Subject: [exim] Greylisting and SA
Good morning,
Currently I have Exim setup to greylist everything. Greylisting works
but the message is still passed off to SpamAssassin before exim
temporary rejects the connection (due to the greylisting).

Is it possible to have the messages greylisted and given a temporary
reject without calling SpamAssassin first?

I have the following configuration:

acl_check_data:
warn set acl_m_greylistreasons = We greylist all
mail\n$acl_m_greylistreasons

   deny malware     = *
            message     = This message contains a virus ($malware_name).


   accept condition = ${if >={$message_size{100000} {1}}
              add_header = X-Spam-Note: SpamAssassin run bypassed due to 
message size


   warn spam         = nobody/defer_ok
             add_header = X-Spam-Fag: YES


   accept condition   = ${if !def:spam_score_int {1}}
               add_header = X-Spam-Note: SpamAssassin invocation failed


   warn     add_header = X-Spam-Score: $spam_score ($spam_bar)\n\
                                      X-Spam-Report: $spam_report


   deny     condition     = $if >{$spam_score_int}{60} {1}}
               message        = Your message scored @spam_score 
SpamAssassin point. Report follows:\n\n
                                            $spam_report


require acl = greylist_mail

accept


Thanks for any help you may be able to provide,

Ray