Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail Not Sending

Status
Not open for further replies.

itchibahn

ISP
Joined
Jan 20, 2005
Messages
6
Location
US
My webserver uses sendmail 8.14.3 and php mail() just to send out mails from webforms. When I try to send, I noticed the message gets stored in /var/spool/mqueue, but does not get process. Please help.

Directory permissions should be ok:

drwxrwx--- 2 smmsp smmsp 512 Oct 13 17:12 clientmqueuev
drwxr-xr-x 2 root daemon 2048 Oct 13 17:12 mqueue

Test sendmail:

[root@virtual /var/spool/mqueue]# sendmail -v itchibahn@hotmail.com < /home/isot/tests/test.msg
itchibahn@hotmail.com... Connecting to [127.0.0.1] via relay...
220 virtual.isot.com ESMTP Sendmail 8.14.3/8.14.3; Tue, 13 Oct 2009 17:41:51 -0500 (CDT)
>>> EHLO virtual.isot.com
250-virtual.isot.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<felix@virtual.isot.com> SIZE=46
250 2.1.0 <felix@virtual.isot.com>... Sender ok
>>> RCPT To:<itchibahn@hotmail.com>
>>> DATA
250 2.1.5 <itchibahn@hotmail.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 n9DMfpus058570 Message accepted for delivery
itchibahn@hotmail.com... Sent (n9DMfpus058570 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 virtual.isot.com closing connection
[root@virtual /var/spool/mqueue]#


Log shows:

Oct 13 17:42:53 virtual sendmail[57867]: n9DMCG3L057865: to=<itchibahn@hotmail.com>, ctladdr=< (80/80), delay=00:30:37, xdelay=00:30:37, mailer=esmtp, pri=31395, relay=mx3.hotmail.com. [65.55.37.104], dsn=4.0.0, stat=Deferred: Operation timed out with mx3.hotmail.com.
[root@virtual /var/log]#


Using php mail() shows little bit different log:

Oct 13 17:47:25 virtual sendmail[58839]: n9DMlPdi058839: from=www, size=58, class=0, nrcpts=1, msgid=<200910132247.n9DMlPdi058839@virtual.isot.com>, relay=Oct 13 17:47:25 virtual sendmail[58840]: n9DMlPAc058840: from=< size=365, class=0, nrcpts=1, msgid=<200910132247.n9DMlPdi058839@virtual.isot.com>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Oct 13 17:47:25 virtual sendmail[58839]: n9DMlPdi058839: to=itchibahn@hotmail.com, ctladdr= delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30058, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n9DMlPAc058840 Message accepted for delivery)
[root@virtual /var/log]#


/var/spool/mqueue/qfn9DMfpus058570 Shows:

[root@virtual /var/spool/mqueue]# cat qfn9DMfpus058570
V8
T1255473711
K0
N0
P30375
Fs
$_localhost [127.0.0.1]
$rESMTP
$svirtual.isot.com
${daemon_flags}
${if_addr}127.0.0.1
S<felix@virtual.isot.com>
rRFC822; itchibahn@hotmail.com
RPFD:<itchibahn@hotmail.com>
H?P?Return-Path: <?>
H??Received: from virtual.isot.com (localhost [127.0.0.1])
by virtual.isot.com (8.14.3/8.14.3) with ESMTP id n9DMfpus058570
for <itchibahn@hotmail.com>; Tue, 13 Oct 2009 17:41:51 -0500 (CDT)
(envelope-from felix@virtual.isot.com)
H?x?Full-Name: User Felix
H??Received: (from root@localhost)
by virtual.isot.com (8.14.3/8.14.3/Submit) id n9DMfp7d058569
for itchibahn@hotmail.com; Tue, 13 Oct 2009 17:41:51 -0500 (CDT)
(envelope-from felix)
H??Date: Tue, 13 Oct 2009 17:41:51 -0500 (CDT)
H??From: User Felix <felix@virtual.isot.com>
H??Message-Id: <200910132241.n9DMfp7d058569@virtual.isot.com>
H??To: undisclosed-recipients:;
.
[root@virtual /var/spool/mqueue]#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top