On Sat, 16 Jun 2001, burrett wrote:

> Roger Arnold wrote:
:
> I have setup a machine as a backup email server with an MX of 100 while
> the main mailserver has an MX of 10.
> 
> The problem is that I don't know how to get the backup machine to
> automatically re-send all the mail to the main email server when that
> server comes back up after an outage,

This will happen automatically after a while (as described in 
<http://cr.yp.to/qmail/faq/efficiency.html#dead-hosts>),
but if you want it to happen immediately, see
<http://cr.yp.to/qmail/faq/admin.html#queuerun>.

> or for the backup server to accept
> all the email for the main server without having to assign all the email
> addresses in /etc/passwd, which would be impossible.

Just add the main server's names to control/rcpthosts. qmail-smtpd will
accept the messages and put them in the queue; since you don't have
local delivery rules, qmail-send will try to send them on to the main
server, just like any other remote delivery. Actually, you may need to use
smtproutes to make sure qmail-remote only tries to send to the main server
and not the backup.

> Would someone know of documentation/How-To's on this subject they could
> point me to, or alternatively help me to set this up please?

Surprisingly, I didn't find the above anywhere. You could try the qmail
mailing list.

hope this helps,
-- 
Daniel Biddle <[EMAIL PROTECTED]>

Reply via email to