- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to send mail from the 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
тАО07-13-2009 04:31 AM
тАО07-13-2009 04:31 AM
I am unable to send mail from hp-ux 11.31 server, I am trying to send mail to the same domain email id, the sendmail service is running but the mails are getting queued up.
/var/spool/mqueue (2 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient--
n6DBUu1H025953 1781 Mon Jul 13 14:30 oracle
(host map: lookup (kmc.med): deferred)
mtaq@kmc.med
n6D5GNC8028538 1781 Mon Jul 13 08:16 oracle
(host map: lookup (kmc.med): deferred)
mtaq@kmc.med Total requests: 2
The HP openview operations sends the following critical message whenever there is a failed mail.
sendmail daemon could not receive/send mail to mtaq@kmc.med: Transient parse error -- message queued for future delivery
When tried
oracle:/etc/rc.config.d$ nslookup -q=mx kmc.med
Using /etc/hosts on: hdb03
looking up FILES
*** No address information is available for "kmc.med"
I even tried to dig
oracle:/etc/rc.config.d$ dig mx kmc.med
; <<>> DiG 9.3.2 <<>> mx kmc.med
;; global options: printcmd
;; connection timed out; no servers could be reached
Please help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 04:35 AM
тАО07-13-2009 04:35 AM
Re: unable to send mail from the server
I am able to telnet the exchange (mail) server at port 25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 04:40 AM
тАО07-13-2009 04:40 AM
Re: unable to send mail from the server
configure the sendmail with smarthost option.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 04:40 AM
тАО07-13-2009 04:40 AM
Re: unable to send mail from the server
Sendmail effectively requires DNS to be setup.
You have already seen that you can't resolve 'kmc.med':
*** No address information is available for "kmc.med"
Setup DNS and configure a smart relay (DS macro) in '/etc/mail/sendmail.cf'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 05:01 AM
тАО07-13-2009 05:01 AM
Re: unable to send mail from the server
thanks & Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 05:16 AM
тАО07-13-2009 05:16 AM
Re: unable to send mail from the server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 05:19 AM
тАО07-13-2009 05:19 AM
Re: unable to send mail from the server
DS[192.168.1.1] or
DSmygateway.example.com
if you give there a hostname them add it to the DNS or /etc/hosts
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 05:45 AM
тАО07-13-2009 05:45 AM
Re: unable to send mail from the server
# telnet smartmail 25
Trying...
Connected to smartmail.directv.com.
Escape character is '^]'.
220 smartmail.mydomain.com ready Mon, 13 Jul 2009 06:43:11 -0700
if you do not see the 220 message, or getting a connection refused, most probably mail relay server is not allowing your server to relay mails from. Talk to the maild server administrators in your organization to set this up.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 06:03 AM
тАО07-13-2009 06:03 AM
SolutionIn most corporate environments a smtp relay server is provided for serves and such to dump email onto the corporate system.
You get the IP address or host name of the server, have it configured to accept mail from your server and.
Edit sendmail.cf
Change DS to:
DShostname_of_smtp_relay_server
or
DS
[ip address of smtp relay server]
ex
DS
[192.168.0.10]
/sbin/init.d/sendmail stop
/sbin/init.d.sendmail start
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
тАО07-13-2009 12:14 PM
тАО07-13-2009 12:14 PM
Re: unable to send mail from the server
The Sendmail is working it the permission issue with /var/spool/mqueue or check the
/etc/resolv.conf & Please check the sendmail services running.
root # ps -ef | grep -i sendmail
root 1700 1 0 Jul 11 ? 0:04 sendmail: accepting connections
root 29011 23487 0 16:13:46 pts/tb 0:00 grep -i sendmail
root # ls -ld /var/spool/mqueue
drwxr-xr-x 2 root bin 1024 Jul 13 16:13 /var/spool/mqueue
root # ls -ld resolv.conf
-rw-r--r-- 1 root sys 110 Jun 16 2007 resolv.conf
Try with Permission send mail & check the log /var/adm/syslog/mail.log
Thanks
Vinod