Matthew Miller wrote:
On Thu, Sep 25, 2008 at 10:50:57AM +0100, Bill Crawford wrote:
> CONDITIONAL EXPRESSIONS
> file1 -nt file2
> True if file1 is newer (according to modification date) than
> file2, or if file1 exists and file2 does not.
The problem is: how do you know what file2 is supposed to be?
newaliases rebuilds aliases.db from aliases - but it is only necessary
if aliases is newer. You could also just
define(`confAUTO_REBUILD')
in sendmail.mc and let sendmail manage it as needed.
--
Les Mikesell
lesmikesell(a)gmail.com