Summary: mailx mails not sent out or not arriving?

From: Gold Sun <>
Date: Sun Aug 28 2005 - 00:57:09 EDT
All the answers are excellent & Damir's is probably closest
though I don't know what's the command to use to check
"load id" & don't know where to look for sendmail logs (as
/var/adm/messages is 0 byte on our server).  All answers
are appended further below.
We're running sendmail Ver 8.12.10.
Using "mailx -v" suggested below, I got the error
root@localhost ... Deferred: Connection refsued by
Thus, I did :
cd /etc/rc2.d
./S88sendmail stop
./S88sendmail start
& this fixed the problem.  Forgot to use "ps -ef | grep mai"
to check if sendmail daemon is dead in the first place.
G Sun
Damir :
sendmail stops sending mail if load id higher than limit (12 I think)
if there is a huge clumsy filesystem load can be quite high...

John L :
Which version of sendmail are you running?
    /usr/lib/sendmail -d0
will tell you.
If it is 8.13 then you may have been caught out by some major
changes from 8.12. Basically, you need to have two sendmail
daemons running. See Sun Infodoc 50885 
Michael G :
1. Check forward and reverse DNS for the host. Some mail servers will
refuse mail from a host which doesn't have matching forward and reverse
DNS entries. If it's a private IP address (e.g., 10.x.x.x, 
or 192.168.x.x) and doesn't have DNS, you might need an /etc/hosts 
or equivalent on the other machine.
2. Try it from the command line with the verbose flag (-v, I think).
sun-host:~$ mailx -v -s Test
sun-host:~$ Connecting to via relay...
220 ESMTP Sendmail; Sat, 27 Aug 2005 14:00:43 -0500
>>> EHLO Hello [], pleased to meet
250-SIZE 50000000
250 HELP
>>> MAIL From:<> SIZE=61
250 2.1.0 <>... Sender ok
>>> RCPT To:<>
250 2.1.5 <>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
sun-host:~$ 250 2.0.0 j7RJ0hmH004928 Message accepted for delivery Sent (j7RJ0hmH004928 Message accepted for delivery)
Closing connection to
>>> QUIT
221 2.0.0 closing connection
3. Look for mail in the outgoing queue with the mailq command:
sun-host:~$ mailq
/var/spool/mqueue is empty
4. Make sure that the recipients aren't filtering the email. For
instance, my company has instituted a spam filter which occasionally
catches mail coming from servers. I also have a procmail filter which
occasionally mis-files mail.
5. I don't think the number of log files is important, but there could
be an issue if the log files are too large (so that they can't be
written to).


Send instant messages to your online friends 
sunmanagers mailing list
Received on Sun Aug 28 00:57:46 2005

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