Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [SOLVED] Receiving mail from MultiPOP3 Server

  1. #11
    javamon is offline Starter Member
    Join Date
    May 2007
    Posts
    2
    Rep Power
    8

    Default

    5.0.0 GA open source on Ubuntu 6.06lts:

    Is multipop still a command line only configuration option? I don't see anything in the UI - the "external account option" seems to have the same functionality as earlier (4.5.x) releases - i.e.: it will only poll the external pop when logged into the web client and "get mail" is selected.

    Thanks. (upgrade process went smoothly, for what it's worth)

  2. #12
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Yes, only from the command line.

  3. #13
    Alias Node is offline Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    9

    Default

    Thanks, the above hint works swell!

    But it exposes another problem: the passwords keep disappearing from my external account settings? (Zimbra 5.0 Open Source Edition)

    Is anyone else seeing this? Is there a cure?

  4. #14
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    9

    Default zimbraDataSourcePollingInterval

    Quote Originally Posted by gmbyron View Post
    Okay, here is a solution for all of you. I don't know why exactly it worked that way but it worked.. Apparently default COS won't apply to existing accounts so I had to change it on account basis
    Code:
    zimbra@mail$ zmprov
    prov> mds [username (email without domain)] [data source/ext. pop account name] zimbraDataSourcePollingInterval 60
    repeat mds for every account and data source.
    Thanks for pointing out how to configure it correctly for existing external accounts. But it can't be the necessary procedure for new external accounts. Newly created external accounts should inherit the value specified in the COS instead of just setting the zimbraDataSourcePollingInterval to 0 (which - I guess - means "never").

    I set the zimbraDataSourcePollingInterval for the entire COS to 180 and created a new external account. The zimbraDataSourcePollingInterval for this newly created data source is set to 0, why?

    I want our users to be able to add external accounts without interaction with me. I don't want to manually set the polling interval an each and every external account... Am I getting something wrong?

  5. #15
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by CrypTom View Post
    I want our users to be able to add external accounts without interaction with me. I don't want to manually set the polling interval an each and every external account... Am I getting something wrong?
    New users do inherit the COS when they're created. Run the following and post the output:

    Code:
    zmprov gc yourCOS | grep Polling
    create a new user without any external mailbox then run this:

    Code:
    zmprov ga newaccount@yourdomain.com | grep Polling
    Let's see if it's picked up the COS settings.

    The data source polling interval is set to zero because each source being polled can override the COS polling interval. You should find entries in the logs indicating that Zimbra is polling the external accounts, are there any entries?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #16
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    9

    Default

    Quote Originally Posted by phoenix View Post
    New users do inherit the COS when they're created. Run the following and post the output:

    Code:
    zmprov gc yourCOS | grep Polling
    Code:
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourcePollingInterval: 600
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 2m
    zimbraPrefMailPollingInterval: 5m
    Quote Originally Posted by phoenix View Post
    create a new user without any external mailbox then run this:

    Code:
    zmprov ga newaccount@yourdomain.com | grep Polling
    Let's see if it's picked up the COS settings.
    Code:
    zimbraDataSourceMinPollingInterval: 1m
    zimbraDataSourcePollingInterval: 600
    zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
    zimbraMailMinPollingInterval: 2m
    zimbraPrefMailPollingInterval: 5m
    I did _not_ create a new user, but posted the output of an existing user that has never touched external accounts yet. The manually set Interval (600) has been inherited. When I run the command with my account (where I have manually set the account's polling interval before changing the COS) I get 180 instead of 600.

    Creating new users (= replacing the existing users) is not an option as our server is productive...

    Quote Originally Posted by phoenix View Post
    The data source polling interval is set to zero because each source being polled can override the COS polling interval. You should find entries in the logs indicating that Zimbra is polling the external accounts, are there any entries?
    Ahh, so 0 does not mean "never" but "inherit". Which is strange because I personally have to external accounts configured (after setting the COS poll interval). One external account is receiving mails (but only after changing the ds poll interval manually), the other (still 0) does not receive mails automatically.

    As to the logs:
    I only find entries like the one below
    Code:
    [ScheduledTask-9] [name=user@mydomain.ch;mid=328;ds=gmx;] datasource - Import completed.
    Entries with the Keyword "ScheduledTask" only exist for data sources where I have manually set the poll interval.

  7. #17
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by CrypTom View Post
    Ahh, so 0 does not mean "never" but "inherit". Which is strange because I personally have to external accounts configured (after setting the COS poll interval). One external account is receiving mails (but only after changing the ds poll interval manually), the other (still 0) does not receive mails automatically.
    I have to apologise for my answer to this, it seems I was looking at the wrong information this morning. The current setting is zero and that does mean 'never poll', you need to set it manually for the moment, there's an outstanding RFE to expose this feature in the UI. Add your vote and comments to that RFE.

    To modify the polling via cli you need to do the following:

    Code:
    zmprov mds account@yourdomain.com datasourcename zimbraDataSourcePollingInterval 5m
    and that does work.

    My apologies again for that mistake.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #18
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Keep in mind the data-source name isn't going to be the same for every account, but do the rest of the values inherit from COS properly if you null them out?
    Quote Originally Posted by mmorse View Post
    su - zimbra
    zmprov mds user@domain.com [Data source external IMAP/POP account name] zimbraDataSourcePollingInterval 900s

    zimbraDataSourceMinPollingInterval is usually 60s or 1m or 2m & zimbraFeatureMailPollingIntervalPreferenceEnabled should be set to TRUE

    To cancel polling, set the mds attribute value to an empty string ('') or 0. Keep in mind that zimbraDataSourceMinPollingInterval gets inherited from the COS to the account to the data source. If a child object sets the value to "", it inherits the parent's value - if set to 0, it's turned off.

    To expose that for the end user vote for: Bug 22114 - Expose external account polling interval in UI

  9. #19
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    9

    Default

    Quote Originally Posted by mmorse View Post
    Keep in mind the data-source name isn't going to be the same for every account, [...]
    Thats exactly the reason why I'm writing here. It's not very efficient having to write a script that (periodically, because users could add new external accounts anytime!) processes every user, parses its data sources and sets the polling time, compared to the possibility to just inherit the COS value by default!

    Quote Originally Posted by mmorse View Post
    [...] but do the rest of the values inherit from COS properly if you null them out?
    What do you mean by "the rest of the values". I don't see other data source values which could be inherited:
    Code:
    zmprov gds user@mydomain.ch
    objectClass: zimbraDataSource
    objectClass: zimbraPop3DataSource
    zimbraDataSourceConnectionType: ssl
    zimbraDataSourceEmailAddress: xxxxxxxxxx
    zimbraDataSourceEnabled: TRUE
    zimbraDataSourceFolderId: 81179
    zimbraDataSourceHost: xxxxxxxxxx
    zimbraDataSourceId: cb9aaa47-afbd-49eb-aa5b-829af505453e
    zimbraDataSourceLeaveOnServer: TRUE
    zimbraDataSourceName: xxxxxxxxxx
    zimbraDataSourcePollingInterval: 0
    zimbraDataSourcePort: 995
    zimbraDataSourceUsername: xxxxxxxxxx
    zimbraPrefFromAddress: xxxxxxxxxx
    zimbraPrefFromDisplay: xxxxxxxxxx
    Thanks
    Tom

  10. #20
    scohol is offline Active Member
    Join Date
    Sep 2009
    Location
    Canberra, Australia
    Posts
    25
    Rep Power
    5

    Default

    I have this setup, and it works great except every now and again polling to an external POP3 server times out.

    This causes the datasource to stop polling until the POP3 account is reconfigured in the Webclient.

    What i was wondering is, wouldn't it be nice to have a feature to retry even though it failed. And then after a certain number of failed attempts it should deactivate the external POP3 account. Not after one failure.

    Because this goes unnoticed for people that don't use the webclient as they don't get the prompt telling them there is something wrong with the external POP3 account.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •