[exim] Issues with greylisting

Top Pagina
Delete this message
Reply to this message
Auteur: Raymond Jette
Datum:  
Aan: exim-users
Onderwerp: [exim] Issues with greylisting
Good afternoon,
I can't seem to get greylisting setup.

I have the following setup:

acl_check_rcpt:

accept hosts = :

  accept hosts     = +relay_from_hosts
         control   = submission


  accept authenticated = *
         control       = submission


  require message = relay not permitted
          domains = +local_domains : + relay_to_domains


require verify = recipient/callout

require verify = sender


warn set acl_m_greylistreasons = We greylist all mail\n$acl_m_greylistreasons
require acl = greylist_mail

accept

.include /etc/exim/exim-greylist.conf.inc


When testing with exim -bh <ip> I see the following:

>>> require: condition test succeeded
>>> processing "warn"
>>> check set acl_m_greylistreasons = We greylist all mail\n$acl_m_greylistreasons
>>>                              = We greylist all mail

>>>
>>> warn: condition test succeeded
>>> processing "require"
>>> check acl = greylist_mail
>>> using ACL "greylist_mail"
>>> processing "accept"
>>> check condition = ${if eq{$acl_m_greylistreasons}{} {1}}
>>>                 = 
>>> accept: condition test failed
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check authenticated = *
>>> accept: condition test failed
>>> processing "accept"
>>> check condition = ${lookup sqlite {/var/spool/exim/db/greylist.db SELECT host from resenders WHERE helo='${quote_sqlite:$sender_helo_name}' AND host='$sender_host_address';} {1}}
>>>                 = 
>>> accept: condition test failed
>>> processing "warn"
>>> warn: condition test error
>>> require: condition test error

451 Temporary local problem - please try later
LOG: H=(mestek.com) [124.3.2.1] F=<rjette@???> temporarily rejected RCPT <rjette@???>: failed to expand ACL string "${hash{20}{62}{$sender_address$recipients$h_message-id:}}": unknown variable name "recipients"

I've checked the log files for more information and searched the internet for a while but I have not been able to come up with anything to help me solve my issue. Thanks for any help you can provide.

Ray Jette