Summary: mailx mails not sent out or not arriving?

From: Gold Sun <goldsun8_at_yahoo.com.sg>
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 127.0.0.1
 
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.
 
 
Thanks
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, 
172.16-30.x.x,
or 192.168.x.x) and doesn't have DNS, you might need an /etc/hosts 
entry
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 grice@binc.net
asfdsafd
.
EOT
sun-host:~$ grice@binc.net... Connecting to mail.binc.net. via relay...
220 mailbag.com ESMTP Sendmail; Sat, 27 Aug 2005 14:00:43 -0500
>>> EHLO sun-host.binc.net
250-mailbag.com Hello sun-host.binc.net [64.73.34.97], pleased to meet
you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 50000000
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<grice@sun-host.binc.net> SIZE=61
250 2.1.0 <grice@sun-host.binc.net>... Sender ok
>>> RCPT To:<grice@binc.net>
250 2.1.5 <grice@binc.net>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
sun-host:~$ 250 2.0.0 j7RJ0hmH004928 Message accepted for delivery
grice@binc.net... Sent (j7RJ0hmH004928 Message accepted for delivery)
Closing connection to mail.binc.net.
>>> QUIT
221 2.0.0 mailbag.com 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).
--Michael

 


Send instant messages to your online friends http://asia.messenger.yahoo.com 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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