Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: [SOLVED] Automatically pop external accounts - zmprov script

  1. #11
    techhelp is offline Member
    Join Date
    Mar 2010
    Posts
    12
    Rep Power
    5

    Default Still no joy

    I have tried running the script in tmp/temp, an in many combinations. It appears that the file commands.zmprov does not get created.

    If anyone has a thought it would be nice to hear from you.

  2. #12
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Run the zmprov command from the command line and ensure it is returning output; you have to debug things a little yourself

  3. #13
    techhelp is offline Member
    Join Date
    Mar 2010
    Posts
    12
    Rep Power
    5

    Default What! Learn something new!

    I kind of figured that this would need to be the case. I guess I will have to learn more. Although the benefits of this will be that I will know and trust the install more

    Thanks!
    now to see what happens when I enter things in at
    prov>

  4. #14
    patit is offline Active Member
    Join Date
    May 2006
    Location
    Italy
    Posts
    31
    Rep Power
    9

    Default

    also modify
    Code:
    for ACCOUNT in `zmprov gaa ${DOMAIN}`
    to
    Code:
    for ACCOUNT in `zmprov -l gaa ${DOMAIN}`

  5. #15
    techhelp is offline Member
    Join Date
    Mar 2010
    Posts
    12
    Rep Power
    5

    Default Resorted to using fetchmail for now

    I will keep learning and trying, but I have resorted to fetchmail for now.
    Will try the next thing later and report back.
    Cheers!

  6. #16
    pinoy_steal is offline Senior Member
    Join Date
    Nov 2009
    Location
    Philippines
    Posts
    63
    Rep Power
    5

    Default

    any update on this script. Thanks

  7. #17
    techhelp is offline Member
    Join Date
    Mar 2010
    Posts
    12
    Rep Power
    5

    Default In all honesty, after getting Fetchmail to work

    I have not looked back. I saw a kink in the design of the end user needing to click on "get mail" from the web interface and not having the option work on the desktop client. Not being able to figure out the auto polling made me look to fetchmail.

    running a cron job in the background is more suitable for what I was needing, too bad it is not included in Zimbra, I am configuring it through webadmin. My understanding is that webadmin is not the best option for my Ubuntu 8.04lts server, but I am only using it for doing these two tasks. Configure fetchmail and the cron job.

    As I feel more comfortable I am doing cli via putty....

  8. #18
    rbreck is offline Active Member
    Join Date
    May 2010
    Posts
    34
    Rep Power
    5

    Default

    I ran gregg1ep00's script with uxbod's modifications and can confirm that it worked great on my 6.0.7 FOSS server.

    I've got a domain with about 20 users, all whom have external pop accounts setup and now they check automagically every 60 seconds, wether or not they're logged into the web interface.

    Thanks guys!

  9. #19
    leSasch is offline Senior Member
    Join Date
    Jun 2010
    Posts
    56
    Rep Power
    5

    Default

    Quote Originally Posted by rbreck View Post
    I ran gregg1ep00's script with uxbod's modifications and can confirm that it worked great on my 6.0.7 FOSS server.

    I've got a domain with about 20 users, all whom have external pop accounts setup and now they check automagically every 60 seconds, wether or not they're logged into the web interface.

    Thanks guys!
    Hi,

    I also ran the script - but no automatic download of external email.
    Is anything else to do (except running the script)?

    Regards,
    Sascha

  10. #20
    rbreck is offline Active Member
    Join Date
    May 2010
    Posts
    34
    Rep Power
    5

    Default

    Quote Originally Posted by leSasch View Post
    I also ran the script - but no automatic download of external email. Is anything else to do (except running the script)?
    Check the value of zimbraDataSourcePollingInterval to see if the script is actually updating it...

    Code:
     zmprov gds foo@bar.com | grep zimbraDataSourcePollingInterval
    If it is 60 (or whatever you're trying to set it to), then I'd assume the script works and I'd check if you can pop down manually from the account by hitting send/receive in the web client.

    If it's still set to 0, which I believe is the default, then the script's not working. There are a few different versions in the thread, make sure you've got the right one?

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 15
    Last Post: 12-06-2008, 05:18 PM
  2. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 07:39 AM
  3. Zimbra + LDAP + Posix + Samba
    By fruitlounge in forum Administrators
    Replies: 24
    Last Post: 06-30-2008, 09:55 PM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  5. Replies: 4
    Last Post: 03-05-2007, 08:59 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
  •