[exim] Whitelist syntax

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Schmerold
Date:  
À: Exim Users
Sujet: [exim] Whitelist syntax
I have something wrong with my whitelist syntax, what am I missing?

Logs are telling me:
2014-07-30 18:57:37 H=elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]
F=<bb01@???> rejected RCPT <fel@???>: rejected because
209.86.89.68 is in a black list at dnsbl.sorbs.net

[root@mx6 ~]# grep bb01@earthlink /etc/exim/whitelist
bb01@???

relevant sections from exim.conf:
# definitions section
addresslist whitelist_senders = wildlsearch;/etc/exim/whitelist

############# ACCEPT SETTINGS#######################
begin acl

acl_check_rcpt:
accept hosts = net-iplsearch;/etc/exim/whitelist
accept hosts = :
require recipients = lsearch;/etc/exim/getAllEmail.txt
deny local_parts = ^.*[@%!/|] : ^\\.

   deny message   = HELO Policy Restriction: HELO is not an FQDN.
      condition = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
      condition = ${if match{$sender_helo_name}{\N[^.]\N}{no}{yes}}


   deny message = rejected because $sender_host_address is in a black 
list at $dnslist_domain\n$dnslist_text
      dnslists = 
zen.spamhaus.org/<;$sender_host_address;$sender_address_domain : 
b.barracudacentral.org : dnsbl.sorbs.net : \
        bl.spameatingmonkey.net : psbl.surriel.com : cidr.bl.mcafee.com 
: bl.senderscore.com : \
        hostkarma.junkemailfilter.com=127.0.0.2


   deny message = REJECTED - Sender Verify Failed and no RDNS
        !verify = reverse_host_lookup
        !verify = sender/callout=2m,defer_ok
        !senders = +whitelist_senders
        !condition =  ${if eq{$sender_verify_failure}{}}


   accept domains = +relay_to_domains
          endpass
          message = relay not permitted at this server
          verify = recipient


accept hosts = +relay_from_hosts

acl_check_mime:

warn decode = default

   deny message = Blacklisted file extension detected
      condition = ${if match {${lc:$mime_filename}} 
{\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} {1}{0}}


accept





--
John Schmerold
Katy Computer Systems, Inc
http://www.katy.com
St Louis