On Sun, Oct 12, 2014 at 01:43:19AM +0200, li...@rhsoft.net wrote: > just generate your map file in a temp folder, map it there and move both > files to /etc/postfix, you can easily do that for a lot of map files and > only if the result have changed compared with the ones in /etc/postfix move > them at the end and isse a one time reload
This is brittle advice, since "temp folder" would typically be read as "/tmp", which is often a different file-system than /etc/postfix, and mv(1) is NOT atomic across file-systems. It is best to use a temp-file in /etc/postfix, which is renamed without moving across directories. -- Viktor.