Results 1 to 10 of 10

Thread: [SOLVED] External IMAP account updating in ZCS webclient

  1. #1
    kcperry is offline Junior Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    4

    Default [SOLVED] External IMAP account updating in ZCS webclient

    Greetings everyone,

    I'm running ZCS 6.0.9 as a secondary domain to a production mail server. Users on ZCS are able to login and see their primary (ZCS) account and also set up IMAP to the production mail server. Everything works fine expect but the IMAP account does NOT auto-update at all. Users are therefore forced to remember to click "Get External Mail" to get new mail.

    In the web client, I tried setting in the mail parameters under preferences, "Check for new mail every:" (for both "Run my default search" and "Update my current view"). I also tried changing "Polling interval (time after which to check for new mail):" in the default COS for the domain and neither setting makes the external account update.

    So, at this point I need to know if this should even work in the web client. Getting our test users to only login to ZCS is going to be met with major resistance if they have to manually update their mail (and that is naturally going to skew how they feel about moving to ZCS). I saw some previous posts about updating the polling interval for a specific account but that was back on version 5 and I would be surprised if this could not be controlled from the admin or client side now. I'm all up for hacking the code to get this feature working the way we need if I'm asking for something that is "wierd" (i.e. this is not a feature that should go GA) but I need to know more about how zimbra's internals work and some guidance on what to change.

    Thanks for any help.

    KP-

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    i don't think those values you're messing with affect external accounts. see the folowing bug for the commands you're looking for

    Bug 14527 – Periodic POP and IMAP aggregation and frequency and limit controls for same

  3. #3
    kcperry is offline Junior Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    4

    Default

    Thanks bdial. A couple of strange things...

    1) The zimbraDataSourcePollingInterval parameter dit not exist at all on my installation. Here is the before and after:

    (first set what is set)
    zimbra@mono:~> zmprov gc default | grep Poll

    zimbraDataSourceCalendarPollingInterval: 12h
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourceRssPollingInterval: 12h
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 15s
    zimbraPrefMailPollingInterval: 1m

    (then I ran the next two lines to set and view the parameters)
    zimbra@mono:~> zmprov mc default zimbraDataSourcePollingInterval 30s
    zimbra@mono:~> zmprov gc default | grep Poll

    zimbraDataSourceCalendarPollingInterval: 12h
    zimbraDataSourceImapPollingInterval: 30s
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourcePop3PollingInterval: 30s
    zimbraDataSourceRssPollingInterval: 12h
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 15s
    zimbraPrefMailPollingInterval: 1m

    (notice that for some reason that parameter only set the polling interval for pop3, so
    took a guess at what imap would be. I also updated the minimum polling level)

    zimbra@mono:~> zmprov mc default zimbraDataSourceIMAPPollingInterval 30s
    zimbra@mono:~> zmprov mc default zimbraDataSourceMinPollingInterval 10s
    zimbra@mono:~> zmprov gc default | grep Poll

    zimbraDataSourceCalendarPollingInterval: 12h
    zimbraDataSourceImapPollingInterval: 30s
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourcePop3PollingInterval: 30s
    zimbraDataSourceRssPollingInterval: 12h
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 15s
    zimbraPrefMailPollingInterval: 1m

    ~ ~ ~

    After that still no joy until I did the mds for my account (this time zimbraDataSourcePollingInterval was shown when I ran the gds for my account the the imap source.

    So it looks like I have to go through all the accounts to update the polling interval (as indicated in the bug you linked) which for the test group is fine but this begs two questions:

    1) Is this something that is going to be fixed in version 7? The "it" being the ability to set these parameters in the admin and/or user UI.
    2) Would there be a way to globally update the user polling intervals? If all the imap account names are the same, I'm guessing there would be a server side way to get all the account in a domain and then make a script to execute the mds command but I thought I would ask if there was perhaps a more elegant or zimbra appropriate way.

    Thanks for your help

  4. #4
    bbk
    bbk is offline New Member
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    3

    Exclamation

    Quote Originally Posted by kcperry View Post
    1) Is this something that is going to be fixed in version 7? The "it" being the ability to set these parameters in the admin and/or user UI.
    2) Would there be a way to globally update the user polling intervals? If all the imap account names are the same, I'm guessing there would be a server side way to get all the account in a domain and then make a script to execute the mds command but I thought I would ask if there was perhaps a more elegant or zimbra appropriate way.

    Thanks for your help
    I'm using zcs-7.1.3_GA_3346.UBUNTU8.20110928134533
    Bug tracker saying the bug is fixed. But I have the same problem.

    Do somebody have a solution?

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Quote Originally Posted by bbk View Post
    I'm using zcs-7.1.3_GA_3346.UBUNTU8.20110928134533
    Bug tracker saying the bug is fixed.
    That bug was fixed in a previous version of Zimbra.

    Quote Originally Posted by bbk View Post
    But I have the same problem.
    You've given no details of what exactly your problem is, a 'me too' post doesn't really tell us anything so the question is - the same problem as what?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    bbk
    bbk is offline New Member
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    That bug was fixed in a previous version of Zimbra.

    You've given no details of what exactly your problem is, a 'me too' post doesn't really tell us anything so the question is - the same problem as what?
    I'm not saying "me too", I'm saying THE same.
    The ZCS version I mention before not receiving IMAP automaticaly.
    And how exactly it was fixed? In bug tracker lots of garbage with filenames was patched. But very difficult to find out how exactly now it working. How to force it to get mail automaticaly by IMAP?
    Only first time when I create external IMAP accaunt it I got all my messages. But after I have to press "Get External Mail" to get new mail.

    zmprov gc default | grep Poll
    zimbraDataSourceCalendarPollingInterval: 12h
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourceRssPollingInterval: 12h
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 2m
    zimbraPrefMailPollingInterval: 5m


    (no zimbraDataSourceImapPollingInterval)
    Last edited by bbk; 11-22-2011 at 04:40 AM.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Quote Originally Posted by bbk View Post
    I'm not saying "me too", I'm saying THE same.
    I disagree, until you provide a description of what the problem is you're posting a 'me too' .
    Quote Originally Posted by bbk View Post
    The ZCS version I mention before not receiving IMAP automaticaly.
    That has nothing to do with that specific bug report.

    Quote Originally Posted by bbk View Post
    And how exactly it was fixed? In bug tracker lots of garbage with filenames was patched. But very difficult to find out how exactly now it working.
    I think you need to read the bug report again, the description of the bug is this:

    Administrators should be able to set the frequency that POP and IMAP accounts are synced to the server.
    That was the 'problem' the bug report addressed and that's what was fixed - the settings weren't able to be changed and now they are.

    Quote Originally Posted by bbk View Post
    How to force it to get mail automaticaly by IMAP?
    Only first time when I create external IMAP accaunt it recive all my messages. But after I have to press "Get External Mail" to get new mail.
    If you think there's a problem actually getting the email then search bugzilla and see if there's anything been filed for that specific problem (do search first and make sure you check the 'fixed' reports as well., if there isn't then file a bug report.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    bbk
    bbk is offline New Member
    Join Date
    Nov 2011
    Posts
    4
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    If you think there's a problem actually getting the email then search bugzilla and see if there's anything been filed for that specific problem (do search first and make sure you check the 'fixed' reports as well., if there isn't then file a bug report.
    Admin able to set the field "frequency that POP and IMAP accounts are synced to the server" but it is not working. Ha ha ... very funny the problem is SOLVED. So, for this problem there is not only one bug.

    Actually where are the fields for IMAP/POP?
    I do not see it in zimbraAdmin>Accaunts>%User%>Preferences>
    nor in zimbraAdmin>Server settings>IMAP
    nor in zimbraAdmin>Global settings>IMAP
    Where are they?

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Quote Originally Posted by bbk View Post
    Admin able to set the field "frequency that POP and IMAP accounts are synced to the server" but it is not working. Ha ha ... very funny the problem is SOLVED.
    Are you misunderstanding the bug report? The bug report was to expose those fields so they could be modified via the cli, that was what the bug report was about and nothing else. As far as that report was concerned, it's fixed.

    Quote Originally Posted by bbk View Post
    So, for this problem there is not only one bug.
    Read this again: the bug report you quoted has nothing to do with the problem you are describing.
    Last edited by phoenix; 12-08-2011 at 12:12 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    kcperry is offline Junior Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    4

    Default Sorry for not getting back

    I apologize for chiming in late here but I had 2 Zimbra projects going about a year ago and had to table them after awhile. The last thing I did was upgrade to 7 but thats where things have been. I have not spent any time looking around the admin client again.

    If I'm reading this right, am I to understand that the polling intervals are in the UI now? The bug I was referred to (#14527) had not been updated since 2008 and this thread had not posts for almost a year until bbk in November. So I'm a bit confused as to what is the status since my two questions were never answered on the thread.

    Please advise...

    KP-

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 10-27-2010, 02:39 AM
  2. Replies: 2
    Last Post: 10-08-2010, 08:32 AM
  3. IMAP problem after added external account
    By Thanakorn in forum Administrators
    Replies: 5
    Last Post: 02-21-2008, 10:50 AM
  4. postfix build error while building Zimbra source
    By anuradha_mihsra in forum Developers
    Replies: 6
    Last Post: 07-19-2007, 10:22 AM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 PM

Posting Permissions

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