Автор: Sergey21102
Дата сообщения: 04.03.2013 18:00
столкнулся с интересной проблемой, один из пользователей не может перенаправить пришедшее ему извне письмо, пишет SEND - Сервер сообщает об ошибке: <DNva@tyyyyr.ru>, Authentication does not match this account. tyyyyr.ru домен с которого пришло письмо. Стал разбираться, выяснилось что у его соседа все работает, разница между ними в версии Bat-a, у обратившегося ко мне пользователя версия 5.2, а у его соседа 3.99.29.
На виртуальной машине накатываю The Bat 3.99.29 проверяю, работает
[more]
Mon 2013-03-04 18:56:46: [632850:3] Session 632850; child 3
Mon 2013-03-04 18:56:46: [632850:3] Accepting SMTP connection from [192.168.18.28:2370] to [192.168.18.6:25]
Mon 2013-03-04 18:56:46: [632850:3] --> 220 mail.kxxxxxxo.com ESMTP MDaemon 12.5.8; Mon, 04 Mar 2013 18:56:46 +0400
Mon 2013-03-04 18:56:46: [632850:3] <-- EHLO [192.168.18.28]
Mon 2013-03-04 18:56:46: [632850:3] --> 250-mail.kxxxxxxo.com Hello [192.168.18.28], pleased to meet you
Mon 2013-03-04 18:56:46: [632850:3] --> 250-ETRN
Mon 2013-03-04 18:56:46: [632850:3] --> 250-AUTH LOGIN CRAM-MD5 PLAIN
Mon 2013-03-04 18:56:46: [632850:3] --> 250-8BITMIME
Mon 2013-03-04 18:56:46: [632850:3] --> 250-STARTTLS
Mon 2013-03-04 18:56:46: [632850:3] --> 250 SIZE
Mon 2013-03-04 18:56:46: [632850:3] <-- AUTH CRAM-MD5
Mon 2013-03-04 18:56:46: [632850:3] --> 334 PE1EQUVNT04tRjIwMTMwMzA0MTg1Ni5BQTU2NDYyNTBNRDAwMTJAa3VudHNldm8uY29tPg==
Mon 2013-03-04 18:56:46: [632850:3] <-- dGVzdDEgZGMzMjQzNDIxOGNlZGFjZDFjZWMyYzI2OTZkOTkxNTA=
Mon 2013-03-04 18:56:46: [632850:3] --> 235 Authentication successful
Mon 2013-03-04 18:56:46: [632850:3] Authenticated as test1@kxxxxxxo.com
Mon 2013-03-04 18:56:46: [632850:3] <-- MAIL FROM:<test1@kxxxxxxo.com> SIZE=160441
Mon 2013-03-04 18:56:46: [632850:3] --> 250 <test1@kxxxxxxo.com>, Sender ok
Mon 2013-03-04 18:56:46: [632850:3] <-- RCPT TO:<Fich@kxxxxxxo.com>
Mon 2013-03-04 18:56:46: [632850:3] --> 250 <Fich@kxxxxxxo.com>, Recipient ok
Mon 2013-03-04 18:56:46: [632850:3] <-- DATA
Mon 2013-03-04 18:56:46: [632850:3] Creating temp file (SMTP): c:\mdaemon\temp\md50000102842.tmp
Mon 2013-03-04 18:56:46: [632850:3] --> 354 Enter mail, end with <CRLF>.<CRLF>
Mon 2013-03-04 18:56:46: [632850:3] Message size: 160443 bytes
Mon 2013-03-04 18:56:46: [632850:3] Passing message through AntiVirus (Size: 160443)...
Mon 2013-03-04 18:56:46: [632850:3] * Сообщение чистое (вирусов не обнаружено)
Mon 2013-03-04 18:56:46: [632850:3] ---- End AntiVirus results
Mon 2013-03-04 18:56:46: [632850:3] Создание сообщения successful: c:\mdaemon\inbound\md50005630115.msg
Mon 2013-03-04 18:56:46: [632850:3] --> 250 Ok, message saved <Message-ID: 1682148540.20130304185638@kxxxxxxo.com>
Mon 2013-03-04 18:56:46: [632850:3] <-- RSET
Mon 2013-03-04 18:56:46: [632850:3] --> 250 RSET? Well, ok.
Mon 2013-03-04 18:56:46: [632850:3] <-- QUIT
Mon 2013-03-04 18:56:46: [632850:3] --> 221 See ya in cyberspace
Mon 2013-03-04 18:56:46: [632850:3] SMTP session successful (Bytes in/out: 160638/577)
[/more]
поверх третий версии накатываю 4.2.6, проверяю, работает
[more]
Mon 2013-03-04 18:59:43: [633146:2] Session 633146; child 2
Mon 2013-03-04 18:59:43: [633146:2] Accepting SMTP connection from [192.168.18.28:2374] to [192.168.18.6:25]
Mon 2013-03-04 18:59:43: [633146:2] --> 220 mail.kxxxxxxo.com ESMTP MDaemon 12.5.8; Mon, 04 Mar 2013 18:59:43 +0400
Mon 2013-03-04 18:59:43: [633146:2] <-- EHLO [192.168.18.28]
Mon 2013-03-04 18:59:43: [633146:2] --> 250-mail.kxxxxxxo.com Hello [192.168.18.28], pleased to meet you
Mon 2013-03-04 18:59:43: [633146:2] --> 250-ETRN
Mon 2013-03-04 18:59:43: [633146:2] --> 250-AUTH LOGIN CRAM-MD5 PLAIN
Mon 2013-03-04 18:59:43: [633146:2] --> 250-8BITMIME
Mon 2013-03-04 18:59:43: [633146:2] --> 250-STARTTLS
Mon 2013-03-04 18:59:43: [633146:2] --> 250 SIZE
Mon 2013-03-04 18:59:43: [633146:2] <-- AUTH CRAM-MD5
Mon 2013-03-04 18:59:43: [633146:2] --> 334 PE1EQUVNT04tRjIwMTMwMzA0MTg1OS5BQTU5NDM5M01EMDAxMkBrdW50c2V2by5jb20+
Mon 2013-03-04 18:59:43: [633146:2] <-- dGVzdDEgNDg5NzlmNTUxZjQ4ZTBjYTc3MTBiYTc1MGNmMWQ5NzI=
Mon 2013-03-04 18:59:43: [633146:2] --> 235 Authentication successful
Mon 2013-03-04 18:59:43: [633146:2] Authenticated as test1@kxxxxxxo.com
Mon 2013-03-04 18:59:43: [633146:2] <-- MAIL FROM:<test1@kxxxxxxo.com> SIZE=137393
Mon 2013-03-04 18:59:43: [633146:2] --> 250 <test1@kxxxxxxo.com>, Sender ok
Mon 2013-03-04 18:59:43: [633146:2] <-- RCPT TO:<Fich@kxxxxxxo.com>
Mon 2013-03-04 18:59:43: [633146:2] --> 250 <Fich@kxxxxxxo.com>, Recipient ok
Mon 2013-03-04 18:59:43: [633146:2] <-- DATA
Mon 2013-03-04 18:59:43: [633146:2] Creating temp file (SMTP): c:\mdaemon\temp\md50000102898.tmp
Mon 2013-03-04 18:59:43: [633146:2] --> 354 Enter mail, end with <CRLF>.<CRLF>
Mon 2013-03-04 18:59:43: [633146:2] Message size: 137395 bytes
Mon 2013-03-04 18:59:43: [633146:2] Passing message through AntiVirus (Size: 137395)...
Mon 2013-03-04 18:59:43: [633146:2] * Сообщение чистое (вирусов не обнаружено)
Mon 2013-03-04 18:59:43: [633146:2] ---- End AntiVirus results
Mon 2013-03-04 18:59:43: [633146:2] Создание сообщения successful: c:\mdaemon\inbound\md50005630131.msg
Mon 2013-03-04 18:59:43: [633146:2] --> 250 Ok, message saved <Message-ID: 686380581.20130304185935@kxxxxxxo.com>
Mon 2013-03-04 18:59:43: [633146:2] <-- RSET
Mon 2013-03-04 18:59:43: [633146:2] --> 250 RSET? Well, ok.
Mon 2013-03-04 18:59:43: [633146:2] <-- QUIT
Mon 2013-03-04 18:59:43: [633146:2] --> 221 See ya in cyberspace
Mon 2013-03-04 18:59:43: [633146:2] SMTP session successful (Bytes in/out: 137588/572)[/more]
Дальше, опять поверх накатываю версию 5.3.8, не работает...
[more]
Mon 2013-03-04 19:13:59: [634432:3] Session 634432; child 3
Mon 2013-03-04 19:13:59: [634432:3] Accepting SMTP connection from [192.168.18.28:1072] to [192.168.18.6:25]
Mon 2013-03-04 19:13:59: [634432:3] --> 220 mail.kxxxxxxo.com ESMTP MDaemon 12.5.8; Mon, 04 Mar 2013 19:13:59 +0400
Mon 2013-03-04 19:13:59: [634432:3] <-- EHLO [192.168.18.28]
Mon 2013-03-04 19:13:59: [634432:3] --> 250-mail.kxxxxxxo.com Hello [192.168.18.28], pleased to meet you
Mon 2013-03-04 19:13:59: [634432:3] --> 250-ETRN
Mon 2013-03-04 19:13:59: [634432:3] --> 250-AUTH LOGIN CRAM-MD5 PLAIN
Mon 2013-03-04 19:13:59: [634432:3] --> 250-8BITMIME
Mon 2013-03-04 19:13:59: [634432:3] --> 250-STARTTLS
Mon 2013-03-04 19:13:59: [634432:3] --> 250 SIZE
Mon 2013-03-04 19:13:59: [634432:3] <-- AUTH CRAM-MD5
Mon 2013-03-04 19:13:59: [634432:3] --> 334 PE1EQUVNT04tRjIwMTMwMzA0MTkxMy5BQTEzNTk5M01EMDAxMkBrdW50c2V2by5jb20+
Mon 2013-03-04 19:13:59: [634432:3] <-- dGVzdDEgZTgwNzMzMmQzYWEyNThiZGRiNmM2NjE2NzFhNmU0MDA=
Mon 2013-03-04 19:13:59: [634432:3] --> 235 Authentication successful
Mon 2013-03-04 19:13:59: [634432:3] Authenticated as test1@kxxxxxxo.com
Mon 2013-03-04 19:13:59: [634432:3] <-- MAIL FROM:<DNva@tyyyyr.ru> SIZE=115708
Mon 2013-03-04 19:13:59: [634432:3] --> 530 <DNva@tyyyyr.ru>, Authentication does not match this account
Mon 2013-03-04 19:13:59: [634432:3] <-- RSET
Mon 2013-03-04 19:13:59: [634432:3] --> 250 RSET? Well, ok.
Mon 2013-03-04 19:13:59: [634432:3] <-- RSET
Mon 2013-03-04 19:13:59: [634432:3] --> 250 RSET? Well, ok.
Mon 2013-03-04 19:13:59: [634432:3] <-- QUIT
Mon 2013-03-04 19:13:59: [634432:3] --> 221 See ya in cyberspace
Mon 2013-03-04 19:13:59: [634432:3] SMTP session terminated (Bytes in/out: 159/471)[/more]
Причина видна сразу, перенаправляемое письмо Bat пятой версии пытается отправить от имени автора письма DNva@tyyyyr.ru а не от локального пользователя test1@kxxxxxxo.com. Темку просмотрел, но ничего подобного не встретилось...
Как решить данную проблему?
PS: на моем почтовом сервере для SMTP включена авторизация