RE: [vchkpw] RE: Redundant server

2004-06-04 Thread Rainer Duffner
Am Do, 2004-06-03 um 17.49 schrieb David Petruzzella:
 Basically yes but the other half of the cluster would be at a
 different office.

So you want to replicate all account data and email-boxes to the other
office, too ?

As described, you can have a master-mysql-server and any number of
slaves, but there's usually only one NFS-server for the maildirs.

I think NetworkAppliance sells software for their NetApp Filers to
replicate them and create a high-availability configuration even for
NFS.

But usually, if you have to ask about something like that, it's allready
too expensive ;-)




Rainer




[vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella








Has anyone who is running vpopmail/qmail/mysql
created a backup/redundant or even a secondary server for the same domains? Im
looking to do that and I was wondering if there was any documentation
available. Also is there any documentation
I can read on how to properly backup the e-mails, users, config
files on the setup stated above. I
am running that on redhat 9. Any assistance will be greatly
appreciated.








Re: [vchkpw] RE: Redundant server

2004-06-03 Thread James Treworgy
This doesn't have anything to do with vpopmail. Very simple
qmail config. On your secondary server, add the domains for which you
are running backup to rcpthosts. Then add the backup server as a lower
priority MX to your DNS. The qmail server on the backup machine will
accept the mail, realize they are not locals (since they are NOT found
in virtualdomains on the backup server) and forward them to the
primary.

Not sure what you mean about backing up the secondary, this doesn't
really have to do with this service. However you back up the server in
general ought to be just fine for backing up any queued mail as well.

-- Jamie

Thursday, June 3, 2004, 11:31:30 AM, you wrote:

DP Has anyone who is running vpopmail/qmail/mysqlcreated a
DP backup/redundant or even a secondary server for the same domains?
DP I’mlooking to do that and I was wondering if there was any
DP documentationavailable.  Also is there any documentationI can read
DP on how to properly backup the e-mails, users, configfiles on the
DP setup stated above.  Iam running that on redhat 9.  Any assistance
DP will be greatlyappreciated.







-- 
Best regards,
 Jamesmailto:[EMAIL PROTECTED]



Re: [vchkpw] RE: Redundant server

2004-06-03 Thread James Treworgy
On second reading I may have misunderstood your question, are you
trying to load balance between two servers for a single domain?

If that is the case a pretty simple solution would be to split up
addresses using subdomains. That is, at the bottom line you have
mail1.domain.com, and mail2.domain.com and divide the
addresses among these. So you could have different users in the same
TLD on different servers. It would probably be easy enough to set
something up to route mail sent to [EMAIL PROTECTED] to the correct
final destination so users wouldn't need to use [EMAIL PROTECTED]
as their email address.

-- Jamie

Thursday, June 3, 2004, 11:31:30 AM, you wrote:

DP Has anyone who is running vpopmail/qmail/mysqlcreated a
DP backup/redundant or even a secondary server for the same domains?
DP I’mlooking to do that and I was wondering if there was any
DP documentationavailable.  Also is there any documentationI can read
DP on how to properly backup the e-mails, users, configfiles on the
DP setup stated above.  Iam running that on redhat 9.  Any assistance
DP will be greatlyappreciated.







-- 
Best regards,
 Jamesmailto:[EMAIL PROTECTED]



RE: [vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella
The reason why I asked about the script, is because backups are done by
a different machine. And my apologies for sending an off topic message,
but thank you for your reply you gave me a starting point.

-Original Message-
From: James Treworgy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 11:26 AM
To: David Petruzzella
Cc: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE: Redundant server

This doesn't have anything to do with vpopmail. Very simple
qmail config. On your secondary server, add the domains for which you
are running backup to rcpthosts. Then add the backup server as a lower
priority MX to your DNS. The qmail server on the backup machine will
accept the mail, realize they are not locals (since they are NOT found
in virtualdomains on the backup server) and forward them to the
primary.

Not sure what you mean about backing up the secondary, this doesn't
really have to do with this service. However you back up the server in
general ought to be just fine for backing up any queued mail as well.

-- Jamie

Thursday, June 3, 2004, 11:31:30 AM, you wrote:

DP Has anyone who is running vpopmail/qmail/mysqlcreated a
DP backup/redundant or even a secondary server for the same domains?
DP I?mlooking to do that and I was wondering if there was any
DP documentationavailable.  Also is there any documentationI can read
DP on how to properly backup the e-mails, users, configfiles on the
DP setup stated above.  Iam running that on redhat 9.  Any assistance
DP will be greatlyappreciated.







-- 
Best regards,
 Jamesmailto:[EMAIL PROTECTED]





RE: [vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella









Basically yes but the other half of the
cluster would be at a different office.



-Original
Message-
From: Patrick Donker
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004
11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE:
Redundant server



David Petruzzella wrote:



Has anyone who is running vpopmail/qmail/mysql created a
backup/redundant or even a secondary server for the same domains? Im
looking to do that and I was wondering if there was any documentation
available. Also is there any documentation I can read on how to properly
backup the e-mails, users, config files on the setup stated above. I am
running that on redhat 9. Any assistance will be greatly appreciated.

Redundant as in Cluster?
There should be a cluster-howto available at tldp.org








RE: [vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella
Thanks for the reply is there a document I can read some place?

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE: Redundant server

On Thursday 03 June 2004 10:31 am, David Petruzzella wrote:
 Has anyone who is running vpopmail/qmail/mysql created a
 backup/redundant or even a secondary server for the same domains? I'm
 looking to do that and I was wondering if there was any documentation
 available.  Also is there any documentation I can read on how to
 properly backup the e-mails, users, config files on the setup stated
 above.  I am running that on redhat 9.  Any assistance will be greatly
 appreciated.

You can do most of it with an rsync setup. 
Rsync these directories over to the other machine
/var/qmail/control
/var/qmail/users
/home/vpopmail/domains
Be sure to have rsync delete files that don't exist on
the first machine. 

On the second machine don't use the virtualdomains
file. Instead have an smtproutes file to forward everything
over to the first machine.

In case of a failure of the first machine: on the second
machine put the virtualdomains file in place (from the
first machine) and remove the smtproutes file. 

It is easier if you use cdb, but if you need to use mysql,
setup mysql to replicate from the first machine to the
second machine. I'd recommend turning off auth_logging
if possible. That will signficantly reduce the replication
traffic.

If you have three machines use a standard cluster setup
with the third machine as an NFS server mounting the
/home/vpopmail/domains directory. 

Hope that helps,
Ken Jones





Re: [vchkpw] RE: Redundant server

2004-06-03 Thread Ken Jones
On Thursday 03 June 2004 10:55 am, David Petruzzella wrote:
 Thanks for the reply is there a document I can read some place?

I think you just got it :)

Seriously, not that I know of. 


 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 03, 2004 11:40 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] RE: Redundant server

 On Thursday 03 June 2004 10:31 am, David Petruzzella wrote:
  Has anyone who is running vpopmail/qmail/mysql created a
  backup/redundant or even a secondary server for the same domains? I'm
  looking to do that and I was wondering if there was any documentation
  available.  Also is there any documentation I can read on how to
  properly backup the e-mails, users, config files on the setup stated
  above.  I am running that on redhat 9.  Any assistance will be greatly
  appreciated.

 You can do most of it with an rsync setup.
 Rsync these directories over to the other machine
 /var/qmail/control
 /var/qmail/users
 /home/vpopmail/domains
 Be sure to have rsync delete files that don't exist on
 the first machine.

 On the second machine don't use the virtualdomains
 file. Instead have an smtproutes file to forward everything
 over to the first machine.

 In case of a failure of the first machine: on the second
 machine put the virtualdomains file in place (from the
 first machine) and remove the smtproutes file.

 It is easier if you use cdb, but if you need to use mysql,
 setup mysql to replicate from the first machine to the
 second machine. I'd recommend turning off auth_logging
 if possible. That will signficantly reduce the replication
 traffic.

 If you have three machines use a standard cluster setup
 with the third machine as an NFS server mounting the
 /home/vpopmail/domains directory.

 Hope that helps,
 Ken Jones


RE: [vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella
Ok thanks for the help

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE: Redundant server

On Thursday 03 June 2004 10:55 am, David Petruzzella wrote:
 Thanks for the reply is there a document I can read some place?

I think you just got it :)

Seriously, not that I know of. 


 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 03, 2004 11:40 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] RE: Redundant server

 On Thursday 03 June 2004 10:31 am, David Petruzzella wrote:
  Has anyone who is running vpopmail/qmail/mysql created a
  backup/redundant or even a secondary server for the same domains?
I'm
  looking to do that and I was wondering if there was any
documentation
  available.  Also is there any documentation I can read on how to
  properly backup the e-mails, users, config files on the setup stated
  above.  I am running that on redhat 9.  Any assistance will be
greatly
  appreciated.

 You can do most of it with an rsync setup.
 Rsync these directories over to the other machine
 /var/qmail/control
 /var/qmail/users
 /home/vpopmail/domains
 Be sure to have rsync delete files that don't exist on
 the first machine.

 On the second machine don't use the virtualdomains
 file. Instead have an smtproutes file to forward everything
 over to the first machine.

 In case of a failure of the first machine: on the second
 machine put the virtualdomains file in place (from the
 first machine) and remove the smtproutes file.

 It is easier if you use cdb, but if you need to use mysql,
 setup mysql to replicate from the first machine to the
 second machine. I'd recommend turning off auth_logging
 if possible. That will signficantly reduce the replication
 traffic.

 If you have three machines use a standard cluster setup
 with the third machine as an NFS server mounting the
 /home/vpopmail/domains directory.

 Hope that helps,
 Ken Jones





Re: [vchkpw] RE: Redundant server

2004-06-03 Thread Jeremy Kitchen
On Thursday 03 June 2004 10:55 am, David Petruzzella wrote:
 Thanks for the reply is there a document I can read some place?

if you can read my mind, sure. :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] RE: Redundant server

