On Fri, 31 Jul 2009, Gary Smith wrote:

> A client uses hash files for transport and access on a couple relays.  When
> I need to make a change to one of these files I typically just edit it and
> then do a postmap whatever.  On one of the machines it doesn't seem to
> pickup the change until I restart postfix (it's an older machine with an
> older version of postfix on it -- which I'm working on the upgrade plan
> for).
> 
> Can someone confirm that we only need to postmap something and not restart
> the entire subsystem? At least, that's been my understanding for years
> anyway.

>From DATABASE_README:

 If you change a local file based database such as DBM or Berkeley DB, there
 is no need to execute "postfix reload". Postfix uses file locking to avoid
 read/write access conflicts, and whenever a Postfix daemon process. notices
 that a file has changed it will terminate before handling the next client
 request, so that a new process can initialize with the new database.

By any chance, are you "testing" the change by using the same lookup key?

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to