Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: IMAP Foldering Problems

  1. #1
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Exclamation IMAP Foldering Problems

    I'm using Thunderbird RC1 and Zimbra M2NE, and when tbird folders e-mails based on its filters, I end up with one message in my inbox and 1 message in the folder that thunderbird wanted to folder it in.

    This may have something to do with Zimbra's broken internal filter system, as I had Zimbra filters to do pretty much the same thing as thunderbird, but they kept changing back to "keep in inbox", so I deleted them and actually turned off filters from the administration app.

    I think that Zimbra must consider folders just metadata, so I don't think I have two COPIES of the e-mail, but it's still very frustrating.

    Ideas? Where are the zimbra filter rules actually stored? Maybe I can make sure they're cleared out.

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default Filters in LDAP

    Zimbra stores its filter rules in the user LDAP attribute zimbraMailSieveScript.

    If a message is appearing in more than one folder, you've probably got one copy on disk and two entries in the database. (Don't worry, this is fine due to the magic of hard links.) The exception to this rule is that search folders are surfaced in IMAP as normal, READ-ONLY folders, but a second copy of the message doesn't actually exist anywhere.

  3. #3
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Default

    I don't appear to have that attribute since I turned off filters in the admin page. I'm checking via this command:

    ldapsearch -x | grep -i zimbraMailSieveScript

    Is there anything I can do to stop this behavior?

  4. #4
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default What's the Thunderbird filter rule?

    Another way to see the account's attributes is by doing zmprov ga <email-address> from the command line.

    If you're sure that there's no Zimbra filter rule set up for the user, then it's probably something odd with the Thunderbird filter rule. Can you post your whole set of Thunderbird filters and point out the one that's firing to move the message? (But first, make sure that Thunderbird isn't just marking the "moved" message as IMAP \Deleted but still displaying it until it's later expunged...)

  5. #5
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Default

    Quote Originally Posted by dkarp
    Another way to see the account's attributes is by doing zmprov ga <email-address> from the command line.

    If you're sure that there's no Zimbra filter rule set up for the user, then it's probably something odd with the Thunderbird filter rule. Can you post your whole set of Thunderbird filters and point out the one that's firing to move the message? (But first, make sure that Thunderbird isn't just marking the "moved" message as IMAP \Deleted but still displaying it until it's later expunged...)
    I tried zmprov, and I don't have the Sieve attribute on my account.

    The tbird filter is very straighforward and attached.
    Attached Images Attached Images

  6. #6
    bhwang is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    6
    Rep Power
    9

    Default

    I am seeing this behavior when using Thunderbird move filter rule as well. However, double messages should only be visible from Zimbra web interface. Apparently, Thunderbird does not call expunge immediately after a filter doing a message move.

    I have only found two ways to go around this issue. Both of them are not ideal. One is to set Thunderbird IMAP server setting to ‘Clean up (“Expunge”) Inbox on Exit.' Another way is to manually compact the folder.

  7. #7
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Default

    Quote Originally Posted by bhwang
    I am seeing this behavior when using Thunderbird move filter rule as well. However, double messages should only be visible from Zimbra web interface. Apparently, Thunderbird does not call expunge immediately after a filter doing a message move.

    I have only found two ways to go around this issue. Both of them are not ideal. One is to set Thunderbird IMAP server setting to ‘Clean up (“Expunge”) Inbox on Exit.' Another way is to manually compact the folder.
    Would you consider this an issue with tbird or Zimbra?

  8. #8
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default I'd actually consider it a Thunderbird issue.

    Since the message hasn't been expunged, it's really still in your INBOX. It still counts against your quota, you can still mark it as not \Deleted with your IMAP client, etc. So having the Zimbra web client hide it is probably not a good thing.

  9. #9
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Default

    What if I want to create a filter without the UI? Server side filters are really nice consider I access e-mail from everywhere. What I've been doing in the meantime is letting Mail.app run all day from home, but that's hardly ideal.

    When I look for a seieve filter tag in my directory, I find this:

    zimbraMailSieveScript:: cmVxdWlyZSBbImZpbGVpbnRvIiwgInJlamVjdCIsICJ0YWciLC AiZm

    Is this encrypted or a UID pointing to a fitler in a database? I'd like to just change the filter on the console and be done with it.

    Thanks,
    bp

  10. #10
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Our filters are server side. If you create them in the UI they actually run on the server. Beware there are a few bugs in the filter UI at the moment so some filter changes may not 'stick'.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 37
    Last Post: 12-28-2010, 06:02 PM
  2. IMAP TLS Problems after upgrade to 4.5.3
    By shanson in forum Administrators
    Replies: 4
    Last Post: 03-22-2007, 08:05 AM
  3. Still problems with snet mails in imap accounts
    By chh in forum Zimbra Connector for Outlook
    Replies: 3
    Last Post: 01-08-2007, 10:26 AM
  4. Error on IMAP - Tomcat crashes!
    By rodrigoccurvo in forum Administrators
    Replies: 5
    Last Post: 11-30-2005, 07:14 PM
  5. Thunderbird large IMAP folder problems
    By adobrin in forum Administrators
    Replies: 7
    Last Post: 10-07-2005, 06:15 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
  •