RE: Email and DMZs (iptables)?
From: John Walker (john@jsw4.net)Date: 09/08/01
- Previous message: Kain: "Re: NAT tables maintained by IPTables"
- Maybe in reply to: Steve Wampler: "Email and DMZs (iptables)?"
- Next in thread: Brian Cervenka: "RE: Email and DMZs (iptables)?"
- Reply: Brian Cervenka: "RE: Email and DMZs (iptables)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Message-ID: <E1A7D4B021C4D21196C000201828BA641F81C6@ATSU> From: John Walker <john@jsw4.net> To: 'Brian Cervenka' <brian@zerobelow.org>, "'focus-linux@securityfocus.com'" <focus-linux@securityfocus.com> Subject: RE: Email and DMZs (iptables)? Date: Fri, 7 Sep 2001 18:53:22 -0400
> -----Original Message-----
> From: Brian Cervenka [mailto:brian@zerobelow.org]
> Sent: Friday, September 07, 2001 4:35 PM
> To: focus-linux@securityfocus.com
> Subject: Re: Email and DMZs (iptables)?
>
>
> > 2. Server inside _FETCHES_ emails from server outside DMZ.
>
> This would be wonderful to implement. Short of using something like
> fetchmail or whatever, and running a pop server in the server
> outside, how
> do you implement this?
>
> I guess you could also use uucp? (haven't used that, but it
> looks like it
> can do that).
Disclaimer: I haven't done this in a while. If I have missed something, I'm
sure someone will point it out.
Take look at the SMTP command "ETRN". (rfc1985)
Basically the inside server, (which can never be reached) is the primary MX,
but mail always gets delivered from the outside world to the second priority
MX, which is the server in the DMZ.
The inside SMTP server periodically sends an ETRN to the DMZ SMTP server to
process the queue. Since the DMZ server can't do anything with the mail, it
just holds it until the inside server says "hello, I'll take that now."
(ETRN)
(... it can't do anything with the mail because, among other reasons, there
are few or no accounts on that box, right? ;) ...)
Setup the inside server to relay OUT over the DMZ server.
All inside clients get POP3 and SMTP from inside server. (Actually you can
do an Exchange server relatively safely here...)
John Walker
- Previous message: Kain: "Re: NAT tables maintained by IPTables"
- Maybe in reply to: Steve Wampler: "Email and DMZs (iptables)?"
- Next in thread: Brian Cervenka: "RE: Email and DMZs (iptables)?"
- Reply: Brian Cervenka: "RE: Email and DMZs (iptables)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|