Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 8.x
Topic:
Maillog has 350,000+ emails by now
« previous
next »
+
Print
Pages: [
1
]
Go Down
Maillog has 350,000+ emails by now
5 Replies
1696 Views
MSmith
675
+0/-0
Maillog has 350,000+ emails by now
«
on:
February 04, 2015, 05:38:13 PM »
SME 8.1, holding a maillog mailbox that now has the aforementioned 350,000+ emails. I can't load the mailbox via IMAP in Windows Live Mail or Thunderbird; even Mailstore Home crashes when I try to archive it via IMAP. Horde can't open it in a useful amount of time any more.
No indication of any trouble with any user mailboxes and no indication that the maillog copy isn't working.
Anybody run into a similar situation? Suggestions, please? Better / different email client perhaps?
Logged
...
brianr
990
+2/-0
Re: Maillog has 350,000+ emails by now
«
Reply #1 on:
February 04, 2015, 06:26:28 PM »
In the past I've had to create mail sub directories by hand on the command line and then copy some of the emails into it. I usually do it by month or year, leaving the top level with less in.
Logged
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........
Stefano
10,894
+3/-0
Re: Maillog has 350,000+ emails by now
«
Reply #2 on:
February 04, 2015, 07:40:49 PM »
use imapsync to move emails older than tot
you'll find many examples with google
Logged
MSmith
675
+0/-0
Re: Maillog has 350,000+ emails by now
«
Reply #3 on:
February 04, 2015, 10:07:19 PM »
Those are both great ideas, thanks!
Logged
...
CharlieBrady
6,918
+3/-0
Re: Maillog has 350,000+ emails by now
«
Reply #4 on:
February 05, 2015, 04:23:22 AM »
Quote from: Stefano on February 04, 2015, 07:40:49 PM
use imapsync to move emails older than tot
Each mail is just a file in a directory. I would use 'find' to select old files, and then xargs to move them into a different maildir (a maildir is just a top level directory, with three subdirectories).
There's many ways to skin this cat, and I would definitely do it natively on the server, rather than via imap.
Logged
CharlieBrady
6,918
+3/-0
Re: Maillog has 350,000+ emails by now
«
Reply #5 on:
February 05, 2015, 04:24:51 AM »
You can also do this automatically, by having a,, say, monthly cron job which creates a new Maildir, and changes the .qmail file of the maillog user to point to the new maildir.
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 8.x
Topic:
Maillog has 350,000+ emails by now