Re: [vchkpw] Backup Emailserver?

2003-07-26 Thread Jens Gassmann
Hi Nick

did you use rsync an small server? What dirs must been synced? We have 
two servers but they been connected in different datacenters. So one 
maschine or datacenter fails, the other can backup the first, after the 
dns-entries are changed. the dns-server was located in an third 
datacenter and do only dns and mx-backup.

Make this constellation sense?

Greetings,

Jens

Forgive me my bad english, normaly i speak german :-)



I've got a configuration similar to the first suggestion, and have built
redundant pairs of machines using the second configuration, so let me
know if you have any more specific questions regarding these sorts of
setups.
On Fri, 2003-07-25 at 05:22, Rudi wrote:
--
Ehre die kleinen Dinge des Lebens, aus denen setzen sich die Gro├čen 
zusammen!

EMail: [EMAIL PROTECTED]
Handy: 0179-1361016
Buero: 0221-9750820



Re: [vchkpw] Backup Emailserver?

2003-07-26 Thread Tom Collins
On Friday, July 25, 2003, at 07:22  AM, Bill Sappington wrote:
I am pretty sure that even if you have two physical servers thats how 
you would set it up.  As to how to get one server to recieve 
_everything_, unconditionaly, and then every know and then look to see 
if your primary server was alive, then forward everything it had 
received to your primary server and ONLY your primary server is a 
mystery to me.
If DNS is set up correctly, you can put the domain in rcpthosts (but 
NOT in virtualdomains or locals) on the secondary server, and it will 
hold on to it until it can deliver the mail to the primary server.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



[vchkpw] Backup Emailserver?

2003-07-25 Thread Jens Gassmann
Hi,

how do you backup your emailserver forwards precipitate?  Can I backup
with rsync simply /home/vpopmail and/var/qmail/ on a second server?
About ideas and suggestion I would be pleased.

Thanks and greetings

Jens Gassmann

--
Webmaster http://www.atomix.de




Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Rudi
- Original Message 
From: Jens Gassmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: [vchkpw] Backup Emailserver?
Date: 25/07/03 12:06


 Hi,

 how do you backup your emailserver forwards precipitate?  Can I backup
 with rsync simply /home/vpopmail and/var/qmail/ on a second server?

 About ideas and suggestion I would be pleased.

 Thanks and greetings

 Jens Gassmann

 --
 Webmaster http://www.atomix.de


I've also got a question on this topic:
If I have a primary, and a backup mailserver, and the primary goes off, how
do I automatically redirect clients to the backup mailserver? And how does
one keep the username /password database synced? The other question is, what
happens when the primary comes back online again? How do clients get their
email from the backup server? Do I manually have to copy all the mail onto
the primary server again?

--

Kind Regards
Rudi Ahlers
Tradeleads IT Director
+27 (82) 926 1689




Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Nick Harring
Rudi-
If the servers are not geographically separated, then you can do this
fairly easily by simply placing them behind some sort of
load-balancing/fail-over device (Foundry, Cisco Local Director, Linux
LVS director) and either load balance them or do active/passive
failover.
For the vpopmail database, if you're using MySQL, you can simply setup
MySQL replication, however changes made to the secondary will not
replicate back to the primary when it comes back up. For that you would
need to run a third MySQL server to act as the update server which then
replicates out to both clients. When the primary server came back online
you'd simply dump the database on the update server and import that into
the client and restart replication.
Email files are even easier since you can simply use nfs on a third
server, or look into a replicating file system like Coda or Intermezzo
(both are supported in the linux kernel, but I have no real experience
with either). If you deal in small volume of email, simply rsync'ing
when the primary comes back online would probably also work, and copy
the mysql database back over wouldn't be too much trouble either.
The final option, if you have no hardware to spare for this, to handle
smtp/imap/pop3 traffic failover would be to use some of the tools from
the Linux-HA project and use a virtual IP to actually receive outside
traffic on, and have that migrate to the unfailed server in the event of
a failure.
I've got a configuration similar to the first suggestion, and have built
redundant pairs of machines using the second configuration, so let me
know if you have any more specific questions regarding these sorts of
setups.
On Fri, 2003-07-25 at 05:22, Rudi wrote:

 
 I've also got a question on this topic:
 If I have a primary, and a backup mailserver, and the primary goes off, how
 do I automatically redirect clients to the backup mailserver? And how does
 one keep the username /password database synced? The other question is, what
 happens when the primary comes back online again? How do clients get their
 email from the backup server? Do I manually have to copy all the mail onto
 the primary server again?
 
 --
 
 Kind Regards
 Rudi Ahlers
 Tradeleads IT Director
 +27 (82) 926 1689
 



Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Bill Sappington
While I am not sure exactly how this works

UUNET provides backup SMTP for me.  I have an e-mail server at my site, 
should my site go down for any particular reason they catch my e-mail, and 
then when my site is back up all the e-mail starts rolling in.

Now I know this is handled partialy by my MX record for the domain to whit:

mydomain.com

MX priority 10 mail.mydomain.com
MX priority 15 mail.myisp.com
I am pretty sure that even if you have two physical servers thats how you 
would set it up.  As to how to get one server to recieve _everything_, 
unconditionaly, and then every know and then look to see if your primary 
server was alive, then forward everything it had received to your primary 
server and ONLY your primary server is a mystery to me.  I know at one time 
that you had to perform an ETRN _from your primary server_ to get the 
backup smtp server to start sending all the stuff it collected for you 
while you were down, but I dont think that is the case anymore, your 
millage may very.

It would seem to me you would want your secondary mail server someplace 
other then on the network that your primary is should you internet 
connection go down.

On Fri, 25 Jul 2003 12:06:46 +0200, Jens Gassmann [EMAIL PROTECTED] 
wrote:

Hi,

how do you backup your emailserver forwards precipitate?  Can I backup
with rsync simply /home/vpopmail and/var/qmail/ on a second server?
About ideas and suggestion I would be pleased.

Thanks and greetings

Jens Gassmann

--
Webmaster http://www.atomix.de