- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem in Configuring the Sendmail in HP-UX
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
Forums
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
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-25-2005 05:43 PM
10-25-2005 05:43 PM
Problem in Configuring the Sendmail in HP-UX
We have a internet server having ip Address xx.xx.xx.xx(Public IP) which is NATed to an IP xx.xx.xx.xx(Internal IP).The Opened ports in the server is ssh,sftp & http as per the security team.Today i configured the Sendmail server in this machine to sending emails.
The startegy of configuring the sendmail is that we have portals for our customers to send the request for the services which we are providing.Once of the admin of our side is accepted the request an auto mail has to sent to the respective customer.Here iam configured the mail-relay and every thing,But while testing i am getting a message which is pasted below.
Oct 25 16:01:36 xxxx sendmail[21870]: QAA21870: to=
Oct 25 16:01:36 xxxx sendmail[21870]: QAA21870: ruleset=check_mail, arg1=
Oct 25 16:01:36 xxxx sendmail[21870]: QAA21870: from=
Oct 25 16:15:47 xxxx sendmail[21940]: QAA21940: to=
Oct 25 16:15:47 xxxx sendmail[21940]: QAA21940: ruleset=check_mail, arg1=
Oct 25 16:15:47 xxxx sendmail[21940]: QAA21940: from=
Here is my /etc/mail/access file
127.0.0.1 RELAY
localhost RELAY
xx.xx.xx.xx(ip of the server) RELAY
xxxxxxxx(hostname of the Server) RELAY
Is any need to open the smtp port in the machine to enable the service for resolving the valid doamin name.Please help me in this issue.
Regards,
Bittu.k.k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 05:50 PM
10-25-2005 05:50 PM
Re: Problem in Configuring the Sendmail in HP-UX
Check the url (docID : KBRC00003561) below about 'Sendmail: using sendmail as a relay host' :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080080392
Need you to check :
1. /etc/mail/sendmail.cf for mail-relay entry
2. /etc/hosts for mail-relay entry
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:23 PM
10-25-2005 06:23 PM
Re: Problem in Configuring the Sendmail in HP-UX
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:10 PM
10-25-2005 07:10 PM
Re: Problem in Configuring the Sendmail in HP-UX
After configuring the sendmail from your advice this is the result while i am trying to send email.
Please find my sendmail.cf
# "Smart" relay host (may be null)
DS xxxxx
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Dj$w.xxxxx.
Here is my /etc/hosts
xx.xx.xx.xx. xxxxx.india.hp.com xxxxx.
127.0.0.1 localhost loopback
# sendmail -v bittukk@hp.com hp.com: Name server timeout
bittukk@hp.com... Transient parse error -- message queued for future delivery
bittukk@hp.com... queued
#
Please help me what the next i have to do?
Regards,
Bittu.k.k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:17 PM
10-25-2005 07:17 PM
Re: Problem in Configuring the Sendmail in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:25 PM
10-25-2005 07:25 PM
Re: Problem in Configuring the Sendmail in HP-UX
As Mel's reply, you need to wait for awhile and re-check whether the mail has been sent or not.
You can try to ping from your HP-UX server to the mail server, make sure the connection is established. And the other way around.
Check the document at the url below for more troubleshooting :
http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_sendmail_EN_01_E/nstimeouthosts.htm
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:34 PM
10-25-2005 08:34 PM
Re: Problem in Configuring the Sendmail in HP-UX
As per the document i configured the sendmail.Now iam getting the error pasted below
# sendmail -v bittukk@hp.com bittukk@hp.com... User unknown
/dead.letter... Saved message in /dead.letter
Am suspecting that port of the server is not opened in the firewall.Is any need to open the smtp port in the machine to enable the service for resolving the valid doamin name.
Please help me in this issue.
Regards,
Bittu.k.k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:39 PM
10-25-2005 08:39 PM
Re: Problem in Configuring the Sendmail in HP-UX
This prints while i am typing the command which you prefered.
=======================
Version 8.9.3 (PHNE_29774)
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF
SMTP USERDB XDEBUG
setoption Verbose (v).=T
setoption SevenBitInput (7).=False
setoption EightBitMode (8).=pass8
setoption AliasWait (a).=10
setoption AliasFile (A).=/etc/mail/aliases
setoption MinFreeBlocks (b).=100
setoption BlankSub (B).=.
setoption HoldExpensive (c).=False
setoption DeliveryMode (d).=background
setoption TempFileMode (F).=0600
setoption HelpFile (H).=/usr/share/lib/sendmail.hf
setoption SendMimeErrors (j).=True
setoption ForwardPath (J).=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward
setoption ConnectionCacheSize (k).=2
setoption ConnectionCacheTimeout (K).=5m
setoption UseErrorsTo (l).=False
setoption LogLevel (L).=9
setoption CheckAliases (n).=False
setoption OldStyleHeaders (o).=True
setoption PrivacyOptions (p).=authwarnings
setoption QueueDirectory (Q).=/var/spool/mqueue
setoption Timeout (r).queuereturn=5d
setoption Timeout (r).queuewarn=4h
setoption SuperSafe (s).=True
setoption StatusFile (S).=/etc/mail/sendmail.st
setoption TimeZoneSpec (t).=
setoption DefaultUser (u).=1:1
setoption TryNullMXList (w).=T
setoption ServiceSwitchFile (0x86).=/etc/mail/service.switch
setoption SmtpGreetingMessage (0x90).=$j Sendmail $v/$Z; $b
setoption UnixFromLine (0x91).=From $g $d
setoption OperatorChars (0x92).=.:%@!^/[]+
setoption MaxHeadersLength (0xaa).=32768
drop_privileges(0): Real[UG]id=0:3, RunAs[UG]id=0:0
getauthinfo: root@localhost
============ SYSTEM IDENTITY (after readcf) (short domain name) $w = xxxxx
(canonical domain name) $j = $w.
(subdomain name) $m =
(node name) $k = xxxxx
========================================================
setoption HoldExpensive (c).=F
setoption DeliveryMode (d).=
dropenvelope 40016f88: id=
orderq:
Mail queue is empty
====finis: stat 0 e_id=NOQUEUE e_flags=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:48 PM
10-25-2005 08:48 PM
Re: Problem in Configuring the Sendmail in HP-UX
Yup, port 25 for sendmail.
# ps -ef|grep sendmail
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:54 PM
10-25-2005 08:54 PM
Re: Problem in Configuring the Sendmail in HP-UX
This is the result for while iam doing
This is for the NATed IP xx.xx.xx.xx.
ps -ef|grep sendmail
root 7240 1 0 13:58:21 ? 0:00 sendmail: accepting connections on port 25
root 7399 6942 0 14:20:59 pts/3 0:00 grep sendmail
Iam suspecting that we have to open the 25 port for the public ip which is mentioned earilier? is it so?
Regards,
Bittu.k.k