]> git.openstreetmap.org Git - chef.git/commitdiff
Move blocked senders to a separate file
authorTom Hughes <tom@compton.nu>
Sat, 26 Aug 2017 11:37:28 +0000 (12:37 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 26 Aug 2017 11:38:14 +0000 (12:38 +0100)
cookbooks/exim/templates/default/exim4.conf.erb

index 530b105d43a7daf06f1431b49b702602bd201d46..d990c061b494f6c5900661f6fe8c1de6dfbc2340 100644 (file)
@@ -383,9 +383,10 @@ acl_check_rcpt:
   deny    local_parts   = root:postmaster:webmaster:abuse:support
           senders       = :
 
-  # Block sender of spam backscatter
+  # Block blacklisted senders
 
-  deny    senders       = www-data@www.easyticket.de:*@email.realestate.co.nz:sipdentistry@mail.mediaworksonline.com:www-data@*.consoglobe.com:lina-noreply@jobstreet.com:apache@704210-web2.tristatecamera.com:webmaster@openstreetmap.org:noreply@pring.co.uk:admin@honeygame.com
+  deny    senders       = lsearch*@;/etc/exim4/blocked-senders
+          message       = Rejected because $sender_address is blacklisted\nQueries to postmaster@$qualify_domain
           !hosts        = +relay_from_hosts
 
   # Accept mail to postmaster in any local domain, regardless of the source,