Re: [exim] sLocate Database

Top Page
Delete this message
Reply to this message
Author: Graeme Fowler
Date:  
To: exim-users
Subject: Re: [exim] sLocate Database
On Tue, 2008-04-29 at 09:41 -0500, Matt wrote:
> Is there anyway to tell "locate -u" to not look inside any directories
> such as ./cur or ./new to avoid wasting time indexing mail messages?


Yes.

> If so how do you do that?


'man updatedb' and 'man updatedb.conf' are your friend. But so am I, so
look for PRUNEPATHS and possibly add "/var/spool/mail" (or your local
variant) to it.

Graeme