Страница 1 из 2
Mainlog от Exim'a
Добавлено: 2008-09-10 14:58:15
Владимир
Вот это появилось в логах Eximа
mainlog
Код: Выделить всё
2008-09-10 14:22:46 1KdNaE-000N8b-MJ Message is frozen
2008-09-10 14:22:46 1KdMxV-000N2V-Of Unfrozen by errmsg timer
2008-09-10 14:22:46 1KdMxV-000N2V-Of ** root@moldcargo.md: Unrouteable address
2008-09-10 14:22:46 1KdMxV-000N2V-Of root@moldcargo.md: error ignored
2008-09-10 14:22:46 1KdMxV-000N2V-Of Completed
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc Unfrozen by errmsg timer
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc ** root@moldcargo.md: Unrouteable address
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc root@moldcargo.md: error ignored
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc Completed
2008-09-10 14:22:46 1KdN7D-000N4Q-Pi Message is frozen
2008-09-10 14:22:46 1KdNju-000NA4-UT Message is frozen
2008-09-10 14:22:46 1KdNGr-000N5g-Ow Message is frozen
2008-09-10 14:22:46 1KdMnr-000N09-6h Unfrozen by errmsg timer
2008-09-10 14:22:46 1KdMnr-000N09-6h ** root@moldcargo.md: Unrouteable address
2008-09-10 14:22:46 1KdMnr-000N09-6h root@moldcargo.md: error ignored
2008-09-10 14:22:46 1KdMnr-000N09-6h Completed
2008-09-10 14:22:46 1KdNQZ-000N7T-C2 Message is frozen
и
Код: Выделить всё
2008-09-10 14:20:02 1KdNju-000N9r-Rb <= root@moldcargo.md U=root P=local S=738 from <root@moldcargo.md> for root
2008-09-10 14:20:02 1KdNju-000N9r-Rb ** root@moldcargo.md: Unrouteable address
2008-09-10 14:20:02 1KdNju-000NA4-UT <= <> R=1KdNju-000N9r-Rb U=mailnull P=local S=1538 from <> for root@moldcargo.md
2008-09-10 14:20:02 1KdNju-000NA4-UT ** root@moldcargo.md: Unrouteable address
2008-09-10 14:20:02 1KdNju-000NA4-UT Frozen (delivery error message)
появляется с периодичностью 10 минут.
Куда копать, чтобы логи не засорялись этим, где решение проблемы искать, хелп.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:04:12
Alex_hha
Ну собственно
# exim -bt
root@moldcargo.md
root@moldcargo.md
router = dnslookup, transport = remote_smtp
host mail.moldcargo.md [212.0.210.101] MX=10
# telnet 212.0.210.101 25
Trying 212.0.210.101...
Connected to host-static-212-0-210-101.moldtelecom.md.
Escape character is '^]'.
220 moldcargo.md, ESMTP EXIM 4.69
helo mail.sys-adm.org.ua
250 moldcargo.md Hello mail.sys-adm.org.ua [213.85.107.157]
mail from:<>
250 OK
rcpt to:<
root@moldcargo.md>
550 "In my mailserver not stored this user"
quit
221 moldcargo.md closing connection
Connection closed by foreign host.
Судя из - "2008-09-10 14:20:02 1KdNju-000NA4-UT <= <> R=1KdNju-000N9r-Rb U=mailnull P=local S=1538 from <> for
root@moldcargo.md" это callout. Тебе нужно сделать исключение для этого адреса/домена
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:09:13
Владимир
не подскажите где сделать данное исключение и каким его боком сделать?
буду весьма признателен.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:16:33
Alex_hha
Не видя конфига сложно сказать. Но вероятнее всего в ACL - acl_smtp_rcpt.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:17:59
Владимир
Код: Выделить всё
#!/bin/sh
primary_hostname = moldcargo.md
hide mysql_servers = localhost/exim/exim/exim_amon
domainlist local_domains = ${lookup mysql{SELECT `domain` FROM `mail` WHERE `domain`='${domain}'}} : localhost : mail.moldcargo.md : moldcargo.md
domainlist relay_to_domains = ${lookup mysql{SELECT `domain` FROM `mail` WHERE `domain`='${domain}'}} : localhost : mail.moldcargo.md : moldcargo.md
hostlist relay_from_hosts = localhost : 127.0.0.0/8 : 192.168.1.0/24
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
av_scanner = clamd:/var/run/clamav/clamd
spamd_address = 127.0.0.1 783
qualify_domain = moldcargo.md
qualify_recipient = moldcargo.md
allow_domain_literals = false
exim_user = mailnull
exim_group = mail
never_users = root
#host_lookup = *
#rfc1413_hosts = *
rfc1413_query_timeout = 0s
sender_unqualified_hosts = +relay_from_hosts
recipient_unqualified_hosts = +relay_from_hosts
# percent_hack_domains = *
ignore_bounce_errors_after = 45m
timeout_frozen_after = 15d
#freeze_tell =
helo_accept_junk_hosts = 192.168.1.0/24
auto_thaw = 1h
smtp_banner = "$primary_hostname, ESMTP EXIM $version_number"
smtp_accept_max = 50
smtp_accept_max_per_connection = 25
smtp_connect_backlog = 30
smtp_accept_max_per_host = 20
split_spool_directory = true
remote_max_parallel = 15
return_size_limit = 70k
message_size_limit = 64M
helo_allow_chars = _
smtp_enforce_sync = true
log_selector = \
+all_parents \
+connection_reject \
+incoming_interface \
+lost_incoming_connection \
+received_sender \
+received_recipients \
+smtp_confirmation \
+smtp_syntax_error \
+smtp_protocol_error \
-queue_run
syslog_timestamp = no
begin acl
acl_check_rcpt:
accept hosts = :
deny message = "incorrect symbol in address"
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = "incorrect symbol in address"
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept local_parts = postmaster
domains = +local_domains
# require verify = sender
deny message = "HELO/EHLO require by SMTP RFC"
condition = ${if eq{$sender_helo_name}{}{yes}{no}}
accept authenticated = *
deny message = "Your IP in HELO - access denied!"
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 = "main IP in your HELO! Access denied!"
deny condition = ${if match{$sender_helo_name}\
{\N^\d+$\N}{yes}{no}}
hosts = !127.0.0.1 : !localhost : *
message = "can not be only number in HELO!"
# deny condition = ${if eq{$sender_address}{}{yes}{no}}
# hosts = !127.0.0.1 : !localhost : *
# message = "? ?????? HELO ???????! ?? ?? RFC..."
# deny condition = ${if match{$sender_address}{\N^\s+$\N}{yes}{no}}
# hosts = !127.0.0.1 : !localhost : *
# message = "? ?????? HELO ?????? (???? ???????)?! ?? ?? RFC..."
# deny condition = ${if eq{$sender_address}{}{yes}{no}}
# hosts = !127.0.0.1 : !localhost : *
# message = "Where sender of this mail?!"
deny message = "your hostname is bad (adsl, poll, ppp & etc)."
condition = ${if match{$sender_host_name} \
{adsl|dialup|pool|peer|dhcp} \
{yes}{no}}
warn
set acl_m0 = 30s
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 my mailserver not stored this user"
verify = recipient
accept domains = +relay_to_domains
endpass
message = "main server not know how relay to this address"
verify = recipient
deny message = "you in blacklist - $dnslist_domain \n $dnslist_text"
hosts = !localhost : !127.0.0.1 : !192.168.1.0/24 : *
dnslists = cbl.abuseat.org : dynablock.njabl.org
accept hosts = +relay_from_hosts
deny message = "Homo hominus lupus est"
acl_check_data:
deny malware = *
message = "In e-mail found VIRUS - $malware_name"
warn spam = nobody
message = X-Spam_score: $spam_score\n\
X-Spam_score: $spam_score_int\n\
X-Spam_bar: $spam_bar\n\
X-Spam_report: $spam_report
#pentru spam
deny message = "This message scored $spam_score spam points"
spam = nobody
hosts = !127.0.0.1 : !localhost : !192.168.1.0/24 : *
condition = ${if>{$spam_score_int}{50}{1}{0}}
accept
begin routers
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.1.0/24
no_more
# ??????? ?????
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup mysql{SELECT `address` FROM `mail` WHERE `address`='${quote_mysql:$local_part@$domain}'}}
dovecot_user:
driver = accept
condition = ${lookup mysql{SELECT `address` FROM `mail` WHERE `address`='${quote_mysql:$local_part@$domain}'}{yes}{no}}
transport = dovecot_delivery
begin transports
remote_smtp:
driver = smtp
dovecot_delivery:
driver = pipe
command = /usr/local/libexec/dovecot/deliver -d $local_part
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
user = mailnull
address_pipe:
driver = pipe
return_output
address_reply:
driver = autoreply
begin retry
# Address or Domain Error Retries
# ----------------- ----- -------
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators
auth_plain:
driver = plaintext
public_name = PLAIN
server_condition = ${lookup mysql{SELECT `user` FROM `mail` WHERE `user` = '${quote_mysql:$auth2}' AND `password` = '${quote_mysql:$auth3}'}{yes}{no}}
server_prompts = :
server_set_id = $auth2
auth_login:
driver = plaintext
public_name = LOGIN
server_condition = ${lookup mysql{SELECT `user` FROM `mail` WHERE `user` = '${quote_mysql:$auth1}' AND `password` = '${quote_mysql:$auth2}'}{yes}{no}}
server_prompts = Username:: : Password::
server_set_id = $auth1
auth_cram_md5:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${lookup mysql{SELECT `password` FROM `mail` WHERE `user` = '${quote_mysql:$auth1}'}{$value}fail}
server_set_id = $auth2
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:29:43
Alex_hha
Странно, но я не вижу такой проверки. Тогда запускай exim -bhc 212.0.210.101 и смотри вывод.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:43:42
Владимир
Код: Выделить всё
**** SMTP testing session as if from host 212.0.210.101
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "localhost : 127.0.0.0/8 : 192.168.1.0/24"? no (end of list)
>>> host in sender_unqualified_hosts? no (end of list)
>>> host in recipient_unqualified_hosts? no (end of list)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (end of list)
220 moldcargo.md, ESMTP EXIM 4.69
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:47:13
Alex_hha
Ну а дальше кто будет писать?
helo bla bla bla
mail from:<
root@moldcargo.md>
rcpt to:<
user@mydomain.com>
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:50:19
lerryc
never_users = root
тут или тут
/etc/mail/aliases
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 15:59:54
Владимир
Код: Выделить всё
oops ...сорри, недокурил все команды :(
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> mydomain.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> mydomain.com in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> mydomain.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> mydomain.com in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>>> user in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> user in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check condition = ${if eq{$sender_helo_name}{}{yes}{no}}
>>> = yes
>>> deny: condition test succeeded
550 "HELO/EHLO require by SMTP RFC"
LOG: H=[212.0.210.101] F=<root@moldcargo.md> rejected RCPT <user@mydomain.com>: "HELO/EHLO require by SMTP RFC"
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:04:28
Владимир
lerryc писал(а):
never_users = root
тут или тут
/etc/mail/aliases
1. дык, на сколько понимаю строчка ..... запрещает доставку под рутом
2. хм..а что в алиасах искать?
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:11:15
Alex_hha
helo где?! Вместо
user@mydomain.com надо подставить свой ящик.
2 lerryc
для начала прочитайте документацию
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:14:59
Владимир
сорри..стормознул.
Код: Выделить всё
moldcargo.md(15:59)[/var/log/exim]# exim -bhc 212.0.210.101 hello
**** SMTP testing session as if from host 212.0.210.101
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "localhost : 127.0.0.0/8 : 192.168.1.0/24"? no (end of list)
>>> host in sender_unqualified_hosts? no (end of list)
>>> host in recipient_unqualified_hosts? no (end of list)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (end of list)
220 moldcargo.md, ESMTP EXIM 4.69
mail from:<root@moldcargo.md>
250 OK
rcpt to:<tv.vldmr@gmail.com>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>>> tv.vldmr in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> tv.vldmr in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check condition = ${if eq{$sender_helo_name}{}{yes}{no}}
>>> = yes
>>> deny: condition test succeeded
550 "HELO/EHLO require by SMTP RFC"
LOG: H=[212.0.210.101] F=<root@moldcargo.md> rejected RCPT <tv.vldmr@gmail.com>: "HELO/EHLO require by SMTP RFC"
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:20:28
lerryc
Владимир писал(а):lerryc писал(а):
never_users = root
тут или тут
/etc/mail/aliases
1. дык, на сколько понимаю строчка ..... запрещает доставку под рутом
2. хм..а что в алиасах искать?
1) правильно
Код: Выделить всё
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc Unfrozen by errmsg timer
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc ** root@moldcargo.md: Unrouteable address
2008-09-10 14:22:46 1KdMeA-000MyJ-Rc root@moldcargo.md: error ignored
moldcargo.md - это локальный домен, насколько я понял из конфига
2) в алиасах прописать алиас для рута
имхо
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:35:32
Alex_hha
moldcargo.md - это локальный домен, насколько я понял из конфига
локальный домен для кого?
2) в алиасах прописать алиас для рута
имхо
и как это связанно с проблемой callout'a?
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:39:59
Владимир
да не канает фишка с алиасами

