Re: Local delivery in 2 SMTP hops

2000-10-22 Thread Frederico Marques

 > Hello there,

Hi,
 
> I would like our mail to be firstly delivered 
> to my organisation's DMZ (through a regular
> primary MX record), and then to make it 
> route to our internal network (private
> IP addresses).
> 
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.
> 
> Is this the proper way of doing it?
> 
> Thanks,
> jp

Yes, if you have your qmail on your DMZ, just point MX to the public address
and you can
'route' your mail with smtproutes:

rccn.net:x.x.x.x

  or 

.rccn.net:x.x.x.x for subdomains.

Cheers,
Fred

--
Frederico Marques - [EMAIL PROTECTED]
Onisolutions, SA




Re: Local delivery in 2 SMTP hops

2000-10-20 Thread Ricardo Cerqueira

On Fri, Oct 20, 2000 at 08:19:17PM +0100, [EMAIL PROTECTED] wrote:
> 
> Hello there,
> 
> I would like our mail to be firstly delivered 
> to my organisation's DMZ (through a regular
> primary MX record), and then to make it 
> route to our internal network (private
> IP addresses).
> 
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.

Yes, that's just what you want.

> 
> Is this the proper way of doing it?

I can't think of any other. Just keep in mind you still have to add the
domains to the "rcpthosts" file (but not in "locals"). And the inner
machine will also need the same "rcpthosts", plus "locals" or
"virtualdomains", depending on how you set it up.
On the optimization side, you have 2 choices:
- Either route all mail to the inner host, and let it handle everything
  (not a _bad_ idea, but...)
- Specify a route each and every domain you want forwarded in "smtproutes". 
It possibly takes some load off the inner host, and is easier to change if
you ever want to split the processing of different domains' mail through 
different mailservers.

RC

-- 
+---
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010  - Fax: +351 2 1010 4459

 PGP signature


RE: Local delivery in 2 SMTP hops

2000-10-20 Thread Alexander Jernejcic

hi,
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.
> 
> Is this the proper way of doing it?

yes, it is...
in fact, many companies hide their (e.g. m$ exchange) server that way.

;) a

==
Alexander Jernejcic  
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==



Re: Local delivery in 2 SMTP hops

2000-10-20 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I would like our mail to be firstly delivered 
> to my organisation's DMZ (through a regular
> primary MX record), and then to make it 
> route to our internal network (private
> IP addresses).
> 
> I think a "smtproute" that overrides the
> DNS configuration might do it, but I'm
> not sure.
> 
> Is this the proper way of doing it?

Yes, this is one way.  Configure the DNS so your MX record points to the public
interface of a qmail box in the DMZ.  Then in that machine's
/var/qmail/control/smtproutes, place an entry for your internal domain name
pointing to the internal-only mail server.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Local delivery in 2 SMTP hops

2000-10-20 Thread jpsp


Hello there,

I would like our mail to be firstly delivered 
to my organisation's DMZ (through a regular
primary MX record), and then to make it 
route to our internal network (private
IP addresses).

I think a "smtproute" that overrides the
DNS configuration might do it, but I'm
not sure.

Is this the proper way of doing it?

Thanks,
jp