ignored messeges

Alex Neuman van der Hans alex at nkpanama.com
Sat Aug 5 06:28:21 IST 2006


Chris Conn wrote:
>
>
> Julian Field wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> df files without qf files are just left-over junk from things like  
>> broken TCP connections and stuff like that. df files without qf 
>> files  (or vice versa) can just be deleted.
>>
>
> #!/bin/sh
>
> cd /var/spool/mqueue.in/
> find ./ -daystart -ctime +1|xargs rm
>
>
> Gets rid of files that are a couple of days old or older in the 
> mqueue.in directory (change it to the right path if not the same).
>
> Chris
>
Shouldn't it read...

find ./ -daystart -ctime +1|xargs -r rm

... so that if there aren't any files to delete you won't get an error 
message?


More information about the MailScanner mailing list