Results 1 to 7 of 7

Thread: How to ignore attachments?

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    5

    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

  2. #2
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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

  3. #3
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    5

    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?

  4. #4
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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

  5. #5
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    5

    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

  6. #6
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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)

Similar Threads

  1. Attachments Getting Munged
    By taliskar in forum Administrators
    Replies: 36
    Last Post: 09-02-2010, 09:05 AM
  2. [SOLVED] Attachments with 0 bits in webmail (ok in Outlook)
    By georgelazar in forum Administrators
    Replies: 6
    Last Post: 02-18-2010, 05:56 AM
  3. Outlook and Zimbra Connector not sending attachments
    By kilrathi in forum Zimbra Connector for Outlook
    Replies: 32
    Last Post: 01-15-2010, 12:45 PM
  4. Replies: 5
    Last Post: 08-05-2008, 10:25 AM
  5. Drag email to calendar and attachments
    By Richard in forum Users
    Replies: 2
    Last Post: 09-14-2006, 12:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •