eximconf: only set "greylisting requested" flag for handled domains
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 13 Oct 2019 19:12:06 +0000 (20:12 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 13 Oct 2019 19:12:06 +0000 (20:12 +0100)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/exim/templates/eximconf.erb

index fca2bed..f8f927c 100644 (file)
@@ -606,6 +606,7 @@ check_recipient:
   warn    set acl_m_grey_recip = 0
 
   warn    local_parts          = GREYLIST_LOCAL_PARTS
+          domains              = +handled_domains
           set acl_m_grey_recip = 1
 
   # Defer after too many bad RCPT TO's.  Legit MTAs will retry later.