Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DMZ MX host to forward inbound to distribution server

Status
Not open for further replies.
Apr 30, 2002
36
US
We have our MX host (mxhost.domain.com) located within our DMZ. We also have an internal email distribution server (int-mailhost.domain.com) on our internal lan with several Exchange servers holding mailboxes for end users. We are also hosting email for several domains.

This is what I would like to do:

I would like mxhost.domain.com to receive all email destined for any of my domains (maildomain1.com, maildomain2.com, etc), which it will then process through Spam Assassin and some other scripts that we are writing to analyze email. I can probably figure out the SA configuration, but I have a question about routing....

I would like mxhost.domain.com, once it has finished filtering all email through spam assassin and our other scripts to then forward the email, regardless of email domain, to int-mailhost.domain.com. I would be using fastforward on int-mailhost.domain.com to then distribute the mail to each of our exchange servers (example user1@maildomain1.com:user1@exchange_server1).

Basically, I want all mail for a valid domain that we host to be passed from mxhost.domain.com to int-mailhost.domain.com where it's then distributed to our exchange servers.

Can qmail do straight passing like this from mxhost or is there something else I need to do?

Thanks!



Craig J Matthews
System Administrator, Genesis Group
craigm@genesisgroup.com
 
I think you want the mx. host to include your domains in a 'rcpthosts' file but not include them into 'locals', 'me' or 'virtual...'
Then, I think, you need to include 'smtproutes' entries for each 'rcpthosts' domain to ultimately forward the message to the actual mail servers.

You are building a "mail gateway". Try googling for ["mail gateway" qmail]

Good luck


"Surfinbox Shares" - A fundraising program that builds revenue from dialup Internet users.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top