On Wed May 6 2009 05:02:35 Ulrich Zehl wrote:
> In my setup, I have a hash table that's used in relay_domains, like
> so:
>
> relay_domains =
>         hash:/etc/postfix-incoming/maps/domains,
>         hash:/etc/postfix-incoming/maps/auto/domains
>
> Currently, this table is completely rebuilt from a database every
> five minutes or so, even if there are no changes. (This makes the
> programm that builds it simpler.)

I would suggest that you change the database query job to write to 
alternate files, then diff(1) against the originals and exit if no 
changes. make(1) and a Makefile might help automate it.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to