Re: [exim] Skiping spamasssin on my relay net

Top Page
Delete this message
Reply to this message
Author: Troy Settle
Date:  
To: José de Jesús Gutiérrez Ramírez
CC: exim-users
Subject: Re: [exim] Skiping spamasssin on my relay net


José de Jesús Gutiérrez Ramírez wrote:
> Hi,
>
> It's possible to skip the spamassassin scan on the messages sent trough my
> network?
>
> How?
>
> TIA
>
> Jesus Gutierrez
>
>
>

Sure... in your data acl, accept it after virus/mime/attachment checks
and before the spam check.

rcpt_acl:
  accept hosts           = +relay_from_hosts
         add_header      = X-ANTISPAM: Message sent from an accepted 
end-user host or network
         set acl_m_allow = 1
         control         = submission


  accept authenticated   = *
         add_header      = X-ANTISPAM: Message sent from an 
authenticated user
         set acl_m_allow = 1
         control         = submission


data_acl:
  accept condition       = ${if ={$acl_m_allow}{1}}


HTH,

--
Troy Settle
Pulaski Networks
866.477.5638