[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cpx] Spam Box Plan
- Subject: Re: [cpx] Spam Box Plan
- From: "Norman R. Prevett" <norm@xxxxxxxxxx>
- Date: Wed, 03 May 2006 18:00:09 -0400
Hi
Ditto that! Ditto ditto ditto!
There was a recent discussion here with a solution (I've attached it
below) but having it available with CPX would be a great work saver:
Relevant Info Starts Here ------------------------------------
Subject:
[vps2] automatically pruning spam and quarantine mbox folders
From:
AlpineWeb <news.list@xxxxxxxxxxxxx>
Date:
Tue, 10 Jan 2006 17:16:16 -0500
To:
vps2@xxxxxxxxxxxxxxxx
Hello Brian,
You need to specify the user that the system crontab is running under like this:
@daily root /usr/local/bin/archmbox -k -o 10 --totals \ /home/*/Mail/[Qq]uarantine /home/*/Mail/[Ss]pam /home/*/Mail/Junk
HTHs
Cheers,
Uwe Schneider
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AlpineWeb Design ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://AlpineWeb.com/
603-356-8797 ~~~~~~~~~~~~~~~~~~~~~~~~~~ http://AlpineWeb.com/helpdesk/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brian Haines wrote:
Instead of crontab -e, I placed number 4 in these excellent directions in
/etc/crontab, but it does not run that I can witness in my junk and
quarantine files.
Is the command different for /ect/crontab?
Thanks Lang for this and thank you others for all of the great help here.
Brian Haines
-----Original Message-----
From: owner-vps2@xxxxxxxxxxxxxxxx [mailto:owner-vps2@xxxxxxxxxxxxxxxx] On
Behalf Of Lang Zerner
Sent: Sunday, March 27, 2005 3:33 PM
To: vps2@xxxxxxxxxxxxxxxx
Subject: [vps2] automatically pruning spam and quarantine mbox folders
I just came across a utility in the poorts collection called archmbox, which can archive, delete, report, or copy messages from an mbox mail folder. archmbox is a great way to keep tabs on the ever-growing quarantine and spam folders on my servers that run SpamAssassin and ClamAV.
I now have archmbox running on all my servers in a nightly cron job that deletes spam or quarantine messages more than 10 days old. Here's how easy it is to set up:
1) Become root:
su
2) Install archmbox:
cd /usr/ports/mail/archmbox
make install
make clean
3) Open your root crontab for editing:
crontab -e
4) Add the following lines to your crontab:
# Delete old messages from quarantine and spam folders
@daily /usr/local/bin/archmbox -k -o 10 --totals \
/home/*/Mail/[Qq]uarantine /home/*/Mail/[Ss]pam /home/*/Mail/Junk
5) Inform your users that spam and virus-laden mail will be automatically deleted after 10 days.
If your users keep mail in a folder other than $HOME/Mail, change the file specifications to suit your installation. To keep mail for more or fewer days, change the -o value to the number of days to keep. See archmbox --help for more options.
Be seeing you...
--Lang
Chris Hess wrote:
Spam folders filling up quota:
Now that we're letting some clients admin their own e-mail accounts
and spam filtering using CPX,the problem of spam boxes filling up is
creating big maintenance issues. Users simply don't remember to, or
don't want to, clear out their spam boxes.
Does anyone know of an option to automate the clearing out of spam
folders?
Maybe a future CPX addition could be allowing the user or Domain Admin
to have user spam boxes cleared of spam automatically if messages are
more than 5 days old (maybe options for 3, 5 and 10 days old from a
drop down). This would help tremendously.
--
Norman R. Prevett
Jenica Corporation
"Helping Business Profit from Technology"
* World Class Web Site Hosting and Design
* Turnkey Commercial Web Sites, Secure Online Ordering
* Internet Connections for Corporate Networks
* Consulting Training and Support
Mill Yard Technology Park
80 Technology Way, Suite 4E6, Nashua, NH 03060
Tel 1.603.886.4668
Fax 1.603.880.9209
Email: norm@xxxxxxxxxx
Web Site http://www.jenica.com
======================================================================
This is <cpx@xxxxxxxxxxxxx> <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).
Home |
Main Index |
Thread Index