Obsolete Releases > SME 8.x Contribs
a bash routine for deleting email placed in the trash folder of all users
purvis:
If your going to drop $HOSTNAME in the case of a server name change.
You might want to at least go for "1*.*.*:2*T" for the file name.
That might better describe the files wanted.
Computer experience is directly proportional to the amount of files ruined. Hahaha. I have much experience.
Stefano:
--- Quote from: mmccarn on March 11, 2013, 12:47:29 PM ---I found this note here in the contribs forum:
http://forums.contribs.org/index.php/topic,47275.msg233222.html#msg233222
And some notes about adding plugins to dovecot to delete expired messages, but only starting with dovecot v1.1 (or 1.2):
http://wiki1.dovecot.org/Plugins/Expire
And several mentions of 'doveadm' (from dovecot v2.x):
http://wiki2.dovecot.org/Tools/Doveadm/Expunge
dovecot --version returns 1.0.7 on my SME 8 server
--- End quote ---
IMVHO, we should move to dovecot 2, starting from this work:
https://wikit.firewall-services.com/doku.php?id=smedev:dovecot
mmccarn: please fill a new feature request in bugzilla, thank you
mmccarn:
--- Quote from: Stefano on March 12, 2013, 10:54:44 AM ---mmccarn: please fill a new feature request in bugzilla, thank you
--- End quote ---
http://bugs.contribs.org/show_bug.cgi?id=7480
janet:
larieu
--- Quote ---I have tried that but from my knowledge if the default setting of "show only last 30 days" is overpassed the phone will not take into account older emails
And this is a "user side" setting (not all users will do it, and definitely users which don't care will take no action)
--- End quote ---
This is nothing to do with how many messages to display. This relates to the purging of messages after deletion.
ie
In iPhone parlance, "how many days after a message is deleted before the message is removed (purged) from the nominated folder".
I edited my original post with more info re where to configure this on iPhones (models 3 & 5 which I have), maybe read it again.
"Settings, Mail, select account, Advanced, Deleted Messages - Remove (or similar), choose Never, One day, One week, One month,
Remember to save when exiting (select Done I think)."
Users who do not care to do it will reach their quota and then when they complain, tell them to change the settings to purge the deleted messages after say, one day.
It's a simple setting change that takes under 1 minute to do !
How you resolve your problem is your choice.
I was just correcting your statement that there was no apparent place on mobile phones to set the purge time, well there is, at least on iPhones.
larieu:
janet
https://www.saratogahosting.com/hd/kb/article/email-accounts-and-forwarders/email-on-mobile-phones/iphone-remove-messages-from-server
in IMAP environment it seems that your statement is not correct
I found lots of iPhone users with overquota just because of "deleted emails"
I have set up personally three of them to delete after 3 days - no action on IMAP
and this will solve only part of problem
I have users which use android or bb or windows phones or even old type of phones... - this ask for server implementation not user side
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version