Automatic deletion of old spam emails in Junkmail folder


Spam

SME Versions Supported: v SME 6.x - - Contribs.org certified on: NC

Nav Bar Documentation How-to Classification Spam Automatic deletion of old spam emails in Junkmail folder
Comments Please add your comments about this How To

Author(s): Jesper Knudsen at http://sme.swerts-knudsen.dk
Contributor(s): Abe Loveless
License: Unknown

Created: August 13, 2003 Last updated: 14 July 2004

This wiki page has been prepared by Contribs Doc Team


About this How To

Summary: A small perl script which deletes all users emails stored in the junkmail IMAP folder if they are older than $days_to_keep (default 10). Very useful in combination with SpamAssassin. The script only deletes email in the junkmail folder and ALSO those which have been marked "deleted" in an IMAP environment.

Keywords: Delete Junkmail Spamassassin

Tips:

Known Limitations and Caveats:

Downloads: delete junkmail script http://sme.swerts-knudsen.dk/downloads/SpamAssassin/delete_junkmail.pl


How To

URL: Automatic deletion of old spam emails in Junkmail folder http://sme.swerts-knudsen.dk/downloads/SpamAssassin/

Installation instructions

# cd /root
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/delete_junkmail.pl
# install -m 0755 delete_junkmail.pl /etc/cron.daily/


# cd /root
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/delete_junkmail56.pl
# install -m 0755 delete_junkmail56.pl /etc/cron.daily/


Within the script you can specify whether you want a daily report or not. The script can also be disabled if needed.



Plugin FrameContribs disabled. (action != 'browse')
<?plugin FrameContribs src=http://sme.swerts-knudsen.dk/downloads/SpamAssassin/ height=400 width=96% frameborder=0 scrolling=yes?>



Nav Bar Documentation How-to Classification Spam Automatic deletion of old spam emails in Junkmail folder
Comments Please add your comments about this How To

Feedback

Automatic deletion of old spam emails in Junkmail folder Feedback Add your comments to this page.




Wiki Links List

One page links to Automatic deletion of old spam emails:
 . Page Name .   . Hits . 
 Spam   3946