On Thu, Dec 12, 2013 at 10:10:37PM -0800, Venkat wrote:
> Is rebuilding the virtual.db file frequently (every few minutes) causing
> Postfix to lose access temporarily to the aliases in that database causing
> the random lookup failures?
Quite possibly it is, see:
http://www.postfix.org/DATABASE_README.html#safe_db
The best solution is to use CDB, rather than Berkeley DB for these,
if your Postfix package supports CDB, use it. CDB performs updates
atomically and uses less memory, ... If switching to CDB is not an
option, use the approach recommended in the README file.
> Is the version of Postfix (2.6.6) fairly old and may have some bugs that
> can cause this?
No, the issue is that your Berkeley is too new. This would not have
been a problem with Berkeley's Berkeley DB 1.85 (used by some BSD systems).
--
Viktor.