Hi,

I have a small LAN (7 computers) connected through FreeBSD
dial-up server to Internet. Internet connection is automatically 
established a few times a day. Architecture looks like this:

                          ISP
                           |
                     --------------
                     | FreeBSD GW |
                     --------------
                           |
-------------   -------------         -------------
| LAN BOX 1 | - | LAN BOX 2 | - ... - | LAN BOX 7 |
-------------   -------------         -------------


What I would like to do is following:

1. Have POP3/IMAP server on FreeBSD GW. This server should
   download messages from various accounts on Internet servers
   when dial-up link to ISP is up, and it should place them
   in corresponding local mailboxes thus allowing LAN boxes
   to retrieve mail from FreeBSD GW even when it's not connected
   to Internet.

2. Have SMTP server on FreeBSD GW. This server should cache
   all outgoing messages and send them when dial-up link to ISP
   goes up (probably using ISP's SMTP server, or, if it is no
   harm, send them directly). When the dial-up link is up, it
   should send any received messages immediately and not wait
   for next time dial-up link goes up.

3. Messages which are addressed to mailboxes which are later
   downloaded to local POP3/IMAP server should never be sent
   to Internet but instead immediately sent to corresponding
   local mailboxes (no matter what is the status of the dial-up
   link).

I am pretty sure qmail together with some addons is capable
of doing this. I would appreciate your opinion on what
combination of what packages is best for this scenario. It
is my first attempt to implement such system and have minimal
experience with it although I use qmail in many other scenarios.

Thanks very much for your opinions.

-md-

Reply via email to