Purpose: Mark a Junk Folder as special, and display a message in that folder for its purpose. Also allow user to create easily this folder.
The Junk Folder Plugin can allow the user to easily create a junk folder, with a click on a button in the Folders page. Of course, you can set your autocreate configuration on Cyrus to automatically create that folder and subscribe the user to it too.
Junk Folder plugin does not handle the automatic purging itself; you must configure a specific utility on your IMAP server to do so. See ipurge(8) of the Cyrus IMAP distribution for more information on how to set up automatic purging after a given period on Cyrus.
If you wish to use configurable by-user number of days, and save the number of days to one user's LDAP object, you can simply use something like this in your customized LDAP schemas:
attributetype ( 1234.321.12.10.4 NAME 'junkPrune' DESC 'Number of days that spam mails should be kept' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
Setting ipurge(8) to use this per-user is left as an exercise to the reader. ;-)
I simply hacked in this option because I needed it. You can safely ignore it.
The plugin is localizable. You can send me a translation of the plugin's messages to your own language and they will be included in the next release. Send .po files to: avel@users.sourceforge.net.
Anonymous CVS is available:
$ cvs -d ":pserver:anoncvs@email.uoa.gr:/squirrelmail" login // (Press enter when asked for password) $ cvs -d ":pserver:anoncvs@email.uoa.gr:/squirrelmail" co junkfolder