Exim отправляет почту не на все домены

EXIM, sendmail, postfix, Dovecot и прочие. Решение проблем связанных с работой электронной почты

Модератор: xM

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
boss_aaa
проходил мимо
Сообщения: 4
Зарегистрирован: 2010-12-08 16:06:57

Exim отправляет почту не на все домены

Непрочитанное сообщение boss_aaa » 2011-01-14 13:15:40

Всем привет. Я пользуюсь ISPmanage, стоял СЕНДМАИЛ сказали поставить Exim и протестировать его. Данный сервак сейчас находится в внутренней сети. Письма по локалки ходят, также письма отправлял на ukr.net, gmail.com, yandex.ru. На ukr.net письма не приходят, от gmail.com аутлут и только на andex.ru письма приходят. ТАкже когда я отвечаю на письмо, но письмо не приходит.
gmail.com аутлут

Return-path: <>
Envelope-to: уууу@ууууу.org.ua
Delivery-date: Thu, 13 Jan 2011 17:16:16 +0200
Received: from mailnull by dl1.иииииииa.biz with local (Exim 4.72 (FreeBSD))
id 1PdOuO-0003Rb-CZ
for уууууу@уууууу.org.ua; Thu, 13 Jan 2011 17:16:16 +0200
Date: Thu, 13 Jan 2011 17:16:16 +0200
Message-Id: <E1PdOuO-0003Rb-CZ@dl1.ииииииииии.biz>
X-Failed-Recipients: ааааааa@gmail.com
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@dl1.capcipa.biz>
To: уууууууу@уууу.org.ua
Subject: Mail delivery failed: returning message to sender

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

аааааааa@gmail.com
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [74.125.43.27]:
550-5.7.1 [95.133.132.10] The IP you're using to send mail is not authorized to
550-5.7.1 send email directly to our servers. Please use the SMTP relay at your
550-5.7.1 service provider instead. Learn more at
550 5.7.1 http://mail.google.com/support/bin/answ ... swer=10336 rc12si3296839bkb.19

------ This is a copy of the message, including all the headers. ------

Return-path: <уууууу@уууу.org.ua>
Received: from [192.168.0.121]
by dl1.capcipa.biz with esmtpa (Exim 4.72 (FreeBSD))
(envelope-from <ууууу@ууууу.org.ua>)
id 1PdOu7-0003RX-8k
for аааааааa@gmail.com; Thu, 13 Jan 2011 17:15:59 +0200
Date: Thu, 13 Jan 2011 17:14:25 +0200
From: уууу@уууу.org.ua
Organization: уууууу@уууу.org.ua
X-Priority: 3 (Normal)
Message-ID: <35511857.20110113171425@уууу.org.ua>
To: аааа@gmail.com
Subject: 1714
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

=C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Durantakilla.

1714

--=20
=D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
Уууууу mailto:ууууу@уууу.org.ua



Exim config (/usr/local/etc/exim)

FREEBSD = yes
PROCMAIL_ENABLE = yes
SPAMCBIN=__ISP_SPAMCBIN__
EXIMBIN=/usr/local/sbin/exim
log_selector = \
+all_parents \
+lost_incoming_connection \
+received_sender \
+received_recipients \
+tls_cipher +tls_peerdn \
+smtp_confirmation \
+smtp_syntax_error \
+smtp_protocol_error

# CONFDIR=__ISP_CONFDIR__
# daemon_smtp_port = 25:465
# tls_certificate = CONFDIR/certificate.crt
# tls_privatekey = CONFDIR/certificate.key
# tls_on_connect_ports = 465

.ifdef MAILMAN_ENABLE
MAILMAN_HOME=__MAILMAN_HOME__
MAILMAN_WRAP=__MAILMAN_WRAP__
MAILMAN_USER=__MAILMAN_USER__
MAILMAN_GROUP=__MAILMAN_GROUP__
.endif

trusted_groups = mgrsecure
trusted_users = www

domainlist local_domains = lsearch;/usr/local/etc/exim/domains
domainlist dummy_domains =
hostlist relay_from_hosts =127.0.0.1 : 192.168.0.0\16 :

#domainlist relay_to_domains = lsearch;/usr/local/etc/exim/domains
domainlist relay_to_domains = *
exim_user = mailnull
exim_group = mail

.ifdef VIRUS_SCAN
av_scanner = __CLAMAV_SOCKET__
.endif

never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 0s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data

begin acl
acl_check_rcpt:
accept hosts = net-lsearch;/usr/local/etc/exim/whitelist

deny hosts = net-lsearch;/usr/local/etc/exim/blacklist
message = $host_data

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
verify = recipient
domains = +local_domains

require verify = sender

.ifdef VIRUS_SCAN
warn set acl_m3 = no

warn set acl_m3 = ok
condition = ${lookup{$domain}lsearch{__ANTIVIRUS_DOMAINS__} {yes}{no}}
control = fakedefer

warn set acl_m3 = no
condition = ${lookup{$domain}lsearch{__ANTIVIRUS_DOMAINS__} {no}{yes}}
.endif

accept hosts = +relay_from_hosts
control = submission

accept authenticated = *
condition = ${if eq{${extract{5}{:}{${lookup{$authenticated_id}lsearch{/usr/local/etc/exim/passwd}}}}}{no} {yes}{no}}
condition = ${if eq{${extract{3}{:}{${lookup{${domain:$authenticated_id}}lsearch{/usr/local/etc/exim/domains}}}}}{no} {yes}{no}}
control = submission/domain=

deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\\n$dnslist_text
dnslists = ${readfile {/usr/local/etc/exim/dnsblists}{:}}

require message = relay not permitted
domains = +local_domains : +relay_to_domains

require verify = recipient

.ifdef POSTGREY_SOCKET
defer log_message = greylisted host $sender_host_address
set acl_m0 = request=smtpd_access_policy\nprotocol_state=RCPT\nprotocol_name=${uc:$received_protocol}\nhelo_name=$sender_helo_name\nclient_address=$sender_host_address\nclient_name=$sender_host_name\nsender=$sender_address\nrecipient=$local_part@$domain\ninstance=$sender_host_address/$sender_address/$local_part@$domain\n\n
set acl_m0 = ${sg{${readsocket{POSTGREY_SOCKET}{$acl_m0}{5s}{}{action=DUNNO}}}{action=}{}}
message = ${sg{$acl_m0}{^\\w+\\s*}{}}
condition = ${if eq{${uc:${substr{0}{5}{$acl_m0}}}}{DEFER}{true}{false}}
.endif

accept

acl_check_data:
.ifdef VIRUS_SCAN
deny message = This message contains virus ($malware_name)
demime = *
malware = *
condition = ${if eq{$acl_m3}{ok}{yes}{no}}
.endif
accept

begin routers
dnslookup:
driver = dnslookup
domains = !+dummy_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
self = pass
no_more

disabled_domains:
driver = redirect
condition = ${extract{3}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
allow_fail = yes
data = :fail: Domain disabled
no_more

disabled_users:
driver = redirect
condition = ${extract{5}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
allow_fail = yes
data = :fail: User disabled
no_more

local_domains:
driver = redirect
data = ${quote_local_part:$local_part}@${extract{1}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
cannot_route_message = Unknown user
no_more

.ifdef SA_ENABLE
spamcheck_router:
no_verify
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck
.endif

group_aliases:
driver = redirect
data = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/aliases}}}}
condition = ${if and{\
{exists{/usr/local/etc/exim/aliases}}\
{eq {${extract{2}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/aliases}}}}} {group} }\
} {yes} {no} }
redirect_router = a_dnslookup
pipe_transport = address_pipe

aliases:
driver = redirect
data = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/aliases}}}}
condition = ${if exists{/usr/local/etc/exim/aliases} {yes} {no} }
pipe_transport = address_pipe

local_users:
driver = redirect
condition = ${lookup {$local_part@$domain} lsearch {/usr/local/etc/exim/passwd} {yes} {no} }
data = $local_part@$domain
redirect_router = autoreplay

.ifdef MAILMAN_ENABLE
mailman:
driver = accept
require_files = MAILMAN_HOME/lists/$local_part/config.pck
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : -confirm+* : -join : -leave : -owner : -request : -admin : -subscribe : -unsubscribe
transport = mailman

mailman_isp:
driver = accept
require_files = MAILMAN_HOME/lists/$local_part-$domain/config.pck
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : -confirm+* : -join : -leave : -owner : -request : -admin : -subscribe : -unsubscribe
transport = mailman_isp
.endif

catchall_for_domains:
driver = redirect
headers_add = X-redirected: yes
data = ${extract{2}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
file_transport = local_delivery

unknown_users:
driver = redirect
allow_fail = yes
data = :fail: Unknown user
no_more

autoreplay:
driver = accept
condition = ${if exists{${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}/message.txt} {yes} {no}}
retry_use_local_part
transport = address_reply
unseen

.ifdef PROCMAIL_ENABLE
procmail:
no_verify
driver = accept
transport = procmail_pipe
condition = ${if exists{${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}/.procmailrc} {yes} {no}}
transport_home_directory = ${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
.endif

localuser:
driver = accept
transport = local_delivery

# Same routers without autoreplay

a_dnslookup:
driver = dnslookup
domains = !+dummy_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
self = pass
no_more

a_disabled_domains:
driver = redirect
condition = ${extract{3}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
allow_fail = yes
data = :fail: Domain disabled
no_more

a_disabled_users:
driver = redirect
condition = ${extract{5}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
allow_fail = yes
data = :fail: User disabled
no_more

a_local_domains:
driver = redirect
data = ${quote_local_part:$local_part}@${extract{1}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
cannot_route_message = Unknown user
redirect_router = a_dnslookup
no_more

a_aliases:
driver = redirect
data = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/aliases}}}}
condition = ${if exists{/usr/local/etc/exim/aliases} {yes} {no} }
redirect_router = a_dnslookup
pipe_transport = address_pipe

.ifdef PROCMAIL_ENABLE
a_procmail:
no_verify
driver = accept
transport = procmail_pipe
condition = ${if exists{${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}/.procmailrc} {yes} {no}}
transport_home_directory = ${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
.endif

a_local_users:
driver = accept
transport = local_delivery
condition = ${lookup {$local_part@$domain} lsearch {/usr/local/etc/exim/passwd} {yes} {no} }

.ifdef MAILMAN_ENABLE
a_mailman:
driver = accept
require_files = MAILMAN_HOME/lists/$local_part/config.pck
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : -confirm+* : -join : -leave : -owner : -request : -admin : -subscribe : -unsubscribe
transport = mailman

a_mailman_isp:
driver = accept
require_files = MAILMAN_HOME/lists/$local_part-$domain/config.pck
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : -confirm+* : -join : -leave : -owner : -request : -admin : -subscribe : -unsubscribe
transport = mailman_isp
.endif

a_catchall_for_domains:
driver = redirect
headers_add = X-redirected: yes
data = ${extract{2}{:}{${lookup{$domain}lsearch{/usr/local/etc/exim/domains}}}}
file_transport = local_delivery
redirect_router = a_dnslookup

begin transports
remote_smtp:
driver = smtp

local_delivery:
driver = appendfile
file = ${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}/mbox
delivery_date_add
envelope_to_add
return_path_add
mode = 0660
quota = ${extract{3}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}M
quota_warn_threshold = 75%
use_lockfile = no
no_mode_fail_narrower
user = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
group = ${extract{2}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}

address_pipe:
driver = pipe
ignore_status
return_output
use_shell

address_reply:
driver = autoreply
headers = ${readfile{${extract{4}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}/message.txt}}
to = $sender_address

.ifdef MAILMAN_ENABLE
mailman_isp:
driver = pipe
command = MAILMAN_WRAP '${if def:local_part_suffix {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} {post}}' $local_part-$domain
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_USER
group = MAILMAN_GROUP

mailman:
driver = pipe
command = MAILMAN_WRAP '${if def:local_part_suffix {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} {post}}' $local_part
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_USER
group = MAILMAN_GROUP
.endif

.ifdef SA_ENABLE
spamcheck:
debug_print = "T: spamassassin_pipe for $local_part@$domain"
driver = pipe
command = EXIMBIN -oMr spam-scanned -bS
use_bsmtp
transport_filter = SPAMCBIN
home_directory = "/tmp"
current_directory = "/tmp"
user = mailnull
group = mail
return_fail_output
message_prefix =
message_suffix =
.endif

.ifdef PROCMAIL_ENABLE
procmail_pipe:
driver = pipe
environment = "HOME=$home"
command = "/usr/local/bin/procmail HOME=$home"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
group = ${extract{2}{:}{${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/passwd}}}}
.endif

begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h

begin rewrite
.ifdef MAILMAN_ENABLE
\N^(.*<)?([^<]*)@([^>]*).*$\N "${if exists{MAILMAN_HOME/lists/${sg{$2}{-$3.*}{-$3}}/config.pck} {${sg{$0} {-$3} {}}} {$0} }" S
\N^(.*<)?([^<]*)@([^>]*).*$\N "${if exists{MAILMAN_HOME/lists/${sg{$2}{-$3.*}{-$3}}/config.pck} {${sg{$0} {-$3} {}}} {$0} }"
.endif

begin authenticators


cram:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${extract {6} {:} {${lookup{$1}lsearch{/usr/local/etc/exim/passwd}}}}
server_set_id = $1


plain:
driver = plaintext
public_name = PLAIN
server_prompts = :
server_condition = ${if and{{!eq{$3}{}} {eq {$3} {${extract {6} {:} {${lookup{$2}lsearch{/usr/local/etc/exim/passwd}}}}}}} {yes} {no} }
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if and{{!eq{$2}{}} {eq {$2} {${extract {6} {:} {${lookup{$1}lsearch{/usr/local/etc/exim/passwd}}}}}}} {yes} {no} }
server_set_id = $1

