Problem with sendmail (and mailx)

2008-08-01 Thread CHAPLIN, JAMES (CTR)
We have several RHEL 4.5 servers running Oracle. Each is a clone of the
original. However I discovered that we can only send email from two
(using the mailx command). I am not an expert on sendmail, however I
have looked at every configuration file I can find to see if I can
locate a difference between the servers that work and the servers that
do not work and have come up empty. I looked at sendmail.cf and
submit.cf, and their respective *.mc files, with no differences found.

 

In the /etc/log/maillog file I found the following between servers
(working and not working):

Working:

Jul 31 14:58:59 zn023 sendmail[30613]: m6VIwxY2030613:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32986, relay=mailhost [10.159.4.16],
dsn=2.0.0, stat=Sent (Message accepted for delivery)

 

Fail to send:

Jul 31 14:48:50 zn019 sendmail[27586]: m6VImo9Z027586:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32985, relay=mailhost [10.159.4.16],
dsn=5.0.0, stat=Service unavailable

 

Does anyone have any insight to this and how/where the DSN values
(Delivery Status Notification) is set, where I may look to find the root
of this fail to send or any suggestions. 

 

James Chaplin

Systems Programmer, MVS, zVM & zLinux

Base Technologies, Inc

(703) 921-6220


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Problem with sendmail (and mailx)

2008-08-01 Thread Richard Gasiorowski
Check the /etc/mail/local-host-names
etc/hosts.allow
etc/host.deny  to see if zn019 is defined or not on the mailer

'Where ever you go - There you are!! '

Richard (Gaz) Gasiorowski
Global Solutions & Technology
Principal Lead Infrastructure Architect
845-773-9243 Work
845-392-7889 Cell
[EMAIL PROTECTED]


Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
USA
Registered in Nevada, USA No: C-489-59

-
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
-




"CHAPLIN, JAMES (CTR)" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port 
08/01/2008 05:01 PM
Please respond to
Linux on 390 Port 


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Problem with sendmail (and mailx)






We have several RHEL 4.5 servers running Oracle. Each is a clone of the
original. However I discovered that we can only send email from two
(using the mailx command). I am not an expert on sendmail, however I
have looked at every configuration file I can find to see if I can
locate a difference between the servers that work and the servers that
do not work and have come up empty. I looked at sendmail.cf and
submit.cf, and their respective *.mc files, with no differences found.



In the /etc/log/maillog file I found the following between servers
(working and not working):

Working:

Jul 31 14:58:59 zn023 sendmail[30613]: m6VIwxY2030613:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32986, relay=mailhost [10.159.4.16],
dsn=2.0.0, stat=Sent (Message accepted for delivery)



Fail to send:

Jul 31 14:48:50 zn019 sendmail[27586]: m6VImo9Z027586:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32985, relay=mailhost [10.159.4.16],
dsn=5.0.0, stat=Service unavailable



Does anyone have any insight to this and how/where the DSN values
(Delivery Status Notification) is set, where I may look to find the root
of this fail to send or any suggestions.



James Chaplin

Systems Programmer, MVS, zVM & zLinux

Base Technologies, Inc

(703) 921-6220


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Problem with sendmail (and mailx)

2008-08-01 Thread Stricklin, Raymond J
You should've received a DSN message in the mailbox of the user who
tried to send (root) from ds019, or (less likely) in the mailbox of the
Postmaster user (on most linux systems, this is equivalent to root
anyway). The actual error you're getting will be in that message, and
will be much more valuable for troubleshooting this error than the entry
in maillog.

My first guess is that your relay server (10.159.4.16) is not configured
to allow relaying from any of your servers but the two that are work. If
it is also using sendmail, the file defining this is usually
/etc/mail/relay-domains.

