- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 01:05 AM
10-05-2009 01:05 AM
I have a common question here, for configuring sendmail, do we need a direct connectivity to sendmail server (xx.xx.xx.x)?
I am unable to ping sendmil server (xx.xx.xx.x) (ping might be disabled at security level )
But I could able to telnet to sendmail server via port 25.
DNS also resolving it. nslookup xx.xx.xx.
Is these above connectivity is sufficient to configure sendmail?
Still I am getting the following error while sending mail
Working server:- mailer=relay, pri=30061, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8UETcI5013459 Message accepted for delivery)
Present server:- mailer=relay, pri=120067, relay=abc.xxx.xx.com. [147.149.196.181], dsn=5.0.0, stat=Service unavailable
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 03:40 AM
10-05-2009 03:40 AM
SolutionYes it is but what have you done so far to configure sendmail on your server. Did you set up the sendmail server as a relay to your server? Look at the DS option in /etc/mail/sendmail.cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 04:22 AM
10-05-2009 04:22 AM
Re: Sendmail issue
It doesn't matter if you are not able to ping to ur sendmail server if u r able to telnet with 25 port.
For sendmail configuration, its really imp that you should make telent to relay IP on 25 port and make sure that you have the entry of relay ip after DSx.x.x.x in sendmail.cf file.
Rgds
Yogesh
(Your points are really appritiated)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 04:42 AM
10-05-2009 04:42 AM
Re: Sendmail issue
But i am geting an error as below :(
mailer=relay, pri=120067, relay=abc.xxx.xx.com. dsn=5.0.0, stat=Service unavailable
DNS not found, is any demon need to run for this.. i guess not
is any where specialy we need to specify that sendmail should look for DNS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 04:44 AM
10-05-2009 04:44 AM
Re: Sendmail issue
Few more things to do.
1) You might want to configure the DS to use an IP address and bypass DNS.
Make change.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
2) You need to configure the relay host or have the administrator configure the relay host to accept relay mail. How this is done depends on the type of mail server we are dealing with.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2009 04:56 AM
10-05-2009 04:56 AM
Re: Sendmail issue
If you have acess to the abc.xxx.xx.com relay server, check the logs to see if anything from your server gets there and what the status is. Usually the relay server needs to be set to allow your server to relay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 04:25 AM
10-06-2009 04:25 AM
Re: Sendmail issue
I did lot more googling, but no luck. I spent enough time on this issue
I found one thing after check at the exact error log .i.e. (dsn=5.0.0, stat=Service unavailable)
For many of them, it got resolved after changing hostname at /etc/hosts
And in many of the forum I found that it exactly depends on /etc/hosts, /etc/hosts.allow & /etc/hosts.deny it seems
But no one has posted anything after this issue is resolved.. so sad
I am posting my /etc/hosts file. Could someone tell me what changes need to be made further
/etc/hosts.
127.0.0.1 localhost
xxx.xxx.x.x myhstname loghost myhstname.
/etc/hosts.allow
sendmail : ALL : allow
/etc/hosts.deny
ALL:ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 05:01 AM
10-06-2009 05:01 AM
Re: Sendmail issue
netstat -an | grep ":25 "
# See if sendmail is even listening.
Perhaps with a Linux box do a port scan and see if port 25 is listening on the HP-UX system.
The only thing I see that has not been done is that the target relay server has not been configured for relay.
What is the OS and mail package running on the relay server.
Post the netstat results please.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 05:02 AM
10-06-2009 05:02 AM
Re: Sendmail issue
"your server" is the server that you are trying to make sendmail work.
"relay server" is the sendmail relay server that you have for your site. Based on the log records it is abc.xxx.xx.com
Are these correct?
Maybe there are more details that you have not given here. Is abc.xxx.xx.com the official sendmail server for your site?
> Working server:- mailer=relay, pri=30061, relay=[127.0.0.1] [127.0.0.1],
This does not say much. It is using itself a a relay server. This is either an email to a local account or there are more lines below this one with more information.
Based on the initial posting your server is connecting to the relay server but the status is "service unavailable".
Did you check what happens on the relay server abc.xxx.xx.com? Were any connections made from your server. "telnet abc.xxx.xx.com 25" is not enough. It shows that the sendmail service is running but it does NOT prove that it would accept email messages.
Does abc.xxx.xx.com allow your server to relay?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 05:03 AM
10-06-2009 05:03 AM
Re: Sendmail issue
> someone tell me what changes need to be
> made further
Yes, change all those "xxx" values to real
numbers, and all the "myhstname" things to
real names. Do you expect real help based on
complete fiction?
> I did lot more googling, but no luck. [...]
When I searched for this message, what I
found suggested that the problem was at the
other end.
> Oct 5, 2009 12:56:03 GMT 10 pts
You gave that response ten points. Did you
read it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2009 06:23 AM
10-06-2009 06:23 AM
Re: Sendmail issue
Guys
Unfortunately I do not have access to the mail server (abc.xxx.xx.com)
I think I need to contact the mail server team and check for itâ ¦
Any way.. Great help guysâ ¦
Hopefully see u all againâ ¦.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2009 03:38 AM
10-08-2009 03:38 AM