How do I set that to look at all mail boxes would it be like this?
#!/bin/sh
find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec
rm -rf {} \;
find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec
rm -rf {} \;
thanks
Q
On Mon, 2006-10-30 at 09:28 -0500, Jake Vickers wrote:
> Kyle Quillen wrote:
> > Hey all,
> >
> > The spam box seems to be working well for us but I need to do two
> > things. First I would like to know if there is a script out there that
> > will delete mail in the spam box automatically for all users after it
> > has been in there say 5 days. I would also like to know how to make my
> > spamassassin auto learn from all the users spam directories.
> >
> > Any help on this would be much appreciated.
> >
> > Once I get this figured out I will upgrade the wiki site.
> >
> If you go to my site, I have an original script someone sent to me to
> learn from the spam messages in the Spam box. I have a modified one if
> you need it.
> As far as deleting the messages, do something like this (this is for
> roughly 3 days):
> #!/bin/sh
> find /home/vpopmail/domains/v2gnu.com/jake/Maildir/cur/* -mtime +3 -exec
> rm -rf {} \;
> find /home/vpopmail/domains/v2gnu.com/jake/Maildir/new/* -mtime +3 -exec
> rm -rf {} \;
>
>
> ---------------------------------------------------------------------
> QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]