E-Mail Proxy?

2003-07-12 Thread Justin P. Michel
Greetings,

I have a FreeBSD 5.1 server running, and it's acting as a NAT server for an internal 
network. It's also running SAMBA, and acting as a back-up server.  What I would like 
to do is have e-mail accounts on the FreeBSD server, that, fetch e-mail from regular 
accounts (POP3) on another server, from the Internet.  Then, users on the LAN would 
set their e-mail clients to receive mail from the FreeBSD server.

Thus, I would still have a copy of all the e-mail on the FreeBSD server for back-up.

Is this possible/feasible?  And, which ports should I be looking at?  Even better, if 
there is a web page with setup info from someone that has already done this, please 
forward me the URL.

Regards,

Justin P. Michel
-- J Continuum
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: E-Mail Proxy?

2003-07-12 Thread lewiz
On Sat, Jul 12, 2003 at 11:49:54AM -0400, Justin P. Michel wrote:
 Is this possible/feasible?  And, which ports should I be looking at?  Even better, 
 if there is a web page with setup info from someone that has already done this, 
 please forward me the URL.

Absolutely, I do this using regular MTA/MDA software.  mail/fetchmail is
the obvious -- this retrieves mail from remote POP/IMAP (lots of
variants) servers and can do many things from there.  I have it reinject
the messages to a local SMTP server, which is considered to treat the
domains as local (this also means that somebody sending mail to a local
recipient does not have the mail travel over the Internet in order to be
received).  Exim or Postfix are good choices, although stock Sendmail
will also do the job.  One note: you must have a local account for each
and every user (I assume you already have this if you are using SAMBA).
You could also use LDAP (with Exim and Postfix, at any rate) instead.

The next issue is the POP/IMAP servers: I use Courier-IMAP (which
provides both POP and IMAP, with optional SSL) -- this is much better
than WU IMAPd -- it supports both Maildir and mbox, as well as having a
smaller footprint.  It is also more configurable (again, LDAP is
supported).

  Hope that's some help,

-lewiz.

P.S.
  A final note: if the remote MUA (e.g. Outlook) is not configured to
leave mail on server you will not have the backup of mail that you
desire.  This can be configured, but a better solution would be to use
IMAP, where all mail is left on server.

-- 
Overload -- core meltdown sequence initiated.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature