проблема с отправкой писем postfix
Пользователи, просматривающие топик: none
|
Зашли как: Guest
|
Имя |
Сообщение |
<< Старые топики Новые топики >> |
|
|
проблема с отправкой писем postfix - 2011-06-15 12:47:59.240000
|
|
|
codeismy.name
Сообщений: 618
Оценки: 0
Присоединился: 2009-07-19 00:30:13.200000
|
добрый день. установил у себя на серваке постфикс.. никакие настройки не трогал. всё по дефолту стоит есдинственное что настроил это хостнэйм поставил апач и пхп как модуль, функцией mail пытаюсь отправить письмо. оно не уходит. в логах посмотрел, вот что мне возвращается от сервера это при отправке на мэил.ру This is the mail system at host livegames.net.ua.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<avengerxxx@mail.ru>: host mxs.mail.ru[94.100.176.20] said: 550 Unroutable
address (in reply to MAIL FROM command) это при отправке на мой второй сервак This is the mail system at host vika-trans.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<sergey.xxx@codeismy.name>: host mail2.hosting.ua[194.54.89.228] said: 553
sorry, your envelope sender domain must exist (#5.7.1) (in reply to RCPT TO
command) отправка идёт от имени abus@livegames.net.ua в домене все нужные MX записи есть. не пойму в чём проблема
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-15 16:10:08.303333
|
|
|
namepunk
Сообщений: 2732
Оценки: 184
Присоединился: 2009-09-15 13:35:36.866666
|
ip smtp сервера 178.213.110.20? А вообще приведи письмо полностью, не обрезая.
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-15 16:21:40.623333
|
|
|
codeismy.name
Сообщений: 618
Оценки: 0
Присоединился: 2009-07-19 00:30:13.200000
|
ипшник правельный From MAILER-DAEMON Wed Jun 15 08:58:43 2011
Return-Path: <>
X-Original-To: www-data@gameserver.donsat.tv
Delivered-To: www-data@gameserver.donsat.tv
Received: by livegames.net.ua (Postfix)
id F15E329E0066; Wed, 15 Jun 2011 08:58:42 +0000 (UTC)
Date: Wed, 15 Jun 2011 08:58:42 +0000 (UTC)
From: MAILER-DAEMON@gameserver.donsat.tv (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: www-data@gameserver.donsat.tv
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="6290629E0065.1308128322/livegames.net.ua"
Message-Id: <20110615085842.F15E329E0066@livegames.net.ua>
This is a MIME-encapsulated message.
--6290629E0065.1308128322/livegames.net.ua
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host livegames.net.ua.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<sergey.androsov@codeismy.name>: host mail2.hosting.ua[194.54.89.228] said: 553
sorry, your envelope sender domain must exist (#5.7.1) (in reply to RCPT TO
command)
--6290629E0065.1308128322/livegames.net.ua
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; livegames.net.ua
X-Postfix-Queue-ID: 6290629E0065
X-Postfix-Sender: rfc822; www-data@gameserver.donsat.tv
Arrival-Date: Wed, 15 Jun 2011 08:58:37 +0000 (UTC)
Final-Recipient: rfc822; sergey.androsov@codeismy.name
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail2.hosting.ua
Diagnostic-Code: smtp; 553 sorry, your envelope sender domain must exist
(#5.7.1)
--6290629E0065.1308128322/livegames.net.ua
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: <www-data@gameserver.donsat.tv>
Received: by livegames.net.ua (Postfix, from userid 33)
id 6290629E0065; Wed, 15 Jun 2011 08:58:37 +0000 (UTC)
To: sergey.androsov@codeismy.name
Subject: 123 321 test
X-PHP-Originating-Script: 1000:mailtest.php
From: info@livegames.net.ua
Message-Id: <20110615085837.6290629E0065@livegames.net.ua>
Date: Wed, 15 Jun 2011 08:58:37 +0000 (UTC)
this is a test
--6290629E0065.1308128322/livegames.net.ua--
хм.. кажется понял в чём дело.. почемуто www-data@gameserver.donsat.tv подставляется.. не могу понять откуда берётся этот имейл
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-15 16:24:32.606666
|
|
|
codeismy.name
Сообщений: 618
Оценки: 0
Присоединился: 2009-07-19 00:30:13.200000
|
вот ещё одно отправил это лог мэил деливери From MAILER-DAEMON Wed Jun 15 12:23:05 2011
Return-Path: <>
X-Original-To: www-data@gameserver.donsat.tv
Delivered-To: www-data@gameserver.donsat.tv
Received: by livegames.net.ua (Postfix)
id CDC5829E007D; Wed, 15 Jun 2011 12:23:05 +0000 (UTC)
Date: Wed, 15 Jun 2011 12:23:05 +0000 (UTC)
From: MAILER-DAEMON@gameserver.donsat.tv (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: www-data@gameserver.donsat.tv
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="5F88F29E0078.1308140585/livegames.net.ua"
Message-Id: <20110615122305.CDC5829E007D@livegames.net.ua>
This is a MIME-encapsulated message.
--5F88F29E0078.1308140585/livegames.net.ua
Content-Desсriрtion: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host livegames.net.ua.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<sergey.androsov@codeismy.name>: host mail2.hosting.ua[194.54.89.228] said: 553
sorry, your envelope sender domain must exist (#5.7.1) (in reply to RCPT TO
command)
--5F88F29E0078.1308140585/livegames.net.ua
Content-Desсriрtion: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; livegames.net.ua
X-Postfix-Queue-ID: 5F88F29E0078
X-Postfix-Sender: rfc822; www-data@gameserver.donsat.tv
Arrival-Date: Wed, 15 Jun 2011 12:23:05 +0000 (UTC)
Final-Recipient: rfc822; sergey.androsov@codeismy.name
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail2.hosting.ua
Diagnostic-Code: smtp; 553 sorry, your envelope sender domain must exist
(#5.7.1)
--5F88F29E0078.1308140585/livegames.net.ua
Content-Desсriрtion: Undelivered Message
Content-Type: message/rfc822
Return-Path: <www-data@gameserver.donsat.tv>
Received: by livegames.net.ua (Postfix, from userid 33)
id 5F88F29E0078; Wed, 15 Jun 2011 12:23:05 +0000 (UTC)
To: sergey.androsov@codeismy.name
Subject: 123 321 test
X-PHP-Originating-sсriрt: 1000:mailtest.php
From: info@livegames.net.ua
Message-Id: <20110615122305.5F88F29E0078@livegames.net.ua>
Date: Wed, 15 Jun 2011 12:23:05 +0000 (UTC)
this is a test
--5F88F29E0078.1308140585/livegames.net.ua--
и лог отправки письма
Jun 15 12:23:05 vika-trans postfix/qmgr[951]: 5F88F29E0078: from=<www-data@gameserver.donsat.tv>, size=372, nrcpt=1 (queue active)
Jun 15 12:23:05 vika-trans postfix/smtp[12176]: 5F88F29E0078: to=<sergey.androsov@codeismy.name>, relay=mail2.hosting.ua[194.54.89.228]:25, delay=0.5, delays=0.14/0/0.26/0.1, dsn=5.0.0, status=bounced (host mail2.hosting.ua[194.54.89.228] said: 553 sorry, your envelope sender domain must exist (#5.7.1) (in reply to RCPT TO command)) где вообще поменять этого стандартного отправителя писем добавление заголовка From не помогает.
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-15 18:06:48.370000
|
|
|
namepunk
Сообщений: 2732
Оценки: 184
Присоединился: 2009-09-15 13:35:36.866666
|
Может в настройках почтового клиента? Ты вообще как их отправляешь?
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-17 15:50:20.863333
|
|
|
codeismy.name
Сообщений: 618
Оценки: 0
Присоединился: 2009-07-19 00:30:13.200000
|
при чём тут почтовый клиент.. функцией мэил отправляю из пхп.. в самом начале писал. кстати проблему нашел. после смены хостнейма на livegames.net.ua всё отлично заработало. походу не реверслся стандартный домен полученный от провайдера
|
|
|
RE: проблема с отправкой писем postfix - 2011-06-18 02:46:08.443333
|
|
|
itention
Сообщений: 40
Оценки: 0
Присоединился: 2011-06-18 02:34:39.700000
|
www-data - потомоу что веб-север запущен от пользователя www-data, поэтому и отсылка почты идет от локального пользователя www-data. Письма не доходили из-за несоответствия почтового домена "livegames.net.ua" домену, который отдавался по обратной зоне DNS(очень частый способ борьбы со спамом на серверах). Для безопансости лучше создать отдельного пользователя(виртуального, а не системного) и в php.ini прописать логин/пароль и т.п. Черт) Сначала написал, потом увидел, что сам уже разобрался, ну да ладно, может кому еще понадобится.
|
|
|
|
|