При отправке писем на local_domain аутентификация не требуется и письма прекрасно уходя и приходят без Authentificated.
Если отправлять письма НЕ на local_domain то все работает нормально, срабатывает правило
Код: Выделить всё
deny message = "This is not OpenReley.."
Код: Выделить всё
acl_check_rcpt:
accept hosts = :
deny message = "Invalid characters in the address"
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = "Invalid characters in the address"
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept local_parts = postmaster
domains = +local_domains
require verify = sender
deny message = "HELO / EHLO required by SMTP RFC be"
condition = ${if eq{$sender_helo_name}{}{yes}{no}}
accept authenticated = *
control = submission
deny message = "No need to push its own IP as the HELO!"
hosts = *:!+relay_from_hosts
condition = ${if eq{$sender_helo_name}\
{$sender_host_address}{true}{false}}
deny condition = ${if eq{$sender_helo_name}\
{$interface_address}{yes}{no}}
hosts = !127.0.0.1 : !localhost : *
message = "This is my IP-address! Go away!"
deny condition = ${if match{$sender_helo_name}\
{\N^\d+$\N}{yes}{no}}
hosts = !127.0.0.1:!localhost:*
message = "In the HELO can be only numbers!"
deny message = "I do not like your host ..."
condition = ${if match{$sender_host_name} \
{adsl|dialup|pool|peer|dhcp} \
{yes}{no}}
warn
set acl_m0 = 20s
warn
hosts = +relay_from_hosts
set acl_m0 = 0s
warn
logwrite = Delay $acl_m0 for $sender_host_name [$sender_host_address] with HELO=$sender_helo_name. Mail from $sender_address to $local_part@$domain.
delay = $acl_m0
accept domains = +local_domains
endpass
message = "In this domain there is no such user"
verify = recipient
accept domains = +relay_to_domains
endpass
message = "My server does not know the route to this host"
verify = recipient
accept hosts = +relay_from_hosts
control = submission
verify = recipient
deny message = "This is not OpenReley.."
Заранее спасибо