|
|
@@ -116,19 +116,22 @@ acl_check_spammers:
|
|
|
|
|
|
|
|
|
acl_check_mail:
|
|
|
- deny condition = ${if eq{$sender_helo_name}{}}
|
|
|
- message = HELO required before MAIL
|
|
|
-
|
|
|
- drop message = Helo name contains an IP address (HELO was $sender_helo_name) and not is valid
|
|
|
- condition = ${if match{$sender_helo_name}{\N((\d{1,3}[.-]\d{1,3}[.-]\d{1,3}[.-]\d{1,3})|([0-9a-f]{8})|([0-9A-F]{8}))\N}{yes}{no}}
|
|
|
- condition = ${if match {${lookup dnsdb{>: defer_never,ptr=$sender_host_address}}\}{$sender_helo_name}{no}{yes}}
|
|
|
- delay = 45s
|
|
|
-
|
|
|
- drop condition = ${if isip{$sender_helo_name}}
|
|
|
- message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
|
|
|
-
|
|
|
- drop condition = ${if eq{[$interface_address]}{$sender_helo_name}}
|
|
|
- message = $interface_address is _my_ address
|
|
|
+ deny condition = ${if eq{$sender_helo_name}{}}
|
|
|
+ message = HELO required before MAIL
|
|
|
+
|
|
|
+ drop !authenticated = *
|
|
|
+ message = Helo name contains an IP address (HELO was $sender_helo_name) and not is valid
|
|
|
+ condition = ${if match{$sender_helo_name}{\N((\d{1,3}[.-]\d{1,3}[.-]\d{1,3}[.-]\d{1,3})|([0-9a-f]{8})|([0-9A-F]{8}))\N}{yes}{no}}
|
|
|
+ condition = ${if match {${lookup dnsdb{>: defer_never,ptr=$sender_host_address}}\}{$sender_helo_name}{no}{yes}}
|
|
|
+ delay = 45s
|
|
|
+
|
|
|
+ drop !authenticated = *
|
|
|
+ condition = ${if isip{$sender_helo_name}}
|
|
|
+ message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
|
|
|
+
|
|
|
+ drop !authenticated = *
|
|
|
+ condition = ${if eq{[$interface_address]}{$sender_helo_name}}
|
|
|
+ message = $interface_address is _my_ address
|
|
|
|
|
|
accept
|
|
|
|