- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail: only local domain recipients can reach t...
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
06-19-2006 09:22 PM
06-19-2006 09:22 PM
Sendmail: only local domain recipients can reach target
I've an hpux11iv1 box and I need to send mails to several address both in local domain and extra domain.
I can send mail only to local domain recipients and the extra domain recipients remain in deferred status.
I can resolve this?
Regards...
PSS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 09:29 PM
06-19-2006 09:29 PM
Re: Sendmail: only local domain recipients can reach target
How to do this depends on your network structure.
You need to identify an appropriate server to relay your mail. Network administration should be able to help.
vi /etc/mail/sendmail.cf
Change:
DS
to:
DShostnameofrelayserver
or:
DS
[ip address of relay server]
example:
DS
[192.168.0.10]
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
If sendmail is not running (check /etc/rc.config.d/sendmail) then there is no need to restart or run the daemon.
It is not normally needed to have the daemon running to send outbound mail, though perversely I've got knowlege of setups that do require this.
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
06-19-2006 09:30 PM
06-19-2006 09:30 PM
Re: Sendmail: only local domain recipients can reach target
diagnostic
sendmail -v -d8.99 -d38.99 someone@yahoo.com
type some text
.
You will see full diagnostics, more extensive than available in /var/adm/syslog/mail.log
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
06-19-2006 09:40 PM
06-19-2006 09:40 PM
Re: Sendmail: only local domain recipients can reach target
Only local domain recipients can go away.
Sendmail tries to resolv the recipient domain using DNS but DNS cannot resolv external domains
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 09:48 PM
06-19-2006 09:48 PM
Re: Sendmail: only local domain recipients can reach target
hosts : file dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 09:53 PM
06-19-2006 09:53 PM
Re: Sendmail: only local domain recipients can reach target
Is it possible to configure sendmail to let the smtp server resolv the recipient address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 07:45 PM
06-20-2006 07:45 PM
Re: Sendmail: only local domain recipients can reach target
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 10:43 PM
06-20-2006 10:43 PM
Re: Sendmail: only local domain recipients can reach target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 09:19 PM
06-21-2006 09:19 PM
Re: Sendmail: only local domain recipients can reach target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 01:51 AM
07-06-2006 01:51 AM
Re: Sendmail: only local domain recipients can reach target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 03:06 AM
07-06-2006 03:06 AM
Re: Sendmail: only local domain recipients can reach target
Your HP-UX box cannot resolve the IP address of your mail relay from its hostname. One of the following should work:
1) Add a line for the mail relay to /etc/hosts, ensure /etc/mail/sendmail.cf contains DShostname, and stop/start the sendmail daemon.
2) Add the IP address of your mail relay to /etc/mail/sendmail.cf like:
DS
[ip.add.ress.here]
then stop/start the sendmail daemon.
3) Ensure that your mail relay is not blocking connections from your HP-UX box. For information on how to do this, see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1037478
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 03:15 AM
07-06-2006 03:15 AM
Re: Sendmail: only local domain recipients can reach target
Either talk to networking for a list of servers for /etc/resolv.conf that work or implement the DS directive.
Either should solve this problem.
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-06-2006 03:39 AM
07-06-2006 03:39 AM
Re: Sendmail: only local domain recipients can reach target
I've done but the external mail still remains in deferred status
Steven,
the dns server in /etc/resolv.conf can solve only localdomain addresses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 03:59 AM
07-06-2006 03:59 AM
Re: Sendmail: only local domain recipients can reach target
Restart sendmail:
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
Clear your mail queue:
# rm -f /var/spool/mqueue/*
And try sending a fresh test message.
What do you mean by "external mail still remains in deferred status"? Do messages reach your mail relay and hang at that point?
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 04:08 AM
07-06-2006 04:08 AM
Re: Sendmail: only local domain recipients can reach target
SAA00633* (no control file)
The mail never reaches the SMTP server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 02:31 AM
07-10-2006 02:31 AM
Re: Sendmail: only local domain recipients can reach target
Only the localdomain mail can reach the smtp server