Hehe, no NFS for me, thanks.
 
Actually, I take back what I said; I don't want to have whatever does
the SMTP AUTH on MX 10 query MX 20's database, because if MX 20 goes
down, MX 10 becomes brainless.  
 
So, actually my original plan/idea seems best:  Write two scripts:
/usr/local/sbin/vpmdump.sh and add to the crontab on the MX 10 server to
dump the vpopmail MySQL database; and then add /usr/local/sbin/vpmsql.sh
to to the crontab on the MX 20 server to get over SCP the vpopmail dump
and import it into the MySQL database.
 
My original question remains, however...  Is that all there is to it?
What is doing the SMTP AUTH?  QMail itself?  Is it patched to query
MySQL?  Is the existance of the e-mail address and a match password in
the vpopmail MySQL database all there is to SMTP AUTH working?
 

        -----Original Message-----
        From: Jake Vickers [mailto:[EMAIL PROTECTED] 
        Sent: Wednesday, January 10, 2007 1:24 PM
        To: [email protected]
        Subject: Re: [qmailtoaster] Backup MX - need strategic advice!
        

                
                That's pretty much how I think we'll do it because I do
believe these
                guys are coming from static IP addresses.  The thing is,
they have their
                own customers they'll have on this thing and I'm
guessing they'll want
                to use SMTP AUTH.  What program handles SMTP AUTH in
Qmail toaster?  Is
                SMTP AUTH based entirely on the entries in the vpopmail
database?  Can I
                change which MySQL server hostname it tries to use?  
                
                Basically, I want to see if it's possible to get the MX
10 server to use
                the vpopmail database on the MX 20 server.
                  

        Yeah, SMTP AUTH does use the table. You could build a WAN
cluster, with a shared NFS for the /home dir and have the 10 MX machine
be a slave to the 20 MX machine's mysql DB, but that gets complicated
and doesn't work well over a WAN (trust me on this - I've set a few ISPs
up and the NFS share needs to be FAST, like on a 100M LAN). I've never
really done what you're asking, and I'm hoping someone else may chime in
a little.
        

Reply via email to