Cool! So don't add any domains in mysql either, correct? I was about to import all users/domains from my primary before i read this... that was close:-)



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]





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

Reply via email to