Something like this:


find /home/vpopmail/domains/ -path *spam*  -mtime +30 -exec rm {} \; 


This will recursively eliminate files on /home/vpopmail/domains that were
modified 30 days ago and have the string spam on its path.


Please, don't copypaste, check it before deleting anything


find /home/vpopmail/domains/ -path *spam*  -mtime +30 -exec echo {} \;


This will display each file that blahblahblahblah :-P

On the other hand, quotas will not be correctly calculated.

I did force the calculation of quotas with deleting the maildirsize from the
Maildir of a user and executing /home/vpopmain/bin/vuserinfo [EMAIL PROTECTED]



Please use it with caution.


 
 
________________________________

De: Ariel [mailto:[EMAIL PROTECTED] 
Enviado el: viernes, 27 de octubre de 2006 13:18
Para: [email protected]
Asunto: [qmailtoaster] Es - EN automatic erasure of emails -- borrado
automatico de email.






Hello, I need to know if it is possible that QT, it eliminates of automatic
form, old post office of the mailboxes, that is that are eliminating for
example post office of 6 months previous. or some script that does it,
Gracias








/////////////////////////////////////////////////////

Hola , necesito saber si es posible que QT , elimine de forma automatica ,
correos viejos de los buzenos , o sea que vaya eliminando por ejemplo
correos de 6 meses anteriores. 
o algun script que lo haga,

Gracias

BEGIN:VCARD
VERSION:2.1
N:Sánchez Martín;David
FN:[EMAIL PROTECTED] ([EMAIL PROTECTED])
ORG:E2000 Financial Investments, S.A.;Centro de Nuevas Tecnologías
TITLE:Administrador de Sistemas
TEL;WORK;VOICE:902196177
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA;Asturias;;;Espa=F1a
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA=0D=0AAsturias=0D=0AEspa=F1a
URL;WORK:http://www.e2000.es
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20060705T152542Z
END:VCARD

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to