Мне надо что бы на почтовый ящик уууууу@уууу.org.ua приходила и отправлялась почта как это сделать. Спасидбо.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2520 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
hizel
дядя поня
Сообщения: 9031
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение hizel » 2011-01-14 13:23:26

debian головного мозга
550-5.7.1 [95.133.132.10] The IP you're using to send mail is not authorized to
550-5.7.1 send email directly to our servers. Please use the SMTP relay at your
550-5.7.1 service provider instead. Learn more at
550 5.7.1 http://mail.google.com/support/bin/answ ... swer=10336 rc12si3296839bkb.19
какие слова не понятны?

как минимум у вас нет правильной обратной зоны(PTR)
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

boss_aaa
проходил мимо
Сообщения: 4
Зарегистрирован: 2010-12-08 16:06:57

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение boss_aaa » 2011-01-14 13:25:50

Мне это мало о чем говорит.Скажи что мне делать! И почему он почту не принимает???

Аватара пользователя
hizel
дядя поня
Сообщения: 9031
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение hizel » 2011-01-14 13:31:48

первое. прочитать что написано вверху страницы красненьким на красненьком
второе. нанять системного администратора
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

Аватара пользователя
hizel
дядя поня
Сообщения: 9031
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение hizel » 2011-01-14 13:38:39

а если нет системного администратора, проще успокоить свою почту на серверах яндекс или гугла, у них есть такая услуга, за одно от спама порежетесь
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

sasha181
сержант
Сообщения: 169
Зарегистрирован: 2008-02-04 17:02:30
Откуда: Краснодар

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение sasha181 » 2011-06-16 14:10:23

У меня такая проблема тоже возникла. Причём зек запись для основного ip есть и возвращает primary_hostname
SPF записи для доменов тоже есть . Я так понимаю гугл сверяет именно адрес отправителя. А мой сервер в этом случае выступает как релей. Конечно поведение гугла, если дествительно так, ввергает в шок :shock:

Аватара пользователя
Turbo
сержант
Сообщения: 166
Зарегистрирован: 2007-08-11 12:17:38
Откуда: Киев
Контактная информация:

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение Turbo » 2011-06-21 13:47:54

почта на одни домены уходит на другие нет. например на гугл ок а на укр.нет (или другие адреса) не ок.
тест для укр-нета

Код: Выделить всё

relay# exim -bt -d ukr-user@ukr.net
Exim version 4.72 (FreeBSD 8.1) uid=0 gid=0 pid=8208 D=fbb95cfd
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources PAM Perl Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch mysql nis nis0 passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
OpenSSL compile-time version: OpenSSL 0.9.8n 24 Mar 2010
OpenSSL runtime version: OpenSSL 0.9.8n 24 Mar 2010
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=8208
  auxiliary group list: 0
