Security Basics mailing list archives
Re: Protecting an Exchange server?
From: Ed Budd <ebudd () grokking org>
Date: Thu, 20 May 2004 14:40:37 -0400
On Thu, 20 May 2004 06:57:38 -0700 "Randy Johnson" <randyj () holydiver com> wrote:
I'm greatly interested in this thread, and have a couple questions for the group. I am currently needing to try to do this with Sendmail (in the long term I plan to migrate to Postfix, but for now it's gotta be Sendmail). In the past, I've done this with the 'SmartHost' directive (as someone had alluded to in the previous thread) but now it appears that isn't the'correct' way, and I should use the 'Mailers' table ?
I've done this with FreeBSD 5.1 running Sendmail 8.12.9 and Exchange 2000: 1. Add the relevant domain(s) to the local-host-names file so sendmail recognizes the mail recipients as local and not an attempt at third-party relay; 2. Add entries for each domain name you need to mailertable like so (the square brackets are necessary in the latter case) @domainname esmtp:exchange.hostname OR @domainname esmtp:[ipaddress.of.exchange.server] Do the standard make maps, restart sendmail routine relevant to your platform and version. Then make the sendmail relay the 'smarthost' in the smtp virtual host settings on exchange and add the exchange server to the the access file so sendmail accepts relaying for it. If you use SMTP AUTH on the sendmail relay you'll need to set this up through the use of an smtp connector. I've used a special user account for this purpose. Then do the standard make maps, restart sendmail routine relevant to your platform and version. Hope that helps, EB --------------------------------------------------------------------------- Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off any course! All of our class sizes are guaranteed to be 10 students or less to facilitate one-on-one interaction with one of our expert instructors. Attend a course taught by an expert instructor with years of in-the-field pen testing experience in our state of the art hacking lab. Master the skills of an Ethical Hacker to better assess the security of your organization. Visit us at: http://www.infosecinstitute.com/courses/ethical_hacking_training.html ----------------------------------------------------------------------------
Current thread:
- Re: Protecting an Exchange server?, (continued)
- Re: Protecting an Exchange server? Barrie Dempster (May 17)
- Re: Protecting an Exchange server? Michael Gale (May 18)
- Re: Protecting an Exchange server? Michael Gale (May 17)
- Re: Protecting an Exchange server? Jamie Pratt (May 18)
- Protecting an Exchange server? bob martin (May 14)
- RE: Protecting an Exchange server? Depp, Dennis M. (May 14)
- RE: Protecting an Exchange server? Micro Kluge (May 14)
- RE: Protecting an Exchange server? Michael Dunn (May 14)
- RE: Protecting an Exchange server? Hunt, Jim (May 14)
- RE: Protecting an Exchange server? Randy Johnson (May 20)
- Re: Protecting an Exchange server? Ed Budd (May 21)
- RE: Protecting an Exchange server? Randy Johnson (May 20)
- RE: Protecting an Exchange server? Depp, Dennis M. (May 17)
- RE: Protecting an Exchange server? Peter Mueller (May 17)
- RE: Protecting an Exchange server? Jose Enrique Diaz Jolly (May 17)
- Re: Protecting an Exchange server? Depp, Dennis M. (May 18)
- RE: Protecting an Exchange server? Chris Santerre (May 18)
- RE: Protecting an Exchange server? Jose Enrique Diaz Jolly (May 25)
- RE: Protecting an Exchange server? Jose Enrique Diaz Jolly (May 25)
- Re: Protecting an Exchange server? Barrie Dempster (May 17)