- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail configuration - Forwarding to non-loc...
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
тАО10-12-2005 09:49 PM
тАО10-12-2005 09:49 PM
Sendmail configuration - Forwarding to non-local domain
Before there was just one cf file (sendmail.cf) and now there are two cf files (sendmail.cf and submit.cf).
I have a "smart" smtp server which I want to use for all mail sent to non-local addresses except for a specified list of domains.
At the moment all mail sent to non-local domains is going to the smart smtp server, including those in the specified domains.
I have set up /etc/mail/mailertable with the specified domains.
How do I configure sendmail, so that mail to the specified domains will be sent direct?
Thanks in advance, points will be given.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 11:40 PM
тАО10-12-2005 11:40 PM
Re: Sendmail configuration - Forwarding to non-local domain
http://www.sendmail.org/faq/section4.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 09:54 PM
тАО11-27-2005 09:54 PM
Re: Sendmail configuration - Forwarding to non-local domain
How do I set up sendmail (8.13.3 on HP-UX 11i) so that:-
mail to a.com and b.com get forwarded to csmtp.com
and
mail to x.com and y.com get forwarded to zsmtp.com?
Should csmtp.com and zsmtp.com be in /etc/mail/relay-domains?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 10:04 PM
тАО11-27-2005 10:04 PM
Re: Sendmail configuration - Forwarding to non-local domain
You are probably on the right track.
With sendmail there are numerous ways to get certain tasks done.
You might be able to set up masquerades in an sendmail macro file.
The best resource for this is probably the http://www.sendmail.org website. It includes expamples that you can cut and paste to deal with many situations.
What you are trying to do is on the complex side.
The receiving domains are going to have to explicity authorize relay based on your public Internet IP address.
Let me know if you need help navigating the sendmail website, I may have time later to come up with some specific pages that apply to your question. I'm posting now for two reasons:
1) I don't want you to wait for me to have time.
2) I'm waiting for lunch and don't want to start a complicated search right now.
Good Luck.
SEO
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
тАО11-27-2005 10:29 PM
тАО11-27-2005 10:29 PM
Re: Sendmail configuration - Forwarding to non-local domain
Thanks for your quick response.
In my example, csmtp.com is internal to the group of companies that I am working for and manages mail for the group.
zsmtp.com is a vendor for the application running on this server.
There should not be a problem with them receiving mail from my server.
I don't find sendmail.org easy to use. It feels like you need a sendmail training course before you could understand enough to use it.
I don't think that I want to use masquerading.
I set up the relay-domains file, but looking at the mail.log file, mails are not getting routed to these servers and I do not understand why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 11:48 PM
тАО11-27-2005 11:48 PM
Re: Sendmail configuration - Forwarding to non-local domain
Test server seems to be working OK now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 11:52 PM
тАО11-27-2005 11:52 PM
Re: Sendmail configuration - Forwarding to non-local domain
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl