LINUX.ORG.RU
ФорумAdmin

Exim + Exchange


0

0

Занялся скрещиванием этих монстров. телнетом почта уходит. а при попытке отправить ее с другой машины почтовым клиентом, в логи сыпется такая гадость: 1Hdd6X-000FQi-Go == alabama@nizhne-lenskoe.ru R=adsi_okay T=remote_smtp defer (-1): remote_smtp transport called with no hosts set

В чем причина? где рыть?

anonymous
Ответ на: комментарий от anonymous

Скину я лучше весь конфиг. и поясню ситуацию. Внутри сетки стоит Exchange + AD и прочая муть. внутренний домен nl.local, внешний - domain.ru

хочу выставить наружу Exim, чтобы он отсеивал мусор и вирусы, проверял юзверей на валидность адресов, и, если все ОК, пересылал ее на Exchange.

Далее конфиг: _________________________________________________________________ primary_hostname = nizhne-lenskoe.ru

domainlist local_domains = @ : nizhne-lenskoe.ru domainlist relay_to_domains = nizhne-lenskoe.ru hostlist relay_from_hosts = 127.0.0.1 : 192.168.10.0/24

acl_smtp_rcpt = acl_check_rcpt acl_smtp_data = acl_check_data

qualify_domain = nizhne-lenskoe.ru

exim_user = mailnull exim_group = mail never_users = root

host_lookup = * rfc1413_hosts = * rfc1413_query_timeout = 5s

ignore_bounce_errors_after = 2d timeout_frozen_after = 7d

split_spool_directory = true

begin acl

acl_check_rcpt:

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 local_parts = postmaster domains = +local_domains 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

dnslookup: driver = dnslookup domains = +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 no_more

adsi_check: driver = redirect domains = +local_domains allow_fail allow_defer forbid_file forbid_pipe redirect_router = adsi_okay data = ${lookup{$local_part@$domain} \ lsearch{/usr/local/etc/exim/allusers.txt}}

adsi_okay: condition = ${lookup{$local_part@$domain} \ lsearch{/usr/local/etc/exim/allusers.txt} {1}{0}} transport = remote_smtp driver = accept cannot_route_message = Unknown

system_aliases: driver = redirect allow_fail allow_defer data = ${lookup{$local_part}lsearch{/etc/mail/aliases}} user = mailnull group = mail file_transport = address_file pipe_transport = address_pipe

userforward: driver = redirect check_local_user # local_part_suffix = +* : -* # local_part_suffix_optional file = $home/.forward # allow_filter no_verify no_expn check_ancestor file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply condition = ${if exists{$home/.forward} {yes} {no} }

localuser: driver = accept check_local_user # local_part_suffix = +* : -* # local_part_suffix_optional transport = local_delivery cannot_route_message = Unknown local user

begin transports

remote_smtp: headers_remove = received driver = smtp

local_delivery: driver = appendfile file = /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group = mail user = $local_part mode = 0660 no_mode_fail_narrower

address_pipe: driver = pipe return_output

address_file: driver = appendfile delivery_date_add envelope_to_add return_path_add

address_reply: driver = autoreply ________________________________________________________________

Вопрос - что я делаю не так?

Спасибо.

anonymous
()
Ответ на: комментарий от anonymous

Соори. забыл что копипастил с никсов, поэтому нет разрывов строк

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.