On 2/19/2014 2:13 AM, Fredrik Sandström wrote:
> Hi,
> 
> A strange problem has surfaced in my mail system, running postfix 2.6.6
> on Red Hat EL 6. When an alias file has been updated, and postalias run,
> the system will incorrectly reject SOME (not all) mail with "User
> unknown" for a short while (a minute or so).
> 
> This only happens occasionally, and seemingly only if the alias update
> happens under fairly heavy load, while accepting many hundreds
> connections per minute. (On avarage, we deliver around 50 messages per
> minute.)
> 
> The new alias file is written first to a temporary location, then moved
> into place, and then postalias is run. 


This is backwards... run postalias on the temporary file, then move
the fresh .db into place.

Please see
http://www.postfix.org/DATABASE_README.html#safe_db



  -- Noel Jones

Reply via email to