Re: [exim] sLocate Database

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Graeme Fowler
Data:  
Para: exim-users
Assunto: 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