Help - Search - Members - Calendar
Full Version: trouble with gotmail
Hostony Board > General Support > General Support
keitaro
I put gotmail in my account on server24 and when it goes to make an SSL connection it fails.. here is the debug log from my custom squirrelmail:

CODE
::: Running gotmail
DEBUG: /home/zefieco/bin/gotmail --curl-bin /usr/bin/curl --speed-limit --debug --retry-limit 5 --forward keitaro@zefie.com --username altimit2010 --password ******* --domain msn.com --folders "Inbox" --delete
DEBUG: Gotmail v0.8.1 Copyright (C) 2000-2003 Peter Hawkins
DEBUG: Gotmail comes with ABSOLUTELY NO WARRANTY.
DEBUG: This is free software, and you are welcome to redistribute it
DEBUG: under certain conditions; see the file COPYING for details.
DEBUG:
DEBUG: System version is: linux
DEBUG: Perl version is: 5.008001
DEBUG: Curl version is: curl 7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
DEBUG: Protocols: ftp gopher telnet dict ldap http file https ftps
DEBUG: Features: IPv6 SSL libz NTLM
DEBUG:
DEBUG: Getting hotmail index page...
DEBUG: FETCH: http://www.hotmail.com/
DEBUG: command line: /usr/bin/curl "http://www.hotmail.com/" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG: Following redirect to http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN
DEBUG: FETCH: http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN
DEBUG: command line: /usr/bin/curl "http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG: Following redirect to http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN&Ui=1
DEBUG: FETCH: http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN&Ui=1
DEBUG: command line: /usr/bin/curl "http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=1033&_lang=EN&Ui=1" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG:
DEBUG: Processing java check....
DEBUG: FETCH: http://login.passport.net/uilogin.srf?id=2
DEBUG: command line: /usr/bin/curl "http://login.passport.net/uilogin.srf?id=2" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies --data "@/tmp/fileawtSmggotmail_form" -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG:
::: Logging in
DEBUG: FETCH: https://loginnet.passport.com/ppsecure/post.srf?lc=1033&id=2&tw=20&cbid=2&da=passport.com&kpp=2
DEBUG: command line: /usr/bin/curl "https://loginnet.passport.com/ppsecure/post.srf?lc=1033&id=2&tw=20&cbid=2&da=passport.com&kpp=2" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies --data "@/tmp/fileawtSmggotmail_form" -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG: Retrying [1/5]...
DEBUG: Retrying [2/5]...
DEBUG: Retrying [3/5]...
DEBUG: Retrying [4/5]...
DEBUG: Retrying [5/5]...
::: No messages to get


any ideas as to why?
MartinB
sorry i can't find the error msg in your debug.
i use gotmail in my own squirrelmail in server20 and i have no problems getting mails from my hotmail account.

is your account info ok ?
Alec
keitaro: How did you enable gotmail for your account?
keitaro
the login is fine, it doesnt have an error message it just seems to "stop working" once it hits an SSL URL..

CODE
DEBUG: FETCH: https://loginnet.passport.com/ppsecure/post.srf?lc=1033&id=2&tw=20&cbid=2&da=passport.com&kpp=2
DEBUG: command line: /usr/bin/curl "https://loginnet.passport.com/ppsecure/post.srf?lc=1033&id=2&tw=20&cbid=2&da=passport.com&kpp=2" -b /tmp/filee646Mmgotmail_cookies -c /tmp/filee646Mmgotmail_cookies --data "@/tmp/fileawtSmggotmail_form" -v -i -m 600 -D /tmp/fileu0amdtgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)"| tee -a /tmp/gotmail_log
DEBUG: Retrying [1/5]...
DEBUG: Retrying [2/5]...
DEBUG: Retrying [3/5]...
DEBUG: Retrying [4/5]...
DEBUG: Retrying [5/5]...
::: No messages to get


It says there are no messages but there are. Also notice the retrying.. I cant get toto display any detailed error so the only thing i can assume is its a problem with SSL in curl, since it works fine til the SSL url comes.
keitaro
QUOTE(Alec @ Jul 28 2004, 08:23 PM)
keitaro: How did you enable gotmail for your account?

I downloaded it and put it in my home dir.
/home/zefieco/bin/gotmail

I've done this many times on other hosts. That way I don't need to bother the admins.
Alec
Please remind me your domain name
keitaro
QUOTE(Alec @ Jul 28 2004, 08:47 PM)
Please remind me your domain name

domain: zefie.com
server: server24
user: zefieco
ip: 67.15.48.21

smile.gif
Stanly
Please tell me what kind of connection and protocol use gotmail.
keitaro
QUOTE(Stanly @ Jul 28 2004, 10:07 PM)
Please tell me what kind of connection and protocol use gotmail.

I don't understand what you mean.
Stanly
I need to know connection settigs that use gotmail.
Please tell me them.
keitaro
gotmail is run from my squirrelmail at www.zefie.com/mail/ .. gotmail makes a http connection to the hotmail servers, it then needs to make a http ssl connection to login then will go back to http to download the emails. the emails are then forwarded via sendmail to the defined address (in this case, keitaro@zefie.com) where they would land in my imap account set up on my Hostony hosting.

I think this is what you meant if not then I'm sorry.
MartinB
i have asked Alec (link to the post) the past month and he install it for me.

It's working ok in server 20.

maybe you will need to contact him.
Stanly
Could you please tell me IP of server/servers where gotmail connect?
I need this info to check connection going.
keitaro
QUOTE(Stanly @ Jul 29 2004, 01:50 AM)
Could you please tell me IP of server/servers where gotmail connect?
I need this info to check connection going.

everything that I know is all in the log in the first post
phobos
May be hotmail implemented some new security features to protect from remote reading.
keitaro
figured it out. there is a misconfiguration of curl which causes an error when you go to load an SSL url.

CODE
curl: (60) error setting certificate verify locations

More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). The default
bundle is named curl-ca-bundle.crt; you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.


This is fixed by having gotmail send the said -k command. Thx for all your help it works now.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here