> Since a week I'm trying to configurating two
> mail server based on qmail. One as Relay (in my DMZ) and
> the second in my LAN. A scheme is better:
> Routeur----Switch-----DMZ <--(Relay is here)
> |
> |
> Firewall
> |
> |
> LAN (local mail server)
Let's assume we have relay.example.com in the DMZ and
mail.example.com on the LAN.
External DNS records should have an MX record listing
relay.example.com as the mail exchanger for example.com.
relay.example.com should allow relay by mail.example.com, but not
from anyone else (see http://www.palomine.net/qmail/relaying.html and
http://www.palomine.net/qmail/selectiverelay.html).
relay.example.com should have the following files set as follows:
rcpthosts:
example.com
"I accept mail for example.com"
smtproutes:
example.com:mail.example.com
"I forward all mail for example.com to mail.example.com"
mail.example.com should have the following:
rcpthosts:
example.com
"I accept mail for example.com"
locals:
example.com
"Mail for example.com is delivered locally"
smtproutes:
:relay.example.com
"Everything not delivered locally is forwarded to relay.example.com
for relay"
--
gowen -- Greg Owen -- [EMAIL PROTECTED]
SoftLock.com is now DigitalGoods!