Subject: Re: sendmail's aliases.db distribution
To: Tim Rightnour <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 08/23/2000 18:09:42
On Sat, 19 Aug 2000, Tim Rightnour wrote:
> What I really don't want to see, is sendmail rebuilding the alias file every
> time on boot, just so we don't have to build that db file. Perhaps rc.sendmail
> could do something like:
> if sendmail=yes && aliases.db is zero byte rebuild. Otherwise, leave it alone
> and assume the admin knows what he is doing.
What about if sendmail==yes and either aliases.db is zero length, or the
text file is newer than the .db file. test has a test, -ot, which compares
the age of two files.