SUMMARY: Sendmail won't send mail...

From: Kevin Buterbaugh <kevin_buterbaugh_at_bellsouth.net>
Date: Tue Dec 07 2004 - 10:18:27 EST
Hello All,

     First off, again thanks to all who took the time to respond to my post:  Clive McAdam, Thomas Payerle, Stan Pietkiewicz, Bill Williams, Steve Sandau, Crist Clark, Alan Pae, John Coleman, John Lendeham, S.A. Birl, Doug Hubbard, Ken Wachtler, Greg Hitchcock, and especially Christopher Banard, who was first with the solution to my problem.

     I will simply quote Christopher:

<begin quote>

What you need to do is have sendmail in full daemon mode (-bd) on that
server.  Your logs show it is trying to send the message to localhost, and
it cannot.  To enable -bd but for only localhost, create the file
/etc/default/sendmail with one line:

MODE="-bd -ODaemonPortOptions=Addr=localhost"

stop and restart sendmail.  You will have two sendmail processes running.

 shalmaneser 70 % ps -ef | grep mail | grep -v grep
    root   294     1  0   Nov 29 ?        0:00 /usr/lib/sendmail -bd
-ODaemonPortOptions=Addr=localhost -q15m
   smmsp   295     1  0   Nov 29 ?        0:00 /usr/lib/sendmail -Ac -q15m

</End quote>

     Please note that simply running sendmail as a daemon did not suffice (which several people suggested doing, and which I pointed out in my original post that I had already tried), /etc/default/sendmail had to be created first.

     Also, please note that the Sun doc I referenced in my original e-mail (#74310) which matched my symptoms but did not resolve my problem makes no reference to /etc/default/sendmail.  If anyone at Sun is monitoring this list, would you please fix this doc?

     Again, thanks to all who helped with both my issues...

Kevin
> 
> From: Kevin Buterbaugh <kevin_buterbaugh@bellsouth.net>
> Date: 2004/12/03 Fri PM 04:36:36 EST
> To: <sunmanagers@sunmanagers.org>
> Subject: Sendmail won't send mail...
> 
> Hi All,
> 
>      I've gotten some good advice on my previous post regarding probe-scsi-all.  I'll post a summary next week after I've had a chance to try out the suggestions during the downtime.
> 
>      In the meantime, I'm having another problem with the same 420R running Solaris 9 (with the recommended patch cluster as of mid-summer installed).  I'm wanting to run sendmail out of cron with the appropriate options to tell it to process the mail queue.  I DO NOT want to run it as a daemon and accept incoming e-mail to this machine.
> 
>      So I sent a test message with mailx (which queued up as it should) and then ran as root "/usr/lib/sendmail -q".  I got the following error in /var/log/syslog:
> 
> Dec  3 12:07:51 my-fake-hostname sendmail[10255]: [ID 801593 mail.info] iB3I7pSO010255: to=root, ctladdr=root (0/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30503, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
> 
>      Running "/usr/lib/sendmail -qf" and even doing a "/etc/init.d/sendmail start" didn't help.  Same error.  Checked /etc/inet/hosts - here's the first couple of lines:
> 
> #
> # Internet host table
> #
> 127.0.0.1       localhost       loghost my-fake-hostname
> 1.2.3.4  my-fake-hostname.mydomain my-fake-hostname
> 
>      Still getting the same error.
> 
>      A search of Sunsolve for the error uncovered Document #74310, which fit my situation exactly.  I eagerly followed the resolution steps listed in the document ... and got the exact same error.
> 
>      Searched the archives but didn't find anything.  Google hits are mostly for Linux and haven't helped.  We do normally run ipsec on this machine, but we've disabled it temporarily to rule it out and still get the same error.
> 
>      I feel like I'm having a bad week and missing something obvious, but I can't for the life of me figure out what it is.  Can someone please enlighten me?
> 
>      I will send my sendmail.cf file upon request, but it's the stock one created by following the aforementioned sun doc.
> 
> Kevin Buterbaugh
> 
> "When I get a little money, I buy books, and if any is left over, I buy food and clothes." - Desidrius Erasmus
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Dec 7 10:18:46 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:40 EST