EXIM, sendmail, postfix, Dovecot и прочие. Решение проблем связанных с работой электронной почты
Модератор: xM
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
ScareCrow
- рядовой
- Сообщения: 19
- Зарегистрирован: 2007-05-24 8:40:38
-
Контактная информация:
Непрочитанное сообщение
ScareCrow » 2007-08-24 13:44:02
Код: Выделить всё
[root@unknown-1997 exim]# ./exim -v -d+all stayeronglass@mail.ru
14:05:54 2712 Exim version 4.67 uid=0 gid=0 pid=2712 D=fffdffff
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.27: (April 25, 2005)
Support for: crypteq iconv() move_frozen_messages Content_Scanning
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
Authenticators: cram_md5 cyrus_sasl plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
14:05:54 2712 changed uid/gid: forcing real = effective
14:05:54 2712 uid=0 gid=0 pid=2712
14:05:54 2712 auxiliary group list: <none>
14:05:54 2712 seeking password data for user "root": cache not available
14:05:54 2712 getpwnam() succeeded uid=0 gid=0
14:05:54 2712 configuration file is /apache/mail.livealbum.ru/exim/exim.conf
14:05:54 2712 log selectors = 00000ffc 00212001
14:05:54 2712 cwd=/apache/mail.livealbum.ru/exim 4 args: ./exim -v -d+all stayeronglass@mail.ru
14:05:54 2712 trusted user
14:05:54 2712 admin user
14:05:54 2712 changed uid/gid: privilege not needed
14:05:54 2712 uid=500 gid=500 pid=2712
14:05:54 2712 auxiliary group list: 500 508
14:05:54 2712 originator: uid=0 gid=0 login=root name=root
14:05:54 2712 sender address = root@livealbum.ru
14:05:54 2712 set_process_info: 2712 accepting a local non-SMTP message from <root@livealbum.ru>
14:05:54 2712 Sender: root@livealbum.ru
14:05:54 2712 Recipients:
14:05:54 2712 stayeronglass@mail.ru
14:05:54 2712 search_tidyup called
From: webmaster@livealbum.ru
To: stayeronglass@mali.ru
Subject : test
zsgazergaerg
aergaerg
14:06:36 2712 >>Headers received:
14:06:36 2712 From: webmaster@livealbum.ru
14:06:36 2712 To: stayeronglass@mali.ru
14:06:36 2712 Subject : test
14:06:36 2712
14:06:36 2712 rewrite_one_header: type=F:
14:06:36 2712 From: webmaster@livealbum.ru
14:06:36 2712 rewrite_one_header: type=T:
14:06:36 2712 To: stayeronglass@mali.ru
14:06:36 2712 search_tidyup called
14:06:36 2712 >>Headers after rewriting and local additions:
14:06:36 2712 F From: webmaster@livealbum.ru
14:06:36 2712 T To: stayeronglass@mali.ru
14:06:36 2712 Subject : test
14:06:36 2712 I Message-Id: <E1IOW38-0000hk-Br@livealbum.ru>
14:06:36 2712 Date: Fri, 24 Aug 2007 14:06:36 +0400
14:06:36 2712
aergaer
14:06:38 2712 Data file written for message 1IOW38-0000hk-Br
14:06:38 2712 expanding: ${tod_full}
14:06:38 2712 result: Fri, 24 Aug 2007 14:06:38 +0400
14:06:38 2712 condition: def:sender_rcvhost
14:06:38 2712 result: false
14:06:38 2712 expanding: from $sender_rcvhost
14:06:38 2712
14:06:38 2712 result: from
14:06:38 2712
14:06:38 2712 skipping: result is not used
14:06:38 2712 condition: def:sender_ident
14:06:38 2712 result: true
14:06:38 2712 expanding: $sender_ident
14:06:38 2712 result: root
14:06:38 2712 expanding: from ${quote_local_part:$sender_ident}
14:06:38 2712 result: from root
14:06:38 2712 condition: def:sender_helo_name
14:06:38 2712 result: false
14:06:38 2712 expanding: (helo=$sender_helo_name)
14:06:38 2712
14:06:38 2712 result: (helo=)
14:06:38 2712
14:06:38 2712 skipping: result is not used
14:06:38 2712 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
14:06:38 2712 }}
14:06:38 2712 result: from root
14:06:38 2712 condition: def:received_protocol
14:06:38 2712 result: true
14:06:38 2712 expanding: with $received_protocol
14:06:38 2712 result: with local
14:06:38 2712 condition: def:sender_address
14:06:38 2712 result: true
14:06:38 2712 expanding: (envelope-from <$sender_address>)
14:06:38 2712
14:06:38 2712 result: (envelope-from <root@livealbum.ru>)
14:06:38 2712
14:06:38 2712 condition: def:received_for
14:06:38 2712 result: true
14:06:38 2712 expanding:
14:06:38 2712 for $received_for
14:06:38 2712 result:
14:06:38 2712 for stayeronglass@mail.ru
14:06:38 2712 expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
14:06:38 2712 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
14:06:38 2712 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
14:06:38 2712 ${if def:sender_address {(envelope-from <$sender_address>)
14:06:38 2712 }}id $message_exim_id${if def:received_for {
14:06:38 2712 for $received_for}}
14:06:38 2712 result: Received: from root by livealbum.ru with local (Exim 4.67)
14:06:38 2712 (envelope-from <root@livealbum.ru>)
14:06:38 2712 id 1IOW38-0000hk-Br
14:06:38 2712 for stayeronglass@mail.ru
14:06:38 2712 >>Generated Received: header line
14:06:38 2712 P Received: from root by livealbum.ru with local (Exim 4.67)
14:06:38 2712 (envelope-from <root@livealbum.ru>)
14:06:38 2712 id 1IOW38-0000hk-Br
14:06:38 2712 for stayeronglass@mail.ru; Fri, 24 Aug 2007 14:06:38 +0400
14:06:38 2712 calling local_scan(); timeout=300
14:06:38 2712 local_scan() returned 0 NULL
14:06:38 2712 expanding: ${tod_full}
14:06:38 2712 result: Fri, 24 Aug 2007 14:06:38 +0400
14:06:38 2712 Writing spool header file
14:06:38 2712 Size of headers = 330
14:06:38 2712 LOG: MAIN
14:06:38 2712 <= root@livealbum.ru U=root P=local S=361
14:06:38 2712 search_tidyup called
14:06:38 2718 exec /apache/mail.livealbum.ru/exim/exim -d=0xfffdffff -Mc 1IOW38-0000hk-Br
14:06:38 2712 search_tidyup called
14:06:38 2712 >>>>>>>>>>>>>>>> Exim pid=2712 terminating with rc=0 >>>>>>>>>>>>
в логе пишет
2007-08-24 14:30:56 1IOWRK-0000mm-5w ==
stayeronglass@mail.ru R=dnslookup T=remote_smtp defer (-46): SMTP error from remote mail server after end of data: host mxs.mail.ru [194.67.23.20]: 421 Try again later
что это и как лечить?
ScareCrow
-
Хостинг HostFood.ru
-
Хостинг HostFood.ru
Тарифы на хостинг в России, от 12 рублей:
https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.:
https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах:
https://www.host-food.ru/domains/
-
ScareCrow
- рядовой
- Сообщения: 19
- Зарегистрирован: 2007-05-24 8:40:38
-
Контактная информация:
Непрочитанное сообщение
ScareCrow » 2007-08-24 13:49:51
Код: Выделить всё
[root@unknown-1997 exim]# ./exim -v -d+all stayeronglass@mail.ru
14:46:09 3342 Exim version 4.67 uid=0 gid=0 pid=3342 D=fffdffff
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.27: (April 25, 2005)
Support for: crypteq iconv() move_frozen_messages Content_Scanning
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz passwd
Authenticators: cram_md5 cyrus_sasl plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
14:46:09 3342 changed uid/gid: forcing real = effective
14:46:09 3342 uid=0 gid=0 pid=3342
14:46:09 3342 auxiliary group list: <none>
14:46:09 3342 seeking password data for user "root": cache not available
14:46:09 3342 getpwnam() succeeded uid=0 gid=0
14:46:09 3342 configuration file is /apache/mail.livealbum.ru/exim/exim.conf
14:46:09 3342 log selectors = 00000ffc 00212001
14:46:09 3342 cwd=/apache/mail.livealbum.ru/exim 4 args: ./exim -v -d+all stayeronglass@mail.ru
14:46:09 3342 trusted user
14:46:09 3342 admin user
14:46:09 3342 changed uid/gid: privilege not needed
14:46:09 3342 uid=500 gid=500 pid=3342
14:46:09 3342 auxiliary group list: 500 508
14:46:09 3342 originator: uid=0 gid=0 login=root name=root
14:46:09 3342 sender address = root@livealbum.ru
14:46:09 3342 set_process_info: 3342 accepting a local non-SMTP message from <root@livealbum.ru>
14:46:09 3342 Sender: root@livealbum.ru
14:46:09 3342 Recipients:
14:46:09 3342 stayeronglass@mail.ru
14:46:09 3342 search_tidyup called
From: webmaster@livealbum.ru
To: stayeronglass@mail.ru
Subject: test
zgaegaehaseh
srthserthsrth
14:47:18 3342 >>Headers received:
14:47:18 3342 From: webmaster@livealbum.ru
14:47:18 3342 To: stayeronglass@mail.ru
14:47:18 3342 Subject: test
14:47:18 3342
14:47:18 3342 rewrite_one_header: type=F:
14:47:18 3342 From: webmaster@livealbum.ru
14:47:18 3342 rewrite_one_header: type=T:
14:47:18 3342 To: stayeronglass@mail.ru
14:47:18 3342 search_tidyup called
14:47:18 3342 >>Headers after rewriting and local additions:
14:47:18 3342 F From: webmaster@livealbum.ru
14:47:18 3342 T To: stayeronglass@mail.ru
14:47:18 3342 Subject: test
14:47:18 3342 I Message-Id: <E1IOWg5-0000ru-Fc@livealbum.ru>
14:47:18 3342 Date: Fri, 24 Aug 2007 14:47:18 +0400
14:47:18 3342
14:47:29 3342 Data file written for message 1IOWg5-0000ru-Fc
14:47:29 3342 expanding: ${tod_full}
14:47:29 3342 result: Fri, 24 Aug 2007 14:47:29 +0400
14:47:29 3342 condition: def:sender_rcvhost
14:47:29 3342 result: false
14:47:29 3342 expanding: from $sender_rcvhost
14:47:29 3342
14:47:29 3342 result: from
14:47:29 3342
14:47:29 3342 skipping: result is not used
14:47:29 3342 condition: def:sender_ident
14:47:29 3342 result: true
14:47:29 3342 expanding: $sender_ident
14:47:29 3342 result: root
14:47:29 3342 expanding: from ${quote_local_part:$sender_ident}
14:47:29 3342 result: from root
14:47:29 3342 condition: def:sender_helo_name
14:47:29 3342 result: false
14:47:29 3342 expanding: (helo=$sender_helo_name)
14:47:29 3342
14:47:29 3342 result: (helo=)
14:47:29 3342
14:47:29 3342 skipping: result is not used
14:47:29 3342 expanding: ${if def:sender_ident {from ${quote_local_part:$sender
_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
14:47:29 3342 }}
14:47:29 3342 result: from root
14:47:29 3342 condition: def:received_protocol
14:47:29 3342 result: true
14:47:29 3342 expanding: with $received_protocol
14:47:29 3342 result: with local
14:47:29 3342 condition: def:sender_address
14:47:29 3342 result: true
14:47:29 3342 expanding: (envelope-from <$sender_address>)
14:47:29 3342
14:47:29 3342 result: (envelope-from <root@livealbum.ru>)
14:47:29 3342
14:47:29 3342 condition: def:received_for
14:47:29 3342 result: true
14:47:29 3342 expanding:
14:47:29 3342 for $received_for
14:47:29 3342 result:
14:47:29 3342 for stayeronglass@mail.ru
14:47:29 3342 expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhos
t
14:47:29 3342 }{${if def:sender_ident {from ${quote_local_part:$sender_ident}
}}${if def:sender_helo_name {(helo=$sender_helo_name)
14:47:29 3342 }}}}by $primary_hostname ${if def:received_protocol {with $recei
ved_protocol}} (Exim $version_number)
14:47:29 3342 ${if def:sender_address {(envelope-from <$sender_address>)
14:47:29 3342 }}id $message_exim_id${if def:received_for {
14:47:29 3342 for $received_for}}
14:47:29 3342 result: Received: from root by livealbum.ru with local (Exim 4
.67)
14:47:29 3342 (envelope-from <root@livealbum.ru>)
14:47:29 3342 id 1IOWg5-0000ru-Fc
14:47:29 3342 for stayeronglass@mail.ru
14:47:29 3342 >>Generated Received: header line
14:47:29 3342 P Received: from root by livealbum.ru with local (Exim 4.67)
14:47:29 3342 (envelope-from <root@livealbum.ru>)
14:47:29 3342 id 1IOWg5-0000ru-Fc
14:47:29 3342 for stayeronglass@mail.ru; Fri, 24 Aug 2007 14:47:29 +0400
14:47:29 3342 calling local_scan(); timeout=300
14:47:29 3342 local_scan() returned 0 NULL
14:47:29 3342 expanding: ${tod_full}
14:47:29 3342 result: Fri, 24 Aug 2007 14:47:29 +0400
14:47:29 3342 Writing spool header file
14:47:29 3342 Size of headers = 329
14:47:29 3342 LOG: MAIN
14:47:29 3342 <= root@livealbum.ru U=root P=local S=357
14:47:29 3342 search_tidyup called
14:47:29 3356 exec /apache/mail.livealbum.ru/exim/exim -d=0xfffdffff -Mc 1IOWg5
-0000ru-Fc
14:47:29 3342 search_tidyup called
14:47:29 3342 >>>>>>>>>>>>>>>> Exim pid=3342 terminating with rc=0 >>>>>>>>>>>>
>>>>
[root@unknown-1997 exim]#
Код: Выделить всё
2007-08-24 14:47:33 1IOWg5-0000ru-Fc == stayeronglass@mail.ru R=dnslookup T=remote_smtp defer (-46): SMTP error from remote mail server after end of data: host mxs.mail.ru [194.67.23.20]: 421 Try again later
это те отладочные логи или не те?
ScareCrow
-
dikens3
- подполковник
- Сообщения: 4856
- Зарегистрирован: 2006-09-06 16:24:08
- Откуда: Нижний Новгород
-
Контактная информация:
Непрочитанное сообщение
dikens3 » 2007-08-24 17:32:35
Чё не так то, я не пойму?
Вот мой лог:
Код: Выделить всё
exim -bt stayeronglass@mail.ru
stayeronglass@mail.ru
router = dnslookup, transport = remote_smtp
host mxs.mail.ru [194.67.23.20] MX=10
Переделай свой лог на вывод в файл.
Код: Выделить всё
(echo "EHLO 127.0.0.1"; echo "MAIL FROM: user@domain.ru"; echo "RCPT TO: user@mail.ru"; echo "QUIT";) | exim -d -bhc ЛОК.IP-Адрес > testlog 2>&1
И потом testlog смотри.
P.S.
421 Try again later не парься над этой строкой, просто GREYLIST наверное у mail.ru сработал.
Лучше установить FreeBSD, чем потратить 30 лет на Linux'ы и выяснить какой из них хуже.
dikens3
-
100kg
- ст. сержант
- Сообщения: 393
- Зарегистрирован: 2006-05-18 14:01:32
Непрочитанное сообщение
100kg » 2007-08-25 0:10:26
у меня было тоже самое! но они еше отсылали линк по каторому можно было вбить свои IP после чего их smtp уже пропускал почту!
100kg