Page 43 of 44 FirstFirst ... 3341424344 LastLast
Results 421 to 430 of 438

Thread: Conky SSL Email Python Script

  1. #421
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    Quote Originally Posted by scratch178 View Post
    hi im running mint 12 and i love conky,
    but conkyemail doesn't work any more.
    Looks like an issue with the server to me, working just fine here:

    Code:
    ]$ conkyEmail -m IMAP -s imap.googlemail.com -e -u *******@gmail.com -p ********* -i 5
    5 New
    1. YouTube: "Your Personal YouTube Digest - 25 Nov 2011"
    2. Peter Tyson: "Winter Offers for Peter Tyson"
    3. Linked.NET Users Group (LIDNUG) Group Members: "[15] new discussions, [25] new
       comments and [42] new jobs on LinkedIn"
    4. Python Community Group Members: "[1] manager's choice, [12] new discussions,
       [28] new comments and"
    5. british.gas@britishgas.co.uk: "Avoid an estimated bill - send us your meter
       reading today"

  2. #422
    Join Date
    Nov 2010
    Beans
    19

    Re: Conky SSL Email Python Script

    just tried it with an other mail adress --> same error.
    a friend of mine has the same problem and he uses gmail

  3. #423
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    Quote Originally Posted by scratch178 View Post
    just tried it with an other mail adress --> same error.
    a friend of mine has the same problem and he uses gmail
    Are you pointing at the right google server (imap.googlemail.com), using SSL (-e or --ssl option ) and using the full email address as the username? As I've done above? The script has not changed in a long time and is working fine

    edit:

    Quote Originally Posted by scratch178 View Post
    conkyemail doesn't work any more.
    .
    .
    im running conkyEmail 2.14
    Just checked as for some reason version 2.14 is still the latest in deb packages when I fixed a known issue with Imap in v2.15:

    Code:
    conkyemail (2.15)
    
      * Fixed conkykeyring dependency issue with some debian systems (case sensitivity) 
      * Updated IMAP usage by stopping call to shutdown method whihc errors since py 2.7
    For now please use the attached version of the script by copying it over the top of the one found here: /usr/share/conkyemail/conkyEmail.py

    I still need to get a VM up and running for Ubuntu before I can update the package, I don't have the time right now, maybe next weekend...
    Attached Files Attached Files
    Last edited by kaivalagi; November 28th, 2011 at 08:15 AM.

  4. #424
    Join Date
    Oct 2010
    Location
    The United States
    Beans
    843
    Distro
    Ubuntu

    Re: Conky SSL Email Python Script

    It works on my IMAP.
    Thank you,
    GG -----------

  5. #425
    Join Date
    Nov 2010
    Beans
    19

    Re: Conky SSL Email Python Script

    thanks for the new script!!!
    its working now

    great
    Last edited by scratch178; November 28th, 2011 at 08:36 AM.

  6. #426
    Join Date
    Apr 2007
    Location
    Stockport, UK
    Beans
    64
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky SSL Email Python Script

    Hi,

    I have been trying to get this script working but so far without any success and I'm not sure why... I've looked through all the posts so far and have not seen a solution so I hope maybe you could offer some advice?

    I have a virginmedia account which still uses the ntlworld address.

    These are the settings obtained from virginmedia:
    Receiving mail (IMAP4)
    IMAP4 server name : imap.ntlworld.com
    IMAP4 SSL : Enabled
    IMAP4 port : 993
    IMAP4 authentication : Enabled (or 'Password' on Macs)
    IMAP4 username : Full e-mail address, e.g.,richard.branson@ntlworld.com
    IMAP4 SPA (Secure Password Authentication) : Disabled

    So I tried:
    conkyEmail -u xxx -p xxx -m IMAP -s imap.ntlworld.com -o 993 -e -c 45 -i 3 -v
    *** INITIAL OPTIONS:
    servertype: IMAP
    servername: imap.ntlworld.com
    port: 993
    folder: Inbox
    ssl: True
    username: xxx
    password: xxx
    template: None
    mailinfo: 3
    maxwidth: 80
    linelimit: 0
    quote: "
    verbose: True
    errorlogfile: None
    infologfile: None
    INFO: Logging on to IMAP server: imap.ntlworld.com
    ERROR: getIMAPEmailData:Unexpected error:Traceback (most recent call last):
    File "/usr/share/conkyemail/conkyEmail.py", line 410, in getIMAPEmailData
    imap.login(username, password)
    File "/usr/lib/python2.6/imaplib.py", line 500, in login
    raise self.error(dat[-1])
    error: [AUTHENTICATIONFAILED] Invalid credentials (Failure)

    Any ideas?

    Thanks in advance.
    Last edited by MeKino; December 6th, 2011 at 11:33 AM.

  7. #427
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    Looks good to me, use gmail is my answer

    I assume you can access via IMAP in a mail client such as Thunderbird using the same settings?

  8. #428
    Join Date
    Apr 2007
    Location
    Stockport, UK
    Beans
    64
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky SSL Email Python Script

    As you say, there is nothing obviously wrong.

    I don't use a mail client anymore on my pc\laptop - it's more convenient to log in via the web - but I might give it a try.

    Thanks anyway.

  9. #429
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    UPDATE
    A new conkyemail package is on it's way just to bring the package in-line with the recent fixes posted here relating to IMAP issues, changes are here: https://launchpadlibrarian.net/87770...source.changes

  10. #430

    Lightbulb Re: Conky SSL Email Python Script

    Quote Originally Posted by pranavkaranjkar View Post
    but if I store my password in keyring, then when I dont provide the "-p" option in conkyemail, it asks me for my conkyKeyring password which is not good if I have conky in my startup. Can you please explain how can I get conkykeyring to work with conkyemail?
    Quote Originally Posted by kaivalagi View Post
    Sector 11 had/has the same issue...I don't and can't reproduce. I think it has everything to do with the distro you use and how it is setup for password keyrings...and not the script, the script uses the python-keyring library which does the biz...

    If you can't get it to work then use -p....I am not sure how I can help

    Install Arch Linux and you wont have the issue
    I'm surprised this question hasn't been properly answered yet. Just in case someone else runs into this problem, I'm running Debian Squeeze and I resolved it by 1) using the same password for python-keyring as my user account password and then 2) installing the python-keyring-gnome backend so that Gnome passes the user password along to python-keyring during account sign-in. This way when conkyEmail script calls the conkyKeyring script due to no password set in the command string:
    Code:
    {execi conkyEmail -u email@server.ext -s server.ext}
    then conkyKeyring accesses python-keyring and python-keyring does not prompt for the keyring password. Provided you have stored the account username and password properly with conkyKeyring everything should then work.

    I resolved this by running each command with terminal and the -v (verbose) flag set so I could see the error messages when it failed.

    I hope that makes sense and helps someone else in the same boat.
    I <3 my Debian + Drupal webserver: Fated to End Sometime

Page 43 of 44 FirstFirst ... 3341424344 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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