The DSN message (in the user's mailbox) should tell you in more certain
terms, though.

ok
r.

-Original Message-
From: CHAPLIN, JAMES (CTR) [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 01, 2008 2:02 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Problem with sendmail (and mailx)

We have several RHEL 4.5 servers running Oracle. Each is a clone of the
original. However I discovered that we can only send email from two
(using the mailx command). I am not an expert on sendmail, however I
have looked at every configuration file I can find to see if I can
locate a difference between the servers that work and the servers that
do not work and have come up empty. I looked at sendmail.cf and
submit.cf, and their respective *.mc files, with no differences found.

 

In the /etc/log/maillog file I found the following between servers
(working and not working):

Working:

Jul 31 14:58:59 zn023 sendmail[30613]: m6VIwxY2030613:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32986, relay=mailhost [10.159.4.16],
dsn=2.0.0, stat=Sent (Message accepted for delivery)

 

Fail to send:

Jul 31 14:48:50 zn019 sendmail[27586]: m6VImo9Z027586:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32985, relay=mailhost [10.159.4.16],
dsn=5.0.0, stat=Service unavailable

 

Does anyone have any insight to this and how/where the DSN values
(Delivery Status Notification) is set, where I may look to find the root
of this fail to send or any suggestions. 

 

James Chaplin

Systems Programmer, MVS, zVM & zLinux

Base Technologies, Inc

(703) 921-6220


--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Problem with sendmail (and mailx)

2008-08-01 Thread Eddie Chen
You need to contact the MAIL  ADMIN  at  10.159.16.4->  what  cause the
bounce back/reject.





"CHAPLIN,
 JAMES (CTR)"
 <[EMAIL PROTECTED]  To
 sociates.dhs.gov> LINUX-390@VM.MARIST.EDU
Sent by: Linux  cc
 on 390 Port
 <[EMAIL PROTECTED] Subject
 IST.EDU>      Problem with sendmail (and mailx)


08/01/2008
 05:01 PM


 Please respond to
 Linux on 390 Port
 <[EMAIL PROTECTED]
 IST.EDU>






We have several RHEL 4.5 servers running Oracle. Each is a clone of the
original. However I discovered that we can only send email from two
(using the mailx command). I am not an expert on sendmail, however I
have looked at every configuration file I can find to see if I can
locate a difference between the servers that work and the servers that
do not work and have come up empty. I looked at sendmail.cf and
submit.cf, and their respective *.mc files, with no differences found.



In the /etc/log/maillog file I found the following between servers
(working and not working):

Working:

Jul 31 14:58:59 zn023 sendmail[30613]: m6VIwxY2030613:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32986, relay=mailhost [10.159.4.16],
dsn=2.0.0, stat=Sent (Message accepted for delivery)



Fail to send:

Jul 31 14:48:50 zn019 sendmail[27586]: m6VImo9Z027586:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32985, relay=mailhost [10.159.4.16],
dsn=5.0.0, stat=Service unavailable



Does anyone have any insight to this and how/where the DSN values
(Delivery Status Notification) is set, where I may look to find the root
of this fail to send or any suggestions.



James Chaplin

Systems Programmer, MVS, zVM & zLinux

Base Technologies, Inc

(703) 921-6220


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390






Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Problem with sendmail (and mailx)

2008-08-02 Thread John Summerfield

CHAPLIN, JAMES (CTR) wrote:

We have several RHEL 4.5 servers running Oracle. Each is a clone of the
original. However I discovered that we can only send email from two
(using the mailx command). I am not an expert on sendmail, however I
have looked at every configuration file I can find to see if I can
locate a difference between the servers that work and the servers that
do not work and have come up empty. I looked at sendmail.cf and
submit.cf, and their respective *.mc files, with no differences found.



In the /etc/log/maillog file I found the following between servers
(working and not working):

Working:

Jul 31 14:58:59 zn023 sendmail[30613]: m6VIwxY2030613:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32986, relay=mailhost [10.159.4.16],
dsn=2.0.0, stat=Sent (Message accepted for delivery)



Fail to send:

Jul 31 14:48:50 zn019 sendmail[27586]: m6VImo9Z027586:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32985, relay=mailhost [10.159.4.16],
dsn=5.0.0, stat=Service unavailable



Does anyone have any insight to this and how/where the DSN values
(Delivery Status Notification) is set, where I may look to find the root
of this fail to send or any suggestions.


One one (or more) of each working and failing systems, try
host -t mx associates.dhs.gov
like so:

07:33 [EMAIL PROTECTED] ~]$ host -t mx associates.dhs.gov
associates.dhs.gov mail is handled by 10 mx4.dhs.gov.
associates.dhs.gov mail is handled by 10 mx2.dhs.gov.
associates.dhs.gov mail is handled by 10 mx3.dhs.gov.
16:35 [EMAIL PROTECTED] ~]$

The "10" refers to priority, and since they are all "10" and not some
variety of numbers, they are all of equal priority.

Then the hostname command like so:
16:35 [EMAIL PROTECTED] ~]$ hostname -f
numbat.demo.lan
16:37 [EMAIL PROTECTED] ~]$
Use the hostname returned in the following example: I would use
numbat.demo.lan.

Since there are several of the same priority, do this for each:
telnet  25
ehlo 
quit

The session should be pretty like this:
16:39 [EMAIL PROTECTED] ~]$ telnet mx4.dhs.gov. 25
Trying 152.121.180.5...
Connected to mx4.dhs.gov (152.121.180.5).
Escape character is '^]'.
ehlo js.id.au
220 mx4.dhs.gov ESMTP Postfix
250-mx4.dhs.gov
250-PIPELINING
250-SIZE 5120
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
16:39 [EMAIL PROTECTED] ~]$
If any response line begins with a digit not 2, that is a problem. So it
is if the remote system just hangs up.



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390