[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    Re: distributing aliases
From:       Rich Derr <rhd () emptysky ! com>
Date:       1998-07-25 6:22:39
[Download RAW message or body]

On Fri, 24 Jul 1998, Stuart Kendrick wrote:

> I'd like to use rsync to distribute /etc/aliases across my mail relays.
> 
> Is anyone else doing this?

   I am doing the equivalent qmail things with it.

> I've run into fascinating problems doing this via simple cp from an NFS-mounted
> source directory.  Evidently, copying the aliases file takes finite time ...
> sendmail rebuilds the aliases database from a partial copy of the aliases file
> .. this leads to bouncing mail messages, during short windows, before the copy
> completes.  Currently, I shutdown sendmail before copying aliaes, restart it
> after I am confident that the copy has completed.  I would like to avoid this
> shutdown/restart, I am hoping that I can with rsync ... but am looking for
> other people's experiences.

   rsync uses a temporary file to do this properly.  This happens to
be the single reason why I use rsync right now.

-- 
Rich Derr,
President,
Empty Sky Consulting

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic