Duh! And there is the answer...  sorry for missing that one....

THANK YOU!!!!! Wilma is a coupel of hours away, busy putitng up shutters, changing oil in generator etc today..
Now to finish the configs on this backup server.


Steve Huff wrote:


On Oct 22, 2005, at 8:35 PM, South Computers wrote:

Wow. This could be useful very shortly. My main server is in Miami, with my backup (web server) in Ft Lauderdale. I'm about to try setting up my server to also do backup on the mail. It all looks clear, except how to tell it (the backup mail server) to deliver it all to the primary mail server. (?)


assuming the secondary is also running qmail, edit /var/qmail/control/ smtproutes and add the following line:

:primary.mail.server

this tells your secondary server to route all outgoing mail through the primary. since your secondary should not normally receive any mail, this shouldn't be a problem.

on the secondary, make sure each of the appropriate domains are in / var/qmail/control/rcpthosts but *not* in /var/qmail/control/locals or /var/qmail/control/virtualdomains (since you want the secondary to accept the mail, but not to attempt to deliver it locally, but rather to route it all on to the primary.

since you'll want your messages to stick around in the queue, create the file /var/qmail/control/queuelifetime and put the message lifetime in seconds in it, as described here:

http://www.qmailrocks.org/faq/?category=qmail#57

i think this will do it for you.  does this look good, folks?

-steve

---
If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to