Jake Vickers wrote:
On 03/23/2010 05:55 PM, Igor Smitran wrote:
I am sorry if this was mentioned before but after i wrote yet another clean trash script (i am sorry Eric if ofended you in any way, it realy wasn't my intention to do that in any way, my only gold was to make a humble contribution) i used a google and read courier documentation.
Now, i have setup courier to automaticaly clean trash upon user login.
Problem is that courier has two conf files for imap: /etc/courier/imapd and /etc/courier/imapd-ssl
in both those files should be this:

IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0

After this restart imapd and imapd-ssl. Courier will scan Trash dir for any file that has ctime older than 7 days. Pay attention, CTIME, not MTIME or ATIME. So, mail will be deleted 7 days after user puts it there, upon user login.

Jake, can we have this settings merged into new toaster package. They can be commented but should be there. Also, maybe some sort of info for users that imapd and imapd-ssl have different config files. I learned this by changing imapd config while testing on imapd-ssl :) Everything was working in squirrelmail but nothing was working in my Thunderbird :)

These changes complitely eliminated need for qtp-clean-trash for me...

I am sorry for my bad english. Complicated sentences are too hard for me :)


There will be some changes like this made in the next version, which I am working on.
Thanks for the research on this.
And you do not offend anyone by modifying scripts - this is an open-source project, so the more people that contribute, the better the project gets.


I concur. Thanks for your work on this Igor.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to