так что лучше не спорить с человеком
эхх лучше мну подсказать, чтоб такого сделать, да ж не знаю.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:43:57
Alex_hha
Вы упорно не хотите делать, что я говорю?
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 16:45:18
Владимир
Alex_hha писал(а):Вы упорно не хотите делать, что я говорю?
выше сделал , всё как Вы сказали :
Код: Выделить всё
moldcargo.md(15:59)[/var/log/exim]# exim -bhc 212.0.210.101 hello
**** SMTP testing session as if from host 212.0.210.101
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "localhost : 127.0.0.0/8 : 192.168.1.0/24"? no (end of list)
>>> host in sender_unqualified_hosts? no (end of list)
>>> host in recipient_unqualified_hosts? no (end of list)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (end of list)
220 moldcargo.md, ESMTP EXIM 4.69
mail from:<root@moldcargo.md>
250 OK
rcpt to:<tv.vldmr@gmail.com>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>>> tv.vldmr in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> tv.vldmr in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check condition = ${if eq{$sender_helo_name}{}{yes}{no}}
>>> = yes
>>> deny: condition test succeeded
550 "HELO/EHLO require by SMTP RFC"
LOG: H=[212.0.210.101] F=<root@moldcargo.md> rejected RCPT <tv.vldmr@gmail.com>: "HELO/EHLO require by SMTP RFC"
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 17:01:27
Alex_hha
Сори, моя сдается. прочитайте про exim -bhc и посмотрите примеры в гугле.
http://wiki.exim.org/TroubleShooting - для примера
з.ы.
helo это smtp команда, а не аргумент командной строки exim!!!
550 "HELO/EHLO require by SMTP RFC"
переведи на русский
Вот пример smtp сессии, посмотри последовательность команд (она такая же как и в exim -bhc)
# telnet 192.168.127.1 25
Trying 192.168.127.1...
Connected to freebsd.sys-adm.local.
Escape character is '^]'.
220 freebsd.sys-adm.org.ua ESMTP
helo alex.sys-adm.local
250 freebsd.sys-adm.org.ua
mail from:<
alex@sys-adm.org.ua>
250 2.1.0 Ok
rcpt to:<
alex_hha@mail.ru>
554 5.7.1 <
alex_hha@mail.ru>: Relay access denied
quit
221 2.0.0 Bye
Connection closed by foreign host.
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 17:03:44
Владимир
эхх сдаваться не надо
учимся)
логику последовательности понял, сейчас буду выполнять
дык, моя ошибка : вместе helo писал hello
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 17:06:53
Владимир
Код: Выделить всё
moldcargo.md(16:32)[/usr/local/etc/rc.d]# exim -bhc 212.0.210.101
**** SMTP testing session as if from host 212.0.210.101
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "localhost : 127.0.0.0/8 : 192.168.1.0/24"? no (end of list)
>>> host in sender_unqualified_hosts? no (end of list)
>>> host in recipient_unqualified_hosts? no (end of list)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (end of list)
220 moldcargo.md, ESMTP EXIM 4.69
helo test
>>> test in helo_lookup_domains? no (end of list)
250 moldcargo.md Hello test [212.0.210.101]
mail from:<root@moldcargo.md>
250 OK
rcpt to:<tv.vldmr@gmail.com>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>>> tv.vldmr in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> tv.vldmr in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check condition = ${if eq{$sender_helo_name}{}{yes}{no}}
>>> = no
>>> deny: condition test failed
>>> processing "accept"
>>> check authenticated = *
>>> accept: condition test failed
>>> processing "deny"
>>> check hosts = * : !+relay_from_hosts
>>> host in "* : !+relay_from_hosts"? yes (matched "*")
>>> check condition = ${if eq{$sender_helo_name}{$sender_host_address}{true}{false}}
>>> = false
>>> deny: condition test failed
>>> processing "deny"
>>> check condition = ${if eq{$sender_helo_name}{$interface_address}{yes}{no}}
>>> = no
>>> deny: condition test failed
>>> processing "deny"
>>> check condition = ${if match{$sender_helo_name}{\N^\d+$\N}{yes}{no}}
>>> = no
>>> deny: condition test failed
>>> processing "deny"
>>> looking up host name for 212.0.210.101
>>> IP address lookup yielded host-static-212-0-210-101.moldtelecom.md
>>> gethostbyname2 looked up these IP addresses:
>>> name=host-static-212-0-210-101.moldtelecom.md address=212.0.210.101
>>> checking addresses for host-static-212-0-210-101.moldtelecom.md
>>> 212.0.210.101 OK
>>> check condition = ${if match{$sender_host_name} {adsl|dialup|pool|peer|dhcp} {yes}{no}}
>>> = no
>>> deny: condition test failed
>>> processing "warn"
>>> check set acl_m0 = 30s
>>> warn: condition test succeeded
>>> processing "warn"
>>> check hosts = +relay_from_hosts
>>> host in "+relay_from_hosts"? no (end of list)
>>> warn: condition test failed
>>> processing "warn"
>>> check 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 30s for host-static-212-0-210-101.moldtelecom.md [212.0.210.101] with HELO=test. Mail from root@moldcargo.md to tv.vldmr@gmail.com.
LOG: Delay 30s for host-static-212-0-210-101.moldtelecom.md [212.0.210.101] with HELO=test. Mail from root@moldcargo.md to tv.vldmr@gmail.com.
>>> check delay = $acl_m0
>>> = 30s
>>> delay modifier requests 30-second delay
>>> delay skipped in -bh checking mode
>>> warn: condition test succeeded
>>> processing "accept"
>>> check domains = +local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "+local_domains"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check domains = +relay_to_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
>>> gmail.com in "+relay_to_domains"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check hosts = !localhost : !127.0.0.1 : !192.168.1.0/24 : *
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "!localhost : !127.0.0.1 : !192.168.1.0/24 : *"? yes (matched "*")
>>> check dnslists = cbl.abuseat.org : dynablock.njabl.org
>>> DNS list check: cbl.abuseat.org
>>> new DNS lookup for 101.210.0.212.cbl.abuseat.org
>>> DNS lookup for 101.210.0.212.cbl.abuseat.org failed
>>> => that means 212.0.210.101 is not listed at cbl.abuseat.org
>>> DNS list check: dynablock.njabl.org
>>> new DNS lookup for 101.210.0.212.dynablock.njabl.org
quit
>>> 101.210.0.212.dynablock.njabl.org in dns_again_means_nonexist? no (option unset)
LOG: DNS list lookup defer (probably timeout) for 101.210.0.212.dynablock.njabl.org: assumed not in list
>>> deny: condition test failed
>>> processing "accept"
>>> check hosts = +relay_from_hosts
>>> host in "+relay_from_hosts"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> deny: condition test succeeded
550 "Homo hominus lupus est"
LOG: H=host-static-212-0-210-101.moldtelecom.md (test) [212.0.210.101] F=<root@moldcargo.md> rejected RCPT <tv.vldmr@gmail.com>: "Homo hominus lupus est"
221 moldcargo.md closing connection
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 17:11:28
lerryc
Alex_hha писал(а):moldcargo.md - это локальный домен, насколько я понял из конфига
локальный домен для кого?
2) в алиасах прописать алиас для рута
имхо
и как это связанно с проблемой callout'a?
исходный месаг
2008-09-10 14:22:46 1KdNaE-000N8b-MJ Message is frozen
2008-09-10 14:22:46 1KdMxV-000N2V-Of Unfrozen by errmsg timer
2008-09-10 14:22:46 1KdMxV-000N2V-Of **
root@moldcargo.md: Unrouteable address
2008-09-10 14:22:46 1KdMxV-000N2V-Of
root@moldcargo.md: error ignored
2008-09-10 14:22:46 1KdMxV-000N2V-Of Completed
проблемы могут быть две
1) не найден адрес под звездочкой (если там был адрес)
2) локалхост не может работать как локал_парт "root"
never_users = root
насколько я понял из документации - никогда не работать для рута - т.е.
не принимать и не оптравлять
проверить - элементарно - закомментировать эту строку (сам не могу проверить - нет сервака под рукой)
если не излечит - значит не найден получатель
почему не найден - для этого нужно знать как минимум получателя
к тому же :
# telnet 212.0.210.101 25
Trying 212.0.210.101...
Connected to host-static-212-0-210-101.moldtelecom.md.
Escape character is '^]'.
220 moldcargo.md, ESMTP EXIM 4.69
helo mail.sys-adm.org.ua
250 moldcargo.md Hello mail.sys-adm.org.ua [213.85.107.157]
mail from:<>
250 OK
rcpt to:<
root@moldcargo.md>
550 "In my mailserver not stored this user"
о чем говорит?
касательно
локальный домен для кого?
для экзима
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 18:20:31
Alex_hha
rcpt to:<
tv.vldmr@gmail.com> твой экзим обслуживает домен gmail.com?!
moldcargo.md - это чей домен?
проверить - элементарно - закомментировать эту строку (сам не могу проверить - нет сервака под рукой)
рут вкомпилирован в бинарник, так что коменты до одного места
насколько я понял из документации - никогда не работать для рута - т.е. не принимать и не оптравлять
неправильно понял
Ибо
Код: Выделить всё
# exim -bP | grep never_users
never_users = root
# exim -bt root
alex@sys-adm.org.ua
<-- root@mail.sys-adm.org.ua
router = localuser, transport = local_delivery
почта для рута (через алиас) отлично принимается и уж тем более отправляется.
о чем говорит?
и криво настроеном почтовике.
для экзима
для экзима автора?!
Re: Mainlog от Exim'a
Добавлено: 2008-09-10 21:10:04
dikens3
lerryc писал(а):moldcargo.md - это локальный домен, насколько я понял из конфига
Я тоже так понял из приведённого автором конфига и лога.
domainlist local_domains = ${lookup mysql{SELECT `domain` FROM `mail` WHERE `domain`='${domain}'}} : localhost : mail.moldcargo.md : moldcargo.md
>>> check domains = !+local_domains
>>> gmail.com in " : localhost : mail.moldcargo.md : moldcargo.md"? no (end of list)
Обратите внимание на сообщение от lerryc.
P.S. Почта для root доставляться не будет, делайте алиас.
Re: Mainlog от Exim'a
Добавлено: 2008-09-11 9:20:06
Владимир
rcpt to:<
tv.vldmr@gmail.com> твой экзим обслуживает домен gmail.com?!
moldcargo.md - это чей домен?
дык, здесь ступил, думал можно послать на внешний ящик.
moldcargo.md - домен, который обслуживает данный сервер.
===
По поводу аккаунта
root@moldcargo.md = такого аккаунта в БД юзеров изначально не было и сейчас нет.
В алиасах прописал : root :
root@moldcargo.md
= но этим не решил проблему появления в логах сообщений типа :
Код: Выделить всё
2008-09-10 14:20:02 1KdNju-000N9r-Rb <= root@moldcargo.md U=root P=local S=738 from <root@moldcargo.md> for root
2008-09-10 14:20:02 1KdNju-000N9r-Rb ** root@moldcargo.md: Unrouteable address
2008-09-10 14:20:02 1KdNju-000NA4-UT <= <> R=1KdNju-000N9r-Rb U=mailnull P=local S=1538 from <> for root@moldcargo.md
2008-09-10 14:20:02 1KdNju-000NA4-UT ** root@moldcargo.md: Unrouteable address
2008-09-10 14:20:02 1KdNju-000NA4-UT Frozen (delivery error message)
вопрос в том, с какого бодуна спустя год ..захотелось "стучаться рутом" аккаунтом, которого вообще не существует и... в продолжение, как заставить не стучать его (в алиасах прописал выше, как советовал lerryc, но так и не перестало каждые 10 минут появлятся в логах сообщение ... от
root@moldcargo.md
Исходя из того, что аккаунта
root@moldcargo.md нет, то и не получается авторизоваться, но не решением же будет создать такого юзера в бд?!
