- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail setting in HP UX 11.23
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
тАО05-19-2009 07:10 AM
тАО05-19-2009 07:10 AM
sendmail setting in HP UX 11.23
I have two servers: host1 and host2, both are HP UX 11.23, I am trying to setup the sendmail, from my point, two servers sendmail configuration are identical, but the result are different. For below test, I can receive the email sent from host1 to my hotmail, but the one sent from host2 remains in the queue, cannot connect to my relay sever. file /etc/rc.config.d/mailservs, /etc/mail/sendmial.cf, /etc/mail/aliases, /etc/mail/sendmail.cw are contain same setting.
root@host1:/etc/mail$ /usr/sbin/sendmail -v abc@hotmail.com
test mail from host1.
.
abc@hotmail.com... Connecting to smtp.test.com. via relay...
220 smtp.test.corp Microsoft ESMTP MAIL Service ready at Thu, 14 May 2009 21:54:00 -0400
>>> EHLO host1.test.corp
250-smtp.test.corp Hello [10.5.8.7]
250-SIZE 20971520
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
>>> MAIL From:
250 2.1.0 Sender OK
>>> RCPT To:
>>> DATA
250 2.1.5 Recipient OK
354 Start mail input; end with
>>> .
250 2.6.0 <200905150153.n4F1rxS8008136@host1.test.corp> Queued mail for delivery
abc@hotmail.com... Sent (<200905150153.n4F1rxS8008136@host1.test.corp> Queued mail for delivery)
Closing connection to smtp.test.com.
>>> QUIT
221 2.0.0 Service closing transmission channel
root@host2:/home/root$ /usr/sbin/sendmail -v abc@hotmail.com
this is a test from host2. send by comand sendmail
.
root... Connecting to [127.0.0.1] via relay...
220 host2.test.corp ESMTP Sendmail @(#)Sendmail version 8.13.3 - Revision 1.005 - 15 November 2007/8.11.1; Sun, 17 May 2009 14:16:41 -0500 (CDT)
>>> EHLO host2.test.corp
250-host2.test.corp Hello smmsp@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<> SIZE=1078
250 2.1.0 <>... Sender ok
>>> RCPT To:
>>> DATA
250 2.1.5
354 Enter mail, end with "." on a line by itself
>>> .
050
050
250 2.0.0 n4HJGfp5023734 Message accepted for delivery
root... Sent (n4HJGfp5023734 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 host2.test.corp closing connection
root@host2:/home/root$
Best regards,
Peter Yu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 07:33 AM
тАО05-19-2009 07:33 AM
Re: sendmail setting in HP UX 11.23
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 07:35 AM
тАО05-19-2009 07:35 AM
Re: sendmail setting in HP UX 11.23
Probably the sendmail.cf configuration is not consistent.
Also note that host2 is accepting the mail for local delivery to the local sendmail daemon, which is running.
If sendmail is not running on host1 that could be the problem.
Standard configuration for the corporate environment is to relay mail via a local smtp relay server.
DSrelayserverhostname
or
DS
[192.168.0.10]
Where 192.168.0.10 is the local relay server.
The second approach, in sendmail.cf avoids mail delivery problems if DNS is down.
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
тАО05-19-2009 09:49 AM
тАО05-19-2009 09:49 AM
Re: sendmail setting in HP UX 11.23
Thans for your reply, I checked the netconf and hosts file, it is OK. I can ping mail relay server from both host1 and host2.
Steven,
file sendmail.cf is identical, both has DSsmtp.test.com
and I can ping smtp.test.com form both server.
What confuse me is same setting, one connect to relay server, one connect to local daemon...
Best regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 08:16 AM
тАО05-20-2009 08:16 AM
Re: sendmail setting in HP UX 11.23
Peter Yu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 12:31 PM
тАО05-20-2009 12:31 PM
Re: sendmail setting in HP UX 11.23
telnet 192.168.0.10 25
what do you get in response ? Is it timing out or are you getting something like
EHLO server2 .... etc..
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 02:59 PM
тАО05-20-2009 02:59 PM
Re: sendmail setting in HP UX 11.23
from host1 and host2 do telnet 192.168.0.10 25, both will timeout.
But if I telnet smtp.test.com 25,both get in. I can they run HELO, MAIL FROM, ...
Best regards,
Peter Yu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 05:12 AM
тАО05-22-2009 05:12 AM
Re: sendmail setting in HP UX 11.23
the issue comes from submit.cf file, host1 don't have this file, but host2 has. But unfortunat the value in host2 has wrong value for smtp realy. so change it to correct value works.
Best regards,
Peter