Results 1 to 3 of 3
  1. #1

    Issue concerning rsync of /var/qmail/mailnames/

    Hi. I have two servers (primary and a secondary) with a DNS failover through DNSMADEEASY. When the primary fails, traffic is automatically redirected to the secondary.

    I rsync /var/qmail/mailnames/ (with --delete option) several times per day, from the primary to the secondary, in order that clients have their mail up to date should there be a failure on the main server.

    THE ISSUE: After a failure, when the primary comes back to life, the cron automatically starts rsync again, with the --delete option, and it deletes on the secondary all mails received during the failure period.

    Any ideas on how could I avoid this problem? (in other words, I wonder how could I get the rsync cron NOT to start automatically after the server has undergone a complete or an apache / qmail failure).

    Many thanks in advance!

  2. #2
    Join Date
    May 2012

  3. #3

    Syncronize Mailnames with UNISON

    Thanks Kevincheri. I hadn't considered that solutiona at all, and it makes a lot of sense. I'm researching the best way to do this.

    On the other hand, I've come across UNISON.

    Do you think UNISON could be suitable for keeping the mailnames directories in both servers sincronized with the latest mail versions, even in the case of server failures / recoveries?

Similar Threads

  1. Qmail installation issue
    By cannibal in forum Hosting Security and Technology
    Replies: 1
    Last Post: 12-08-2013, 01:05 PM
  2. qmail /var/qmail/control/rblhosts
    By angathan in forum Managed Hosting and Services
    Replies: 5
    Last Post: 09-16-2009, 08:54 AM
  3. Qmail issue
    By NameSniper in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-15-2005, 04:29 AM
  4. help - ssh / qmail issue
    By webvillain in forum Hosting Security and Technology
    Replies: 1
    Last Post: 12-01-2003, 09:53 PM
  5. Qmail issue
    By loryans in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-09-2001, 11:08 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts