Bug#313023: acl: accept postmaster at relay_to_domains just like at local_domains

Roderick Schertler Roderick Schertler <roderick@argon.org>, 313023@bugs.debian.org
Sat, 11 Jun 2005 06:51:47 -0400


Package: exim4-config
Version: 4.50-4
Severity: normal
Tags: patch

I believe that the acl should accept postmaster more liberally for
relayed domains just like it accepts it for local domains.

--- 30_exim4-config_check_rcpt.~1~	2005-06-11 06:39:10.000000000 -0400
+++ 30_exim4-config_check_rcpt	2005-06-11 06:45:55.000000000 -0400
@@ -62,8 +62,8 @@
   .endif
 
 
-  # Accept mail to postmaster in any local domain, regardless of the source,
-  # and without verifying the sender.
+  # Accept mail to postmaster in any local or relayed domain, regardless
+  # of the source, and without verifying the sender.
   #
   accept
     .ifndef CHECK_RCPT_POSTMASTER
@@ -71,7 +71,7 @@
     .else
     local_parts = CHECK_RCPT_POSTMASTER
     .endif
-    domains = +local_domains
+    domains = +local_domains : +relay_to_domains
 
 
   # deny bad senders (envelope sender)

-- 
Roderick Schertler
roderick@argon.org