On Tue, Apr 10, 2001 at 12:24:51AM -0700, Ajit George wrote:
> How feasible is it to have a primary and backup, configured as you describe
> below, and be able to easily switch the backup to primary mode?
>
> I suppose there's no point unless the IMAP/POP servers on each machine stay
> in sync.
Quite. Your users, be they virtual or local Unix users, have to exist on
both machines. Then add the domain(s) either to .../qmail/control/locals
or .../qmail/control/virtualdomains and HUP qmail-send.
A comment: many people recommend against a backup (secondary) MX. It can
be argued that you don't gain anything by it - mail will be queued at
the sender's server and, once your primary (only) MX is up again,
delivery will proceed apace.
If you're down for too long, mail will bounce. The same is true of your
own secondary, unless you make provisions to deliver it somewhere else
or store it and re-inject it or other such administrative nightmare.
Tim