Refresh Mails from external IMAP Server when User is offline

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
yogg
Posts: 24
Joined: Sat Sep 13, 2014 12:54 am

Refresh Mails from external IMAP Server when User is offline

Postby yogg » Thu Aug 16, 2012 10:24 am

Hi
My Setup:

Release 7.1.4_GA_2555.UBUNTU8 UBUNTU8 NETWORK edition, Patch 7.1.4_P1.

1 External IMAP Server

5 Internal Accounts
The external IMAP Server shares an project E-Mail address to all related persons.

This IMAP account is very big.
On the Zimbra server 4 people need this account on their webinterface.

The idea was now that we create 1 IMAP share account that has the external included. This account shares the IMAP folder to the 4 other persons.

So the Mails from the external IMAP server are only stored one times on our zimbra server and we have much lesser traffic.
The problem is now while nobody is logged in to the IMAP share account the Mails where not updated.

We have already set the "zimbraDataSourceImapPollingInterval:" to 5 minutes.

Put this option seems only to work if the user is logged in.
Is there any way to start a new sync while the user is offline?

Maybe over the console with an cronjob?
yogg


iway
Outstanding Member
Outstanding Member
Posts: 425
Joined: Fri Sep 12, 2014 11:31 pm

Refresh Mails from external IMAP Server when User is offline

Postby iway » Fri Aug 17, 2012 10:01 am

You need to set the zimbraDataSourcePollingInterval as well (without IMAP) for the specific data source. Search the forum for this.
yogg
Posts: 24
Joined: Sat Sep 13, 2014 12:54 am

Refresh Mails from external IMAP Server when User is offline

Postby yogg » Tue Aug 21, 2012 7:34 am

Hmm there is something strange.
The option "zimbraDataSourcePollingInterval" is not available.




# zmprov ga myaccount@domain.com | grep -i polling

zimbraDataSourceCalendarPollingInterval: 12h

zimbraDataSourceImapPollingInterval: 10m

zimbraDataSourceMinPollingInterval: 1m

zimbraDataSourcePop3PollingInterval: 10m

zimbraDataSourceRssPollingInterval: 12h

zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE

zimbraMailMinPollingInterval: 2m

zimbraPrefMailPollingInterval: 5m




# zmprov ma myaccount@domain.com zimbraDataSourcePollingInterval "5m"

-> nothing (no error). action looks ok




# zmprov ga myaccount@domain.com | grep -i polling

zimbraDataSourceCalendarPollingInterval: 12h

zimbraDataSourceImapPollingInterval: 5m

zimbraDataSourceMinPollingInterval: 1m

zimbraDataSourcePop3PollingInterval: 5m

zimbraDataSourceRssPollingInterval: 12h

zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE

zimbraMailMinPollingInterval: 2m

zimbraPrefMailPollingInterval: 5m


The "zimbraDataSourcePollingInterval" only changes the "zimbraDataSourceImapPollingInterval" and the "zimbraDataSourcePop3PollingInterval" duration.

But the option itself is not available?
phoenix
Ambassador
Ambassador
Posts: 26701
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Refresh Mails from external IMAP Server when User is offline

Postby phoenix » Tue Aug 21, 2012 7:52 am

[quote user="yogg"]Hmm there is something strange.[/QUOTE]There's nothing strange about it.
[quote user="yogg"]The option "zimbraDataSourcePollingInterval" is not available.[/QUOTE]It can be set on the datasource or the COS, read the bug report for details (or search the forums).
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 16 guests