2004-06-03 Thread Lucas G. Obredor



Dear David,
  
I'm 
running vpopmail/qmail and i find one solution to backup all the users, and in 
case the server goes down, i can save all my users, but it's not automatic, i 
mean it isn't redundant but it works fine


Lucas G. ObredorSistemasDivisión Banda AnchaTel. 4469-7477 Int 
(2130)

  - Original Message - 
  From: 
  David 
  Petruzzella 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, June 03, 2004 12:31 
  PM
  Subject: [vchkpw] RE: Redundant 
  server
  
  
  Has anyone who is running vpopmail/qmail/mysql created a backup/redundant or even a 
  secondary server for the same domains? I’m looking to do that and I was 
  wondering if there was any documentation available. Also is there any documentation I can 
  read on how to properly backup the e-mails, users, config files on the setup stated above. I am running that on redhat 9. Any 
  assistance will be greatly 
appreciated.


RE: [vchkpw] RE: Redundant server

2004-06-03 Thread David Petruzzella









What solution?



-Original Message-
From: Lucas G. Obredor
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE:
Redundant server





Dear David,






   
 I'm running vpopmail/qmail and i find one solution to backup
all the users, and in case the server goes down, i can save all my users, but it's
not automatic, i mean it isn't redundant but it works fine

















Lucas G. Obredor
Sistemas
División Banda Ancha
Tel. 4469-7477 Int (2130)







