On Mon, Feb 19, 2001 at 11:09:10AM -0500, seg wrote:
> 
>  Hi,
> 
>  I'd like to run a mail server on my firewall/gateway comp. That server
> would dl the messages from my ISP, sort them into accounts (one for each
> familly member)  and them each comp/user could access its proper account and
> dl the messages (from the firewall) using outlook. Is that possible to set
> up? What program, howtos or whatnot should I look into?

1) Use fetchmail (as root) to get the messages from your IPS.
   look for headers like "Envelop-To" or "Delivered-to" and make fetchmail
   use those to distinguish the real addressee and have fetchmail deliver
   them locally (via exim or procmail) into the mailbox of that addressee.

2) Set up a localnet only POP/IMAP server on your firewall and set up
   each family member's machine to get mail from the POP/IMAP server
   on that firewall.  Make sure that POP/IMAP server isn't listening
   to pop/imap requests coming from the internet, or better have a
   firewall rule prevent such connections from being setup in the
   first place.

3) Set up a MTU (e.g. exim) on your firewall using its "smarthost"
   ability to deliver all localnet mail to your IPS, and set up each
   family member's machine to use the smtp port of your firewall.
   Make sure that exim doesn't listen on the 'external' ethernet,
   or better use a firewall rule to prevent incomming smtp connections
   to succeed.

4) consider moving all the above from the firewall as this will
   increase security!

-- 
groetjes, carel

Reply via email to