--- Mark Delany <[EMAIL PROTECTED]> a �crit : > On Mon,
Dec 04, 2000 at 05:35:11PM -0500, Greg Owen
> wrote:
> > > 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.
>
> But isn't it mydomaine2.com here?
>
> >
> > 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:
>
> Shouldn't that be relaymachine.mydomaine1.com?
>
>
> Regards.
I thinks my problem is related to control files
configuration.
Let my machine ( mail server in LAN) is called "local",
it's domain is localdomaine.com (not visible to internet).
All machine in Lan must connect to this machine to
send/receive mails. (for ex. the local adresse of any user
is me.localdomaine.com).
Let second server in DMZ region to be "relay" it's domaine
is relaydomaine.com. Its has an MX entree in the DNS of my
provider as : "relaydomain.com IN MX 10
relay.relaydomaine.com".
Before the attempt of relaying (i.e. masquerading the local
mail server by creating the local server) all work fine
with no prolem.
All I want to do is to allow users in my private LAN
(localdomaine.com) to senty and receive message via "local"
which must contact "relay" to get or sent incoming/sending
messages.
- in tcp.smtp of "relay" I put :
127.:allow,RELAYCLIENT=""
10.1.6.1:allow,RELAYCLIENT="" <---- ip of "local" machine
- in tcp.smtp of "local" I put :
127.:allow,RELAYCLIENT=""
10.1.6.8:allow,RELAYCLIENT="" <---- ip of "relay" machine
- smtproutes file of "relay" is:
relay.relaydomaine.com:local.localdoamine.com
- smtproutes file of "local" is:
:relay.relaydomaine.com
I testing also
local.localdoamine.com:relay.relaydomaine.com
but any does not works.
-tcpthosts file of "relay" is:
.relaydomaine.com
relaydomaine.com
.localdoamine.com
localdomaine.com
-tcpthosts file of "local" is the same.
- locals file of "relay" is
relaydomaine.com
relay
relay.relaydomaine.com
localdomaine.com
local
local.localdomaine.com
- locals file of "local" is
localdomaine.com
local
local.localdomaine.com
relaydomaine.com
relay
relay.relaydomaine.com
I have defaulthost and defaultdomain on each machine
containing it's domaine and doamine with .doamine.
Also I have plusdomain containing the domaine of eache
machine. No virtualdomain exists. In my profile file I
setting the variable MAILHOST for each machine containing
the domaine name. NO Maildir, except that of admin exist on
"relay". POP is not allowed on relay for lan user's. No
users in the Lan can contact directly "relay" machine.
Now if I sent from any machine in the Lan message to
e.g: [EMAIL PROTECTED] which must be received on the
"local" machine, the mail box is always empty.
But message sent to [EMAIL PROTECTED] reach he's Maildir
on "local" machine.
That is all my configuration.
I use tcpserver.
Thanks for any helps.
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/