- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mail relay is denying delivery
Operating System - HP-UX
1755658
Members
3639
Online
108837
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-19-2005 03:48 AM
тАО01-19-2005 03:48 AM
How can I configure sendmail to do its own delivery? Every time our corporate IT make a change on the network (every couple of months) our mail stops delivering to outside addresses. I want to skip the relay and just do the MX lookups and delivery on HP/UX server itself.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 11:45 PM
тАО01-23-2005 11:45 PM
Re: mail relay is denying delivery
Hi John
I assume in the /etc/mail/sendmail.cf you are using a smart relay host (DS record)?
It should just be a case of ensuring that the DS is not set, the DM and Dj variables are correctly set and that you have DNS resolution working (i.e. you have external DNS resolvers set in the /etc/resolv.conf file). You will also need SMTP firewall ports opened (if applicable).
Keith
I assume in the /etc/mail/sendmail.cf you are using a smart relay host (DS record)?
It should just be a case of ensuring that the DS is not set, the DM and Dj variables are correctly set and that you have DNS resolution working (i.e. you have external DNS resolvers set in the /etc/resolv.conf file). You will also need SMTP firewall ports opened (if applicable).
Keith
Arse-cover at all costs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2005 01:20 AM
тАО01-24-2005 01:20 AM
Solution
Requirements:
1) You must be able to resolve DNS on the server. dig yahoo.com or nslookup yahoo.com If you get a valid answer move to the next item. If not, you may need to change /etc/resolv.conf to DNS servers that provide such answers.
2) Take the DS entry out of sendmail.cf.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
3) sendmail -v -d8.99 -d38.99 someone@yahoo.com
type some text
.
Does the mail get accepted or is it queued. If its queued, you have more work to do.
Factors to consider:
1) Firewall may not let your IP address use port 25 outbound. If so, you are done unless you can get organization policy changed.
2) If 1) is not a factor, lots of mail systems like aol and mine, won't accept mail from hosts without valid reverse lookup addresses. Also, the actual domain name of the server may need to be resolvable on the public Internet. Otherwise your mail will bounce or go into the bit bucket.
The hostname issue can be resolved with the hostname line in /etc/rc.config.d/netconf or the Dj directive in sendmail.cf
There are other factors that can make this a fun and meaningful learning experience.
SEP
1) You must be able to resolve DNS on the server. dig yahoo.com or nslookup yahoo.com If you get a valid answer move to the next item. If not, you may need to change /etc/resolv.conf to DNS servers that provide such answers.
2) Take the DS entry out of sendmail.cf.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
3) sendmail -v -d8.99 -d38.99 someone@yahoo.com
type some text
.
Does the mail get accepted or is it queued. If its queued, you have more work to do.
Factors to consider:
1) Firewall may not let your IP address use port 25 outbound. If so, you are done unless you can get organization policy changed.
2) If 1) is not a factor, lots of mail systems like aol and mine, won't accept mail from hosts without valid reverse lookup addresses. Also, the actual domain name of the server may need to be resolvable on the public Internet. Otherwise your mail will bounce or go into the bit bucket.
The hostname issue can be resolved with the hostname line in /etc/rc.config.d/netconf or the Dj directive in sendmail.cf
There are other factors that can make this a fun and meaningful learning experience.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО01-24-2005 01:39 AM
тАО01-24-2005 01:39 AM
Re: mail relay is denying delivery
Thanks to both people who responded to my question. As it turns out, I should have RTFM before posing my question. The man page for sendmail essentailly gave me the options to have sendmail deliver via SMTP. I guessed at removing the setting for the "smart relay" to have it default to deliver for itself. Everything else it seems was already configured properly. Thanks again for pointing me in the right direction and helping me understand all of what I did to get it working.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP