Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-2009, 03:28 PM
Senior Member
 
Posts: 50
Default [SOLVED] Postfix Folders

Hi All,
Hope you're doing fine. I got the following issue. We have an install that already has become a bit too large for the server it is in. We already have everything migrated to a new server, but still there is no date defined to switch servers. Ok, the problem is the following, aside from big mailboxes from the users, we have folders in /opt/zimbra/postfix/spool with an enormous amount of messages that are slowing the server for example:

[root@mail postfix]# cd spool/
[root@mail spool]# ls
active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace
[root@mail spool]# cd defer
[root@mail defer]# ls
0 1 2 3 4 5 6 7 8 9 A B C D E F
[root@mail defer]# du -h
72M ./9
75M ./2
20M ./F
77M ./D
77M ./C
77M ./7
76M ./1
81M ./3
81M ./8
81M ./B
80M ./0
83M ./5
82M ./A
84M ./4
80M ./E
80M ./6
1.2G .
[root@mail defer]#

My question is: Can I delete the subfolders inside the following to cleanup my install???:

active
bounce
corrupt
defer
deferred
flush
hold
incoming
maildrop
pid
private
public
saved
trace

Thanks in advance,
Ed
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #2 (permalink)  
Old 04-09-2009, 04:23 PM
raj raj is offline
Moderator
 
Posts: 768
Default

Hi..if you dont care about all the emails sitting in the SPOOL (defer, deffered, active..) then you can clean (DELETE) it using

** to clean ALL postfix spool folders ****
/opt/zimbra/postfix/sbin/postsuper -d ALL

** to clean jut the deferred postfix spool ****
/opt/zimbra/postfix/sbin/postsuper -d ALL deferred


IMP: you dont want to delete the physical folder structure you listed..it will break postfix

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #3 (permalink)  
Old 04-10-2009, 04:07 AM
Senior Member
 
Posts: 50
Default It helped

Raj,
Thanks for your reply. It helped at least to reduce my storage problem. Right now I need my users to cleanup their spam and erased mails. Again, thanks in advance for your help.

Regards,
Ed
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.