Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 Still Can't Get Emails Through

closed-fixed
nanotube
None
5
2007-04-22
2007-04-18
Anonymous
No

I am still have the problem I was having the other night. It just cannot seem to send an email through. I gave up with trying to use my host, even though I managed to get that one email through last night. I am now just trying to get it to work with Gmail, for which I followed the instructions in your wiki page. The following is the error reported in the keylogger.exe.log file.

Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "controlpanel.pyc", line 166, in __call__
File "logwriter.pyc", line 317, in SendZipByEmail
File "smtplib.pyc", line 244, in __init__
File "smtplib.pyc", line 296, in connect
gaierror: (11001, 'getaddrinfo failed')

I will also attach my .ini file for referrence. The email account and password aren't a sensitive matter, since it is a free account I just started.

Discussion

  • .ini file

     
    Attachments
  • nanotube
    nanotube
    2007-04-18

    Logged In: YES
    user_id=1173666
    Originator: NO

    Hi,

    the getaddrinfo thing is indicative of a general network problem...

    please see the info in this forum post, try the steps listed, and report results:
    http://sourceforge.net/forum/message.php?msg_id=4210792

     
  • nanotube
    nanotube
    2007-04-18

    Logged In: YES
    user_id=1173666
    Originator: NO

    oh, haha, just took a look at your ini file :)
    you have a typo. you have "stmp.gmail.com", instead of "smtp.gmail.com".
    note, not S T M P, but S M T P

    try it with smtp.gmail.com, and report back :) if this doesnt work, then you can go and start playing with the stuff i posted in the previous post. but try this first.

     
  • Logged In: NO

    Well, that was a bit of a dumb mistake.... But it still gives me this error. I will go check out the forum post you recommended:

    Exception in Tkinter callback
    Traceback (most recent call last):
    File "Tkinter.pyc", line 1403, in __call__
    File "controlpanel.pyc", line 166, in __call__
    File "logwriter.pyc", line 326, in SendZipByEmail
    File "smtplib.pyc", line 603, in starttls
    File "smtplib.pyc", line 378, in docmd
    File "smtplib.pyc", line 352, in getreply
    File "socket.pyc", line 345, in readline
    error: (10054, 'Connection reset by peer')

     
  • nanotube
    nanotube
    2007-04-18

    Logged In: YES
    user_id=1173666
    Originator: NO

    well, getaddrinfo is a DNS problem, connection reset by peer is a different problem - just basic network problem... maybe try again?
    see the discussion here:
    http://www.thescripts.com/forum/thread168301.html
    how reliable is your network connection generally? can you try also the yahoo mail instructions, if gmail keeps failing?

     
  • JJRuhle
    JJRuhle
    2007-04-18

    Logged In: YES
    user_id=1772676
    Originator: NO

    My network connection is usually reliable, however, it is a school network. It may have restrictions on it that I am not aware of. However, I am a Computer Science major and well acquainted with ITS, so I just wrote one of them to ask if it was being blocked for some reason.

    I will try a few more times and also try yahoo and get back to you.

    Also, I am not sure if this is relevant, but whenever it generates those errors, the control panel turns white and locks up for about 4-5 minutes.

     
  • JJRuhle
    JJRuhle
    2007-04-18

    Logged In: YES
    user_id=1772676
    Originator: NO

    Well, I get a different, but similar error with Yahoo.

    Exception in Tkinter callback
    Traceback (most recent call last):
    File "Tkinter.pyc", line 1403, in __call__
    File "controlpanel.pyc", line 166, in __call__
    File "logwriter.pyc", line 326, in SendZipByEmail
    File "smtplib.pyc", line 603, in starttls
    File "smtplib.pyc", line 378, in docmd
    File "smtplib.pyc", line 355, in getreply
    SMTPServerDisconnected: Connection unexpectedly closed

     
  • JJRuhle
    JJRuhle
    2007-04-19

    Logged In: YES
    user_id=1772676
    Originator: NO

    Well, the network admin says there shouldn't be anything blocking it. These are his responses to my emails:

    ************************************************************************
    This shouldn't be a problem, as we don't block these ports. Give me your
    current IP address and I can run it through our logs to see if anything was
    blocked.

    ************************************************************************
    I'm not seeing anything in the access control or firewall logs pertaining to
    this IP (137.146.136.163), either today or yesterday. My guess is that you
    have a configuration issue.

    Anything else I should try?

     
  • nanotube
    nanotube
    2007-04-19

    Logged In: YES
    user_id=1173666
    Originator: NO

    Hi,
    Well... one thing you could try is to set up any mail client to use smtp.google.com to send email
    so, set up a new account in thunderbird (or whatever client you like), give it the gmail settings for both incoming and outgoing (the outgoing is the important one, though). make sure that for the smtp server, you give it identical settings as we use for pykeylogger:

    server: smtp.gmail.com
    check the TLS box
    use port 587
    give it your logon and password

    then, try sending email through that to yourself, and see if it works. if your email client works and the outgoing email successfully goes through, then you can be fairly certain that it is not the network. otherwise, you can be fairly certain that it is either (1) something on the network between you and smtp.gmail, or (2) somithng on your computer screwing things up. since your IT guys say the network doesn't block stuff, then i guess (2) would be more likely.

    so, try it, and report back with the results...

    since you are the only one having this trouble setting up outgoing email, at this point my guess is that it's something peculiar to your network/computer... but let's see how the thunderbird test goes. :)

     
  • nanotube
    nanotube
    2007-04-19

    • assigned_to: nobody --> nanotube
     
  • JJRuhle
    JJRuhle
    2007-04-20

    Logged In: YES
    user_id=1772676
    Originator: NO

    Wow, that is frustrating. ITS had 'forgotten' that they put an SMTP discard on the residence hall networks due to a recent spam outbreak. That seems to be what is causing the problems.

    It is sort of frustrating that I wasted so much time trying to figure out what is wrong, when nothing is wrong. He just neglected to tell me about the block....

    Sorry to take up your time!

     
  • nanotube
    nanotube
    2007-04-20

    Logged In: YES
    user_id=1173666
    Originator: NO

    haha that's a funny one. :)
    so, i take it that they removed the SMTP block now, and that everything works?

    no problem about taking up my time - i can use a little break from studying now and then, anyway. ;)
    if you have any more questions, feel free to post!

    and don't forget to change your password on the gmail account, since it has now been potentially exposed to the world, albeit in an obfuscated form.

     
  • nanotube
    nanotube
    2007-04-22

    • status: open --> closed-fixed