Re: [exim] builtin greylisting?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] builtin greylisting?
Brett Parker <iDunno@???> (Di 12 Dez 2006 16:54:29 CET):
> On Tue, Dec 12, 2006 at 04:49:41PM +0100, Andreas Pettersson wrote:
> > Brett Parker wrote:
> > >Better still:
> > >        find . -type f -mtime +60 -print0 | xargs -0 rm

> > >
> > >Just on the offchance that you've got some strange filenames.
> > >
> > >
> > >
> > Even better?
> >
> >        find . -type -f -mtime +60 -delete


Huh. New. For how long is it there?

> hmmm - depends on how find implements -delete I suspect, if it is just

...
> overhead than find and xargs ;) (without looking at the code to find, I
> have no idea what it does :)


Or just strace, poor mans debugging :)

$ touch abc
$ strace -eunlink find -name abc -delete
unlink("abc")                           = 0
Process 2485 detached
$ _



    Heiko
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -