1833535 Members
3072 Online
110061 Solutions
New Discussion

mail bouncing problem

 
jane zhang
Regular Advisor

mail bouncing problem

Hi all,
I have an hp-ux 10.20 box dcsmail serving as mail server, recently I as the postmaster got a lot of undelivered mails.
I checked the mail.log and got the following info:
# echo "This is from host scheffel to marsha" | mail marcysh@uxprod.foo.com
#

Feb 4 11:13:49 dcsmail sendmail[7876]: LAA07876: from=, size=346, class=0, pri=30346, nrcpts=1, msgid=<200302041913.LAA22819@scheffel.foo.com>, proto=ESMTP, relay=root@scheffel.foo.com [130.27.241.250]
Feb 4 11:13:49 dcsmail sendmail[7878]: LAA07876: to=, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, relay=uxprod.foo.com. [130.27.241.62], stat=Deferred: Connection refused by uxprod.foo.com.

Where is the problem on uxprod.foo.com?

Thanks,

4 REPLIES 4
jane zhang
Regular Advisor

Re: mail bouncing problem

We are using DNS and the
the entry is correct in the conf file
# more /etc/nsswitch.conf
hosts: dns nis [NOTFOUND=return] files
Steven E. Protter
Exalted Contributor

Re: mail bouncing problem

I find it hard to believe that you actually relay mail off a server named foo.com

But your relay server is rejecting mail. It needs to be configured to accept and relay mail from your servers IP address.

For more diagnostics, run this command.

/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@yourdoimain.com

This will let you see a little more about what goes on behind the scenes.

You already have enough information to talk to whomever is responsible for that relay server. If its you, look at the /etc/mail/access file. Add your server as a RELAY entry.

Rebuild the hash files, stop and start sendmail and you are good to go.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: mail bouncing problem

HI Jane,

On uxprod.foo.com, sendmail daemon is not running. Or it is setup with tcp_wrappers or firewall that is it not accepting connections from your server.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
jane zhang
Regular Advisor

Re: mail bouncing problem

Hi Sri,
you are right, the sendmail daemon is not running on the client machine. But when the owner try to run it by /sbin/init.d/sendmail start, it always fail with some errors. even though they copy a uncorrupted sendmail.
I am not sure they run it and do not have root access on that machine. Only receive message when there is a problem.