seeking password data for user "www": cache not available
getpwnam() succeeded uid=80 gid=80
seeking password data for user "mailnull": cache not available
getpwnam() succeeded uid=26 gid=26
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /usr/local/etc/exim/configure
log selectors = 00000ffc 00292001
trusted user
admin user
seeking password data for user "mailnull": cache not available
getpwnam() succeeded uid=26 gid=26
seeking password data for user "mailnull": using cached result
getpwnam() succeeded uid=26 gid=26
originator: uid=0 gid=0 login=root name=Charlie Root
sender address = root@relay.ubcua.tv
Address testing: uid=0 gid=6 euid=0 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing ukr-user@ukr.net
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering ukr-user@ukr.net
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing ukr-user@ukr.net
--------> dnslookup router <--------
local_part=ukr-user domain=ukr.net
checking domains
search_open: mysql "NULL"
search_find: file="NULL"
  key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'ukr.net'" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="NULL"
  type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'ukr.net'"
database lookup required for SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'ukr.net'
MySQL query: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'ukr.net'
MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexim user=u_vexim
MYSQL: no data found
lookup failed
search_open: mysql "NULL"
  cached open
search_find: file="NULL"
  key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'ukr.net'" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="NULL"
  type=mysql key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'ukr.net'"
database lookup required for SELECT DISTINCT alias FROM domainalias WHERE alias = 'ukr.net'
MySQL query: SELECT DISTINCT alias FROM domainalias WHERE alias = 'ukr.net'
MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexim/u_vexim
MYSQL: no data found
lookup failed
ukr.net in "@ : ubcua.tv :  : "? no (end of list)
ukr.net in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for ukr-user@ukr.net
  domain = ukr.net
DNS lookup of ukr.net (MX) succeeded
DNS lookup of mxs.ukr.net (A) succeeded
195.214.192.100 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
fully qualified name = ukr.net
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  mxs.ukr.net 195.214.192.100 MX=10
set transport remote_smtp
queued for remote_smtp transport: local_part = ukr-user
domain = ukr.net
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dnslookup router
  envelope to: ukr-user@ukr.net
  transport: remote_smtp
  host mxs.ukr.net [195.214.192.100] MX=10
ukr-user@ukr.net
  router = dnslookup, transport = remote_smtp
  host mxs.ukr.net [195.214.192.100] MX=10
search_tidyup called
close MYSQL connection: localhost:(/tmp/mysql.sock)/vexim/u_vexim
>>>>>>>>>>>>>>>> Exim pid=8208 terminating with rc=0 >>>>>>>>>>>>>>>>

при этом почтовик говорит в логах так

Код: Выделить всё

2011-06-21 13:45:42 Start queue run: pid=14567
2011-06-21 13:45:42 1QYxkp-0001Ej-Qm == ukr-user@ukr.net R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2011-06-21 13:45:42 1QYhFq-0000Mf-43 == ukr-user@ukr.net R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2011-06-21 13:45:42 1QUbZp-0003TM-Lv == ukr-user@ukr.net R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2011-06-21 13:45:42 1QYhIw-0000NH-Ev == ukr-user@ukr.net R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2011-06-21 13:45:42 1QYxVu-0000bm-0p == ukr-user@ukr.net R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2011-06-21 13:45:43 1QYxpG-0001UT-9b Completed
2011-06-21 13:45:43 End queue run: pid=14567



тест для гугл.(к ним почта уходит)

Код: Выделить всё

relay# exim -bt -d gogle-user@gmail.com
Exim version 4.72 (FreeBSD 8.1) uid=0 gid=0 pid=3605 D=fbb95cfd
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources PAM Perl Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch mysql nis nis0 passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
OpenSSL compile-time version: OpenSSL 0.9.8n 24 Mar 2010
OpenSSL runtime version: OpenSSL 0.9.8n 24 Mar 2010
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=3605
  auxiliary group list: 0
seeking password data for user "www": cache not available
getpwnam() succeeded uid=80 gid=80
seeking password data for user "mailnull": cache not available
getpwnam() succeeded uid=26 gid=26
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /usr/local/etc/exim/configure
log selectors = 00000ffc 00292001
trusted user
admin user
seeking password data for user "mailnull": cache not available
getpwnam() succeeded uid=26 gid=26
seeking password data for user "mailnull": using cached result
getpwnam() succeeded uid=26 gid=26
originator: uid=0 gid=0 login=root name=Charlie Root
sender address = root@relay.ubcua.tv
Address testing: uid=0 gid=6 euid=0 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing gogle-user@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering gogle-user@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing gogle-user@gmail.com
--------> dnslookup router <--------
local_part=gogle-user domain=gmail.com
checking domains
search_open: mysql "NULL"
search_find: file="NULL"
  key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'gmail.com'" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="NULL"
  type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'gmail.com'"
