Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sendmail Not Sending

Sendmail Not Sending

Sendmail Not Sending

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 [] 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 [], pleased to meet you
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 []
>>> 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=<www@virtual.isot.com> (80/80), delay=00:30:37, xdelay=00:30:37, mailer=esmtp, pri=31395, relay=mx3.hotmail.com. [], 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=www@localhost
Oct 13 17:47:25 virtual sendmail[58840]: n9DMlPAc058840: from=<www@virtual.isot.com>, size=365, class=0, nrcpts=1, msgid=<200910132247.n9DMlPdi058839@virtual.isot.com>, proto=ESMTP, daemon=IPv4, relay=localhost []
Oct 13 17:47:25 virtual sendmail[58839]: n9DMlPdi058839: to=itchibahn@hotmail.com, ctladdr=www (80/80), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30058, relay=[] [], 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
$_localhost []
rRFC822; itchibahn@hotmail.com
H?P?Return-Path: <갾>
H??Received: from virtual.isot.com (localhost [])
        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]#


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close