[Pkg-exim4-users] How to skip spamassassin check for outgoing mail from local network

Johann Spies jspies at sun.ac.za
Wed Nov 16 12:13:04 UTC 2011


On Wed, Nov 16, 2011 at 01:10:49PM +0200, Mauro Cenacchi wrote:

> My "/var/lib/exim4/config.autogenerated":

This is the section of concern:

> acl_check_data:
> 
>   .ifdef CHECK_DATA_VERIFY_HEADER_SYNTAX
>   deny
>     message = Message headers fail syntax check
>     !acl = acl_local_deny_exceptions
>     !verify = header_syntax
>   .endif
> 
>   .ifdef CHECK_DATA_VERIFY_HEADER_SENDER
>   deny
>     message = No verifiable sender address in message headers
>     !acl = acl_local_deny_exceptions
>     !verify = header_sender
>   .endif
> 
>   accept
>     hosts       = : +relay_from_hosts
> 
>   accept
>     authenticated = *
> 
>   warn
>     spam = Debian-exim:true
>     message = X-Spam_score: $spam_score\n\
>               X-Spam_score_int: $spam_score_int\n\
>               X-Spam_bar: $spam_bar\n\
>               X-Spam_report: $spam_report
> 
>   .ifdef CHECK_DATA_LOCAL_ACL_FILE
>   .include CHECK_DATA_LOCAL_ACL_FILE
>   .endif
> 
>   accept

The Debian setup with all these MACRO's makes it very difficult to read
the file.

I have seen a clean setup example at
http://www.maretmanu.org/homepage/inform/exim-spam.php#spam. See the
acl_check_data section and how this person handles 'own_hosts' in this
acl.

That is the type of thing you need.

Regards
Johann

-- 
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

     "Therefore being justified by faith, we have peace 
      with God through our Lord Jesus Christ."    Romans 5:1



More information about the Pkg-exim4-users mailing list