- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail configuration - not able to send email
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
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
06-20-2012 12:42 PM
06-20-2012 12:42 PM
Sendmail configuration - not able to send email
Dear friends,
I have configured sendmail in my hpux 11.31 server but i am not able to send any email. need your expert help on this.
I believe i correctly configured this. Below is the error i am receiving while sending email.
h19sys1 #swlist -l product | grep -i sendmail
Sendmail C.8.13.3.5 Mail Transfer Protocol daemons and utilities
there is only two entries in sendmail.cw file as below
localhost
h19sys1 ----> this is server's host name.
I have modified the DS value. and put for Dj as "mailhost" -- this is the same alias i have put in /etc/hosts file against the IP of my relay server.
I am sending mail like below format:
h19sys1 #mailx -s "Test Message" kmydheen.c@stc.com.sa < /dev/null
Null message body; hope that's ok
the error "unable to qualify my own domain name should be a completed one?....
no DNS in my setup of HPUX.
DW<myrelayserver>
#Dj$w.Foo.COM
Dj$w.mailhost
Jun 20 22:11:32 h19sys1 sendmail[1539]: unable to qualify my own domain name (h19sys1) -- using short name
Jun 20 22:11:32 h19sys1 sendmail[1539]: be sure to set domain name in Dj macro in sendmail.cf
Jun 20 22:11:32 h19sys1 sendmail[1539]: alias database /etc/mail/aliases rebuilt by kathar
Jun 20 22:11:32 h19sys1 sendmail[1539]: /etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
Jun 20 22:11:32 h19sys1 /sbin/init.d/sendmail[1521]: /etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
Jun 20 22:11:32 h19sys1 sm-mta[1541]: unable to qualify my own domain name (h19sys1) -- using short name
Jun 20 22:11:32 h19sys1 sm-mta[1541]: be sure to set domain name in Dj macro in sendmail.cf
Jun 20 22:11:32 h19sys1 sm-mta[1542]: starting daemon (@(#)Sendmail version 8.13.3 - Revision 1.004:: HP-UX11.31 - 03rd February,2010): SMTP+queueing@00:30:00
Jun 20 22:11:32 h19sys1 /sbin/init.d/sendmail[1521]: /etc/mail/submit.cf is missing
Jun 20 22:11:32 h19sys1 /sbin/init.d/sendmail[1521]: Sendmail client not started
Jun 20 22:11:32 h19sys1 sm-mta[1543]: q5KIgQqK001051: to=ainms@xyz.com, delay=00:29:06, mailer=relay, pri=210134, relay=172.20.69.194, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jun 20 22:11:32 h19sys1 sm-mta[1543]: q5KIhFt8001056: to=kmydheen.c@stc.com.sa, delay=00:28:17, mailer=relay, pri=210142, relay=172.20.69.194, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jun 20 22:11:32 h19sys1 sm-mta[1543]: q5KIpJAA001171: to=kmydheen.c@stc.com.sa, delay=00:20:13, mailer=relay, pri=210142, relay=172.20.69.194, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jun 20 22:30:18 h19sys1 sendmail[1979]: unable to qualify my own domain name (h19sys1) -- using short name
Jun 20 22:30:18 h19sys1 sendmail[1979]: be sure to set domain name in Dj macro in sendmail.cf
Jun 20 22:30:18 h19sys1 sendmail[1979]: q5KJUIx2001979: to=kmydheen.c@stc.com.sa, delay=00:00:00, mailer=relay, pri=0, relay=172.20.69.194, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jun 20 22:30:18 h19sys1 sendmail[1979]: q5KJUIx2001979: from=kathar, size=142, class="0", nrcpts=1, msgid=<201206201930.q5KJUIx2001979@h19sys1.mailhost>, relay=root@localhost
Jun 20 22:30:18 h19sys1 sendmail[1979]: q5KJUIx2001979: to=kmydheen.c@stc.com.sa, delay=00:00:00, mailer=relay, pri=30142, dsn=4.4.3, stat=queued
h19sys1 #
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2012 12:11 AM
06-21-2012 12:11 AM
Re: Sendmail configuration - not able to send email
>Dj$w.mailhost
The comments in sendmail.cf indicate this must look like a FQDN. So ".mailhost" isn't valid.
Possibly ".stc.com.sa"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2012 01:57 AM
06-23-2012 01:57 AM
Re: Sendmail configuration - not able to send email
Hi,
thanks for your response.
I have added the entry in /etc/hosts file with ip-address and alias name stc.com.sa. when checked the mail-q, it was having some unsent emails, i have cleared them. Now sendmail is working fine. Thanks for your inputs.
/etc/rc.config.d/mailservers -- for sendmail server entry should be "1"
/etc/mail/sendmail.cw -- that host entry & entry as "localhost" must be present
/etc/mail/sendmail.cf -- DS<ipaddress of mailserver>
/etc/hosts -- in this file, ip address of domain-server (as we have not configured resolv.conf), mailserver ip address and hostname
for example:
172.20.69.194 mailhost mailhost
10.32.4.3 stc.com.sa
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Regards,
Masthan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2014 05:59 AM
06-04-2014 05:59 AM
Re: Sendmail configuration - not able to send email
I am unable to sedn mail using ,mailx afetr restarting the send mail
kindly help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 01:18 AM - edited 06-05-2014 01:19 AM
06-05-2014 01:18 AM - edited 06-05-2014 01:19 AM
Re: sendmail configuration - not able to send email
>I am unable to send mail using mailx after restarting sendmail
What do the sendmail logs show? /var/adm/syslog/mail.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2014 05:28 PM
06-06-2014 05:28 PM
Re: Sendmail configuration - not able to send email
Use sendmail -v to test, not mailx, like this:
sendmail -v kmydheen.c@stc.com.sa < /etc/profile
This will show why the transfer is failing.
NOTE: Most large companies block sending email out to the open internet, and if you did not use DM and C{M} to masquerade your internal machine's real name, the destination will treat the incoming message as junk and drop the message. If you are blocked, you'll need to get your company to setup a relay to the outside.
Bill Hassell, sysadmin