[exim] greylist help

Pàgina inicial
Delete this message
Reply to this message
Autor: Alex
Data:  
A: exim users
Assumpte: [exim] greylist help
I have greylist configuration but in this configuration not runs, the defer

greylistd runs correctly, the problem is the postion of rules.


acl_check_rcpt:

  deny    local_parts   = ^.*[@%!/|] : ^\\.


accept hosts = :

  accept  local_parts   = postmaster
          domains       = +local_domains


  # require verify        = sender
  accept  authenticated = *


  accept  domains       = +local_domains
          endpass
          verify        = recipient


  accept  domains       = +local_domains
          endpass
          verify        = recipient


  accept  hosts         = +relay_from_hosts


# Include Vexim specific rcpt ACLs
.include /usr/local/exim/includes/vexim-acl-check-rcpt.conf

  deny    message       = relay not permitted



-------------------------------------------------------------------------------------------------------------------------------------------

deny  message     = [SPF] $sender_host_address is not allowed to send mail \
                  from $sender_address_domain.
    log_message = SPF check failed.
    set acl_m9  = -ipv4=$sender_host_address \
                  -sender=$sender_address \
                  -helo=$sender_helo_name
    set acl_m9  = ${run{/usr/bin/spfquery $acl_m9}}
    condition   = ${if eq {$runrc}{1}{true}{false}}


defer   message = Please try later.
        #!hosts      = /usr/local/exim/includes/host_white.list
        #hosts         = !+relay_from_hosts
        #!senders    = :
        #domains     = !+local_domains
        log_message = greylisted.
        set acl_m3  = ${mask:$sender_host_address/24} $sender_address
$local_part@$domain
        set acl_m3  =
${readsocket{/var/run/greylistd/socket}{$acl_m3}{5s}{}{}}
        condition   = ${if eq {$acl_m3}{grey}{true}{false}}



  deny    message       = DNSBL listed at $dnslist_domain\n$dnslist_text
          log_message   = LOGTEST DNSBL listed at
$dnslist_domain\n$dnslist_text
#         dnslists      = dynablock.njabl.org:ordb.relay.org:bl.spamcop.net
          dnslists      = dnsbl.njabl.org : \


sbl-xbl.spamhaus.org/<;$sender_host_address;$sender_address_domain
:\
                        nomail.rhsbl.sorbs.net/$sender_address_domain :\
                        ordb.relay.org :\
                        cbl.abuseat.org : \
                        relays.ordb.org :\
                        list.dsbl.org : web.dnsbl.sorbs.net :
socks.dnsbl.sorbs.net :\
                        http.dnsbl.sorbs.net