- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP server not sending out email to relay server
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
Forums
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
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
тАО02-15-2008 04:40 AM
тАО02-15-2008 04:40 AM
I have something that should be very easy to fix, but I just can't seem to get it working.
I have a server running HP-UX 11i, and I want emails to be sent out to a relay server.
The only edits that I normally make in sendmail.cf are these: -
DS
DM
Dm
Usually these changes work fine, but on one machine it dosn't work at all.
I can mail root OK, but any user off the box is not getting any mail.
If I look in mail.log, I can see that the relay is not being picked up: -
Feb 15 12:26:42 xxxxxx sendmail[5228]: MAA05228: from=xxxx, size=149, class=0, pri=30149, nrcpts=1, msgid=<200802151226.MAA05228@xxxxxxx.>, relay=root@localhost
How do I get mail to use the relay. I'm not running the senmail processes, but then I shouldn't have to. I have other hosts working fine with this config, and in their mail.log's the relay is show fine.
Help please, this is giving me a headache!!!!
Thanks,
Sime.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 04:56 AM
тАО02-15-2008 04:56 AM
Re: HP server not sending out email to relay server
Try "telnet relay-server 25" to see if you connect to your relay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 05:03 AM
тАО02-15-2008 05:03 AM
Re: HP server not sending out email to relay server
# telnet xxxxxxxx 25
Trying...
Connected to xxxxxxxxx.
Escape character is '^]'.
220 xxxxxxxxxxx Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Fri, 15 Feb 2008 12:58:07 +0000
telnet> quit
Connection closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 05:17 AM
тАО02-15-2008 05:17 AM
Re: HP server not sending out email to relay server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 06:02 AM
тАО02-15-2008 06:02 AM
Re: HP server not sending out email to relay server
Well, don't stop there!
> I'm not running the senmail processes, but
> then I shouldn't have to.
Huh? Then who's looking at your sendmail.cf
file? And if no one is, then why are you
editing it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 06:06 AM
тАО02-15-2008 06:06 AM
Re: HP server not sending out email to relay server
Here is the tail from the mail.log
Feb 15 13:59:57 xxxxx sendmail[9019]: NAA09019: to=xxxx@xxxxx.co.uk, delay=00:00:00, mailer=relay, relay=xxxxxx.xxxxxx.co.uk, stat=Transient parse error -- message queued for future delivery
Feb 15 13:59:57 xxxxxxx sendmail[9019]: NAA09019: from=xxxxxx, size=149, class=0, pri=30149, nrcpts=1, msgid=<200802151359.NAA09019@xxxxxx.>, relay=root@localhost
Feb 15 13:59:57 xxxxxxx sendmail[9019]: NAA09019: to=xxxxxxxxxxx@xxxxxxx.co.uk, delay=00:00:00, mailer=relay, stat=queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 06:10 AM
тАО02-15-2008 06:10 AM
Re: HP server not sending out email to relay server
echo "this is a test"|sendmail -v someone@yahoo.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 06:45 AM
тАО02-15-2008 06:45 AM
Re: HP server not sending out email to relay server
xxxxxx.co.uk: Name server timeout
xxxxxxx@xxxxxxxxx.co.uk... Transient parse error -- message queued for future delivery
xxxxxxx@xxxxxxxx... queued
I'm using NIS as a name resolution service. I can do an nslookup on the realy server, and I can ping it too.
So now I'm lost again....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 06:51 AM
тАО02-15-2008 06:51 AM
SolutionYou may consider turning on sendmail temporarily just in case it reveals any issues in the mail.log.
It is OK to leave sendmail off for what you need. The sendmail is still invoked as a client process by the local UNIX mailer the the relaying in sendmail.cf still works!
In general if you don't run sendmail as a daemon you lose the server functionality of it such as
1) You can not receive email
2) Your mail queue will not be processed.
3) A failed SMTP connection will abort and the mail will NOT be delivered and will NOT be retried either.
In your environment #3 may have an impact. If you still don't want to run sendmail as a server, you can take care of #3 and #2 by running a cron job that processes the queue every so often.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2008 07:09 AM
тАО02-15-2008 07:09 AM
Re: HP server not sending out email to relay server
It was a name resolution problem with my local server.
I had to alter the lookup order in /etc/nsswitch.conf
I was looking for NIS first then file for my hosts. I swaped the round and BINGO, it worked.
Thanks for the help.
SIme.