At 10:11 AM 11/26/99 +0300, Ant wrote:
>I want to replicate a pop mailboxes but I don't know how.
Set up POP service on both machines. Map both their IP addresses to the POP
server name. Then use rsync to make sure the mail spools match. This is a
simple solution and there are problems.
1) Both machines have to have the same user accounts unless you go with qpop
2) If one dies, the R-R DNS will give out the dead address 50% of the time
A better solution is to setup two POP machines which mount the mail spool
off a third NFS machine. This NFS server should be RAID-5. Between your
users and these POP machines put a firewall/proxy. It is this proxy that
will split up the traffic between them and know if one dies.
But that may be overkill. Really, your best bet is to just use rsync to
keep a backup copy of the mail spool on another harddrive and if the machine
dies, stick the backup mail spool in a "hot spare" POP server. Having the
kind of fault tolerant POP service you're thinking of is a non-trivial exercise.
__ _____ ____ ____ ____ _____ _ _ ___ ____
| | | \ | \ | \ / | \\ / / \ | \
| | |___/ |__ |___/ | \_/ | | |___/
| | | \ | | \ | | | | | \
|___/__|__ |____/ |___/ | \ | | \___/ | \
_____ ____ __ _____ _ _ _
| \ | \ /\ / | \ / \ |
| | |__ /__\ | |____| |
| | | / \ | | | |
|____/ |___/ \ / | \ / o