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

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 03-10-2010, 01:50 AM
Active Member
 
Posts: 26
Default How to ignore attachments?

How can we do the admin setting so that all the attachments are silently ignored for all user accounts? Please note that I don't want to send 'message bounce' error to the recipient and want the text/body part of the message to arrive the mailbox, just the attachment part is to be discarded. The reason I want to do this is we are running out of disks by storing useless attachments
Reply With Quote
  #2 (permalink)  
Old 03-10-2010, 02:07 AM
Advanced Member
 
Posts: 192
Default

Would a (lower) quotum not be a better solution? Then you can let your users do the work and let them decide which attachments to keep or discard.

I would probably be fired for doing what you're trying to do
Reply With Quote
  #3 (permalink)  
Old 03-10-2010, 02:13 AM
Active Member
 
Posts: 26
Default

Thanks for the reply Hivos ! Actually, we already have a copy of these mails residing at other servers so there is no loss of data for the users. I have tried to do this::Check "Disable attachment viewing from web mail UI" on the advanced tab of the COS(Disable Indexing for Specific File Types - Zimbra :: Wiki) Will this solve the purpose?
Reply With Quote
  #4 (permalink)  
Old 03-10-2010, 02:35 AM
Advanced Member
 
Posts: 192
Default

Chenging that setting may decrease the workload of your server, but not remove the attachments. I'm not sure there what you're trying to do is possible. I do know that it's possible to remove attachments in the webinterface since 6.0.2, but haven't found a cli option yet.

Since zimbra is built on top of postfix you could try to manually configure this old postfix add-on: renattach for UNIX

Or, if you're into Perl: Ricardo Signes / Email-MIME-Attachment-Stripper - search.cpan.org
Reply With Quote
  #5 (permalink)  
Old 03-10-2010, 06:33 AM
Active Member
 
Posts: 26
Default

Thanks again Hivos ! Even blocking almost ALL file extensions from the admin UI won't help? Another unrelated question is if I set delete mails older than say X days options, is it done like this: Every mailbox is scanned, checked for emails older than X days and sleep for some time(set as zimbrasleepafterpurge) then move to another mailbox OR the alternate algorithm is followed i.e find all messages(potentially belonging to different mailboxes) and then delete/sleep. So my question is more like is algorithm followed is Scan Each and then Purge OR Search relevant mailboxes and then Purge. This is important for me as number of mailboxes are huge so dont want to keep the cleanup operation go on for days

PS:I have code for deleting mails over IMAP, I don't want to fire that every time I have to clean mailboxes
Reply With Quote
  #6 (permalink)  
Old 03-10-2010, 07:03 AM
Advanced Member
 
Posts: 192
Default

I'm not sure about this, but I think blocking file extensions will block the entire email, not just the attachment. But you could give it a try of course, although it won't help you getting rid of existing emails+attachments.

Can't help you with the old emails algorithm unfortunately, as I haven't really looked into that. (Pretty resource intensive I guess, the IMAP method)
Reply With Quote
  #7 (permalink)  
Old 03-10-2010, 07:47 AM
Active Member
 
Posts: 26
Default

You are right ! It takes hell lot of time to delete emails through IMAP. Is there a command line option to delete messages(complete deletion i.e. without caring about attachments)? Path to relevant store? I think Zimbra stores at /opt/zimbra/store
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.