Отправка писем не с 127.0.0.1
Добавлено: 2007-09-11 13:33:28
Exim 4.67
что подкрутить, чтобы он разрешил отправку писем авторизированным пользователям? пока пользователи системные, авторизируются через Courier Authlib.
пока он отбивает всех :
что подкрутить, чтобы он разрешил отправку писем авторизированным пользователям? пока пользователи системные, авторизируются через Courier Authlib.
пока он отбивает всех :
2007-09-06 10:26:19 H=(Pol) [80.237.7.13] F=<support@livealbum.ru> rejected RCPT <geliozz@ya.ru>: relay not permitted
Код: Выделить всё
begin acl
# This access control list is used for every RCPT command in an incoming
# SMTP message. The tests are run in order until the address is either
# accepted or denied.
acl_check_rcpt:
# Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
# testing for an empty sending host field.
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
#############################################################################
# Accept mail to postmaster in any local domain, regardless of the source,
# and without verifying the sender.
accept local_parts = postmaster
domains = +local_domains
# Deny unless the sender address can be verified.
require verify = sender
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
# control = submission
require message = relay not permitted
domains = +local_domains : +relay_to_domains
require verify = recipient
accept
acl_check_data:
accept