Re: [webmin-l] Feature Request

"Jamie Cameron" <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
On 09/Mar/2017 23:07 John Hinton <[email protected]> wrote ..
> 
> 
> On 3/9/2017 11:27 PM, Jamie Cameron wrote:
> > On 08/Mar/2017 21:15 John Hinton <[email protected]> wrote ..
> >>
> >> On 3/8/2017 10:29 PM, Jamie Cameron wrote:
> >>> On 07/Mar/2017 18:30 John Hinton <[email protected]> wrote ..
> >>>> Moving a bunch of virtualhost around lately, I ran across one email
> >>>> account that had 80,000 emails in the trash. Since, I found a number of
> >>>> accounts with 20, 30, 40,000 in the trash. So, I went back to look at
> >>>> Mailbox Cleanup again. I wouldn't want to ever delete any messages from
> >>>> a clients Inbox unless they requested it... but trash? I have run a
> >>>> dovecot script to delete spam from spam folders. Anyway... my thought!
> >>>>
> >>>> It would be great if Mailbox cleanup had a function to delete messages
> >>>> older than X number for days from <a list of email folder taken from a
> >>>> list that I generated>. I could add trash, Trash, Deleted Messages,
> >>>> Deleted Items and on and on it goes. I guess the only tricky part would
> >>>> be INBOX.Trash and INBOX.trash and INBOX.Deleted Messages... but I could
> >>>> most likely find them to add.
> >>>>
> >>>> So, far today, I deleted about 30 GB of trash from clients email boxes
> >>>> after asking them if it was alright. I would be happy to make an
> >>>> announcement that we are going to do this. Yeah, some versions of
> >>>> Outlook hide 'purge' and I doubt most end users even know what purge
> >>>> means. Heck, the one with 80K messages uses SquirrelMail and purge is
> >>>> right there in your face? Go figure.
> >>>>
> >>>> Or, I could set up a bunch of Dovecot crons to do this. :)
> >>> Hi John,
> >>>
> >>> Virtualmin already has a feature to setup automatic trash clearing on
> >>> a per-domain basis, based on message count or age. It's on the Spam and
> >>> Virus Delivery page, on the left menu.
> >>>
> >> OK, so I'm not going crazy! I could have sworn I had seen that before.
> >> We use an anti-spam MX gateway, so needed to have anti-spam turned off
> >> on our systems, so I wasn't using those features. I flipped on Spam
> >> Filtering with one domain and found it. The next question... how does it
> >> know where to look for trash? Or does it look in all folders for like
> >> the 'T' flag? If so, this looks more perfect as it can be controlled on
> >> a per Virtualhost basis instead of system-wide.
> > It looks for any folder named "trash" in upper or lower case.
> >
> Under the "It would be nice" column... Is there a possibility that we 
> could get a place to add additional trashcan folder names? I find 
> Deleted Items, Deleted Messages are commonly used. I'd have to do a bit 
> of looking to actually find all varieties in use by all the clients out 
> there.
> 
> I suspect most of our trash is from Outlook which rarely is set to use 
> trash or Trash. Some versions of Outlook just redlined the deleted 
> messages within the Inbox or so it seemed. I'm never looked at the 
> folders on the server to figure out what it was doing. Leave it to 
> Microsoft and sadly, more often these days Apple to try to reinvent 
> things that don't need reinvention. What was wrong with Trash for trash? 
> Frustrating. Was it Outlook 2003 or 2007 that didn't have a trash 
> folder, did the redlining, but you could hide the redlined messages... 
> and that version hid purge under one of the toolbar menus. I don't think 
> most end users really know what purge does so never do it.
> 
> The big trash folder I found, about 80,000 emails and 15GB, was only 
> accessed by the user via SquirrelMail. It was set to show unread and 
> total, so it was right there in their face alongside SquirrelMail's 
> purge link. How did this grow so large? Ten years of trash collection.
> 
> I suppose it's off to doveadm expunge under a cron.

There is a way to customize the trash folder name Virtualmin looks for
(on the Virtualmin Configuration page), but it will find only one per user.

Also, each user can setup per-folder mail cleanup rules - just login to
port 20000 and click on Email Filters on the left.


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.