database lookup required for SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'gmail.com'
MySQL query: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'gmail.com'
MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexim user=u_vexim
MYSQL: no data found
lookup failed
search_open: mysql "NULL"
  cached open
search_find: file="NULL"
  key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'gmail.com'" partial=-1 affix=NULL starflags=0
LRU list:
internal_search_find: file="NULL"
  type=mysql key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'gmail.com'"
database lookup required for SELECT DISTINCT alias FROM domainalias WHERE alias = 'gmail.com'
MySQL query: SELECT DISTINCT alias FROM domainalias WHERE alias = 'gmail.com'
MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexim/u_vexim
MYSQL: no data found
lookup failed
gmail.com in "@ : ubcua.tv :  : "? no (end of list)
gmail.com in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for gogle-user@gmail.com
  domain = gmail.com
DNS lookup of gmail.com (MX) succeeded
DNS lookup of gmail-smtp-in.l.google.com (A) succeeded
74.125.39.27 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
DNS lookup of alt1.gmail-smtp-in.l.google.com (A) succeeded
72.14.213.27 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
DNS lookup of alt2.gmail-smtp-in.l.google.com (A) succeeded
74.125.67.27 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
DNS lookup of alt3.gmail-smtp-in.l.google.com (A) succeeded
74.125.47.27 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
DNS lookup of alt4.gmail-smtp-in.l.google.com (A) succeeded
74.125.115.27 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
fully qualified name = gmail.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  gmail-smtp-in.l.google.com 74.125.39.27 MX=5
  alt1.gmail-smtp-in.l.google.com 72.14.213.27 MX=10
  alt2.gmail-smtp-in.l.google.com 74.125.67.27 MX=20
  alt3.gmail-smtp-in.l.google.com 74.125.47.27 MX=30
  alt4.gmail-smtp-in.l.google.com 74.125.115.27 MX=40
set transport remote_smtp
queued for remote_smtp transport: local_part = gogle-user
domain = gmail.com
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dnslookup router
  envelope to: gogle-user@gmail.com
  transport: remote_smtp
  host gmail-smtp-in.l.google.com [74.125.39.27] MX=5
  host alt1.gmail-smtp-in.l.google.com [72.14.213.27] MX=10
  host alt2.gmail-smtp-in.l.google.com [74.125.67.27] MX=20
  host alt3.gmail-smtp-in.l.google.com [74.125.47.27] MX=30
  host alt4.gmail-smtp-in.l.google.com [74.125.115.27] MX=40
gogle-user@gmail.com
  router = dnslookup, transport = remote_smtp
  host gmail-smtp-in.l.google.com      [74.125.39.27]  MX=5
  host alt1.gmail-smtp-in.l.google.com [72.14.213.27]  MX=10
  host alt2.gmail-smtp-in.l.google.com [74.125.67.27]  MX=20
  host alt3.gmail-smtp-in.l.google.com [74.125.47.27]  MX=30
  host alt4.gmail-smtp-in.l.google.com [74.125.115.27] MX=40
search_tidyup called
close MYSQL connection: localhost:(/tmp/mysql.sock)/vexim/u_vexim
>>>>>>>>>>>>>>>> Exim pid=3605 terminating with rc=0 >>>>>>>>>>>>>>>>
Умное выражение лица – это еще не признак ума (Г. Горин)
мой сайт http://www.allwork.kiev.ua/

Аватара пользователя
Turbo
сержант
Сообщения: 166
Зарегистрирован: 2007-08-11 12:17:38
Откуда: Киев
Контактная информация:

Re: Exim отправляет почту не на все домены

Непрочитанное сообщение Turbo » 2011-06-21 19:45:30

про укр нет уже оказывается говорили - грейлистинг =)
http://forum.lissyara.su/viewtopic.php? ... 45&start=5
Умное выражение лица – это еще не признак ума (Г. Горин)
мой сайт http://www.allwork.kiev.ua/