On 12.02.2010 14:47, Richard Cooper wrote: > On 12 Feb 2010, at 12:12, Eray Aslan wrote: >> On 12.02.2010 13:25, Richard Cooper wrote: >>> Feb 12 00:41:24 mail1 postfix/smtpd[24782]: NOQUEUE: reject: RCPT from >>> unknown[111.111.111.111]: 550 5.1.1 <recipi...@example.com>: Recipient >>> address rejected: User unknown in virtual alias table; >>> from=<sen...@example.net> to=< recipi...@example.com > proto=SMTP >>> helo=<example.org> >>> >>> This is a very intermittent and short lived error. Emails to >>> recipi...@example.com were working before the error and start working again >>> a few seconds after it. >> >> http://www.postfix.org/DATABASE_README.html#safe_db > > > I'm not sure that apples to my case. That page says "If the update fails in > the middle [because the disk is full or because something else happens] then > you have no usable database, and Postfix will stop working". In my case the > update completes without error, correctly writes virtual_aliases.db and > postfix continues working. The only visible error is that during the update > Postfix "forgets" some of the lookup table for a short period of time.
You might also want to try CDB. Its updates are atomic. Recommended instead of Berkeley DB. http://www.postfix.org/CDB_README.html -- Eray