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 12-29-2010, 12:11 PM
Junior Member
 
Posts: 6
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-
Reply With Quote
  #2 (permalink)  
Old 12-30-2010, 06:31 PM
Moderator
 
Posts: 1,554
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
Reply With Quote
  #3 (permalink)  
Old 12-31-2010, 11:09 AM
Junior Member
 
Posts: 6
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
Reply With Quote
  #4 (permalink)  
Old 11-22-2011, 01:05 AM
bbk bbk is offline
New Member
 
Posts: 4
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?
Reply With Quote
  #5 (permalink)  
Old 11-22-2011, 02:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
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
Reply With Quote
  #6 (permalink)  
Old 11-22-2011, 03:32 AM
bbk bbk is offline
New Member
 
Posts: 4
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 03:40 AM..
Reply With Quote
  #7 (permalink)  
Old 11-22-2011, 03:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
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:

Quote:
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
Reply With Quote
  #8 (permalink)  
Old 11-22-2011, 04:22 AM
bbk bbk is offline
New Member
 
Posts: 4
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?
Reply With Quote
  #9 (permalink)  
Old 11-22-2011, 04:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
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.
__________________
Regards


Bill

Last edited by phoenix; 12-07-2011 at 11:12 PM..
Reply With Quote
  #10 (permalink)  
Old 12-07-2011, 05:16 PM
Junior Member
 
Posts: 6
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-
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.