Mazani mailu v mbox + mutt

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Jun 15 15:30:35 CEST 2004


On Tue, Jun 15, 2004 at 02:18:37PM +0200, Břetislav Kubesa wrote:
> Zdravim,
>  
> nechavam spamass-milter bouncovat postu-spamy na specialni adresu
>  spam at domena.cz, ale potreboval bych, aby se mailbox periodicky pres cron
>  promazaval - jak to lze korektne udelat ?

0 0 2 * * /etc/skripty/mazaniPosta.sh

[root at ns rdivacky]# cat /etc/skripty/mazaniPosta.sh
#!/bin/sh

find /home -maxdepth 3 -name Trash -exec cp /etc/skripty/Trash {} \;
find /home -maxdepth 3 -name Spam -exec rm -f {} \;

[root at ns rdivacky]#

takhle to mam ja...



More information about the Users-l mailing list