Re: [exim] sLocate Database

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users
Sujet: 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