- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail configuration problems
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
тАО06-16-2005 12:26 PM
тАО06-16-2005 12:26 PM
I'm currently in the process of building a new bastion host to handle all incoming mail for the company.
Essentially, it will live in the DMZ and perform some high level, basic checks on the emails like:
Size is < 100MB, mail is destined for either domain1.com, domain2.com, domain3.com or else discard i.e. no relaying, and basic reverse lookup of originating sender to ensure it's a valid host
All mail that passes these checks is forwarded on to a windows mail server on the internal network which does all of the spam filtering, lower level stuff. None of the mail will be delivered to the local host, all passed on to the windows mail server for processing.
I'm having trouble making sendmail accept mail for these three domains and then relaying all mail to the windows server... it's trying to deliver all mail locally.
I've tried using relay-domains file and defining the domains in this file but no luck.
I've tried defining LOCAL_DOMAIN(`domain1.com'), LOCAL_DOMAIN(`domain2.com') etc. in sendmail.mc (Or C{w}domain1.com in old sendmail.cf speak).
This appeared to work as sendmail was then accepting mail which was destined for these domains and rejecting any mail destined for other domains but still it was trying to deliver mail locally.
I've got the windows server setup as the smart relay and I've removed the MAILER(`local') entry from sendmail.mc, leaving only MAILER(`smtp') so I would expect everything to be being passed through to the relay?
Sendmail version is 8.12.10
What am I missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2005 02:32 PM
тАО06-16-2005 02:32 PM
Re: Sendmail configuration problems
/etc/mail/access
domain1.com RELAY
domain2.com RELAY
domain3.com RELAY
You should also have FEATURE(`access_db', `hash /etc/mail/access') in your m4 file.
# makemap hash /etc/mail/access < /etc/mail/access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2005 05:30 PM
тАО06-16-2005 05:30 PM
Re: Sendmail configuration problems
Am I able to add an entry which rejects all mail addressed to any other domain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2005 05:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2005 05:58 PM
тАО06-16-2005 05:58 PM
Re: Sendmail configuration problems
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 07:01 PM
тАО06-17-2005 07:01 PM