Originally posted by: Houlivan
Thanks in advance to anyone able to advise!
The following is the command issued by root that works every other time:
echo "This is a test mail"|mail -v -s "this is the subject sendmail opgeorge root server c" msulliva@northshore.edu
Success for Attempts 1,3,5,7,9 etc (the relay happens and I am emailed)
Failure for Attempts 2,4,6,8,10 etc (the relay does not happen and I am not emailed)
Log when command works
msulliva@northshore.edu... Connecting to [#.#.#.#] via smtp...
220 smtp.northshore.edu ESMTP Sendmail 8.13.8/8.13.8; Wed, 14 Dec 2016 13:11:28 -0500
>>> EHLO opgeorge.northshore.edu
250-smtp.northshore.edu Hello opgeorge.northshore.edu [#.#.#.#], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@opgeorge.northshore.edu> SIZE=110
250 2.1.0 <root@opgeorge.northshore.edu>... Sender ok
>>> RCPT To:<msulliva@northshore.edu>
>>> DATA
250 2.1.5 <msulliva@northshore.edu>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 uBEIBSj3010788 Message accepted for delivery
msulliva@northshore.edu... Sent (uBEIBSj3010788 Message accepted for delivery)
Closing connection to [#.#.#.#]
>>> QUIT
221 2.0.0 smtp.northshore.edu closing connection
Log when command does not work
msulliva@northshore.edu... Connecting to [#.#.#.#] via smtp...
220 smtp.northshore.edu ESMTP Sendmail 8.13.8/8.13.8; Wed, 14 Dec 2016 13:14:33 -0500
>>> EHLO opgeorge.northshore.edu
250-smtp.northshore.edu Hello opgeorge.northshore.local [#.#.#.#], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@opgeorge.northshore.edu> SIZE=110
250 2.1.0 <root@opgeorge.northshore.edu>... Sender ok
>>> RCPT To:<msulliva@northshore.edu>
>>> DATA
550 5.7.1 <msulliva@northshore.edu>... Relaying denied
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
root... aliased to network_team@northshore.edu
/root/dead.letter... Saved message in /root/dead.letter
Closing connection to [#.#.#.#]
>>> QUIT
221 2.0.0 smtp.northshore.edu closing connection
root@opgeorge:/usr/lpp/bos/editions