Dobrý den,
mám tu drobný problém s posíláním e-mailů. Pracuji s PHP - funkce mail(), ta mi hlásí true, ale mail se neodešle.
Jeden z výpisů z /var/spool/mail/user:
[i]
–n2GDItAx030732.1237209536/localhost.localdomain
**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************
The original message was received at Mon, 16 Mar 2009 10:14:12 +0100
from localhost.localdomain [127.0.0.1]
----- Transcript of session follows -----
451 gmail.com: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
–n2GDItAx030732.1237209536/localhost.localdomain
Content-Type: message/delivery-status
Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Mon, 16 Mar 2009 10:14:12 +0100
Final-Recipient: RFC822; receiver@gmail.com
Action: delayed
Status: 4.4.3
Last-Attempt-Date: Mon, 16 Mar 2009 14:18:56 +0100
Will-Retry-Until: Sat, 21 Mar 2009 10:14:12 +0100
–n2GDItAx030732.1237209536/localhost.localdomain
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Return-Path: apache@localhost.localdomain
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.14.3/8.14.3) with ESMTP id n2G9ECD3029968
for receiver@gmail.com; Mon, 16 Mar 2009 10:14:12 +0100
Received: (from apache@localhost)
by localhost.localdomain (8.14.3/8.14.3/Submit) id n2G9ECOl029967;
Mon, 16 Mar 2009 10:14:12 +0100
Date: Mon, 16 Mar 2009 10:14:12 +0100
Message-Id: 200903160914.n2G9ECOl029967@localhost.localdomain
To: receiver@gmail.com
Subject: my_subject
From: from@gmail.com
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
message…
–n2GDItAx030732.1237209536/localhost.localdomain–
[/i]
Vůbec netuším, jestli je potřeba, co se týče posílání mailů, něco nastavovat, tak mě prosím naveďte správným směrem.
Díky!
P.S.: ne, do spamu mi to nechodí a adresa příjemce je správně.
P.S.2: když pošlu mail přes terminál (mail receiver@gmail.com), taky to nepřijde.