Page 5 of 5 FirstFirst ... 345
Results 41 to 47 of 47

Thread: ZimbraNotify (aka: toaster wannabe)

  1. #41
    Join Date
    Jul 2009
    Location
    Ploubalay, Britany, France
    Posts
    7
    Rep Power
    6

    Default

    Quote Originally Posted by pbruna View Post
    Hi,
    First im going to try to make some time an post the new version of zimbranotify im working on.
    The error 501 is coming from the Zimbra Server, it has nothing to do with perl or any perl module, did you make any modification to the script? if is so, what modification did you do?
    try user%40domain instead of user@domain

  2. #42
    Join Date
    Jun 2009
    Posts
    21
    Rep Power
    6

    Default

    I don't know whether it's ok to post this here but I just stumbled upon something that might interest some of those who use ubuntu:

    Created by Mitja Pagon to ‘scratch an itch’ (so to speak) it provides Zimbra users with convenient desktop integration – albeit basic – alerting them to new mail from all of their Zimbra e-mail accounts.
    more Information:
    Add Zimbra support to the Ubuntu messaging menu with Zimdicator | OMG! Ubuntu!
    https://launchpad.net/zimdicator

    Best regards

  3. #43
    Join Date
    Mar 2007
    Posts
    1
    Rep Power
    8

    Default

    I just released version 0.2 of zimdicator. It's much more stable now, thanks to some wider testing. Also new in this release is notify-osd support, for displaying notifications on new mails and i18n support, which means that it's now fully translatable.

    https://launchpad.net/zimdicator

  4. #44
    Join Date
    Jul 2006
    Location
    Milwaukee, Wisconsin
    Posts
    81
    Rep Power
    9

    Default

    Quote Originally Posted by sect2k View Post
    I just released version 0.2 of zimdicator. It's much more stable now, thanks to some wider testing. Also new in this release is notify-osd support, for displaying notifications on new mails and i18n support, which means that it's now fully translatable.

    https://launchpad.net/zimdicator
    Excellent work! I saw this on OMG! Ubuntu earlier today. I installed it and it seems to work great. I attached a screen shot.

    -n8
    Attached Images Attached Images

  5. #45
    Join Date
    Jun 2009
    Posts
    21
    Rep Power
    6

    Default

    Thanks a lot! That makes it even better now.

  6. #46
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    4

    Default

    Quote Originally Posted by sysinit View Post
    Hi!

    I also got the 501 HTTP error, but was able to find out the cause of the problem. If there is an ampersand (@) in the password, authentication fails because the GET-Request looks like this:

    https://user:p@ssword@host.domain/zi...uery=is:unread

    Of course this won't work...

    The solution is to authenticate using the HTTP::Headers function:

    --- zimbranotify.orig 2008-02-14 13:42:07.000000000 +0100
    +++ zimbranotify 2009-06-16 18:51:49.000000000 +0200
    @@ -707,10 +707,12 @@
    my @username = split(/\@/,$user);
    my $httpmode = $save_ssl ? "https" : "http";

    - my $req_string = "$httpmode://$username[0]:$password\@$server$zimbra_path$user$zimbra_mail_u ri";
    + my $req_string = "$httpmode://$server$zimbra_path$user$zimbra_mail_uri";
    $http_status->enqueue($trans{notify_check});

    - my $req = HTTP::Request->new(GET => $req_string);
    + my $hdr = new HTTP::Headers;
    + $hdr->authorization_basic($username[0], $password);
    + my $req = HTTP::Request->new("GET", $req_string, $hdr);
    my $error;

    my $response = $ua->request($req);


    Hope this helps... ;-)

    Regards,
    Daniel
    This fixed it for me!

  7. #47
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    2

    Default

    Hey, how to solved certificate verify failed

Posting Permissions

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