Re: Losing mail when updating alias files

2014-02-19 Thread Fredrik Sandström
>> 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. Aah, that explains it! Many thanks! -- Fredrik Sandström f...@abo.fi

Re: Losing mail when updating alias files

2014-02-19 Thread Noel Jones
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 whi

Losing mail when updating alias files

2014-02-19 Thread Fredrik Sandström
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 s