- Original Message - 





From: David
Petruzzella 





To: [EMAIL PROTECTED]






Sent: Thursday, June 03, 2004 12:31 PM





Subject: [vchkpw]
RE: Redundant server









Has anyone who is running
vpopmail/qmail/mysql created a backup/redundant or even a secondary server for
the same domains? Im looking to do that and I was wondering if there was
any documentation available.  Also is
there any documentation I can read on how to properly backup the e-mails,
users, config files on the setup stated above. 
I am running that on redhat 9. 
Any assistance will be greatly appreciated.










Re: [vchkpw] RE: Redundant server

2004-06-03 Thread Lucas G. Obredor



Well, i make a tar.gz file with the crontab of 
the /home/vpopmail, where the mailboxes are, but the only important thing is the 
file called "vpasswd", with this file you can make a cvs file like this one 


./vadduser 
-q "quota" [EMAIL PROTECTED] 
password

only with this information, imagine you have a 
larger file, for example more than 100 lines like this one, once you have 
created this file you only have to run it in the new server, with the vpopmail 
and qmail installed and it creates all the users again.



Lucas G. ObredorSistemasDivisión Banda AnchaTel. 4469-7477 Int 
(2130)

  - Original Message - 
  From: 
  David 
  Petruzzella 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, June 03, 2004 3:38 
  PM
  Subject: RE: [vchkpw] RE: Redundant 
  server
  
  
  What 
  solution?
  
  -Original 
  Message-From: Lucas G. 
  Obredor [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 
  2004 2:18 
  PMTo: [EMAIL PROTECTED]Subject: Re: [vchkpw] RE: Redundant 
  server
  
  
  Dear 
  David,
  

  
  I'm running vpopmail/qmail and i find one solution to backup all the users, 
  and in case the server goes down, i can save all my users, but it's not 
  automatic, i mean it isn't redundant but it works 
  fine
  
  
  
  
  
  Lucas G. ObredorSistemasDivisión 
  Banda AnchaTel. 4469-7477 Int (2130)
  

- Original Message - 


From: David 
Petruzzella 

To: [EMAIL PROTECTED] 


Sent: 
Thursday, June 03, 
2004 12:31 
PM

Subject: 
[vchkpw] RE: Redundant server


Has anyone who is running 
vpopmail/qmail/mysql created a backup/redundant or even a secondary server 
for the same domains? I’m looking to do that and I was wondering if there 
was any documentation available. 
Also is there any documentation I can read on how to properly backup 
the e-mails, users, config files on the setup stated above. I am running that on redhat 9. Any assistance will be greatly 
appreciated.