From: aalap s. <aal...@gm...> - 2007-10-25 20:27:33
|
hi I am using fetchmail to fetch mails from gmail account but I am facing 2 problems. The first one is that when i try to do openssl s_client -connect smtp.gmail.com:995 -showcerts it shows +OK Gpop ready for requests from 220.224.119.42 c25pf1139902ika where in when i saw certain configuration pages it shows that i should get something like +OK Gpop i16pf3941185wxd ready. I dont understand what is this and secondly I tried connecting to pop.gmail.com using fetchmail i got somekind of socket error no 2, I also created the certificates and edited the .fetchmailrc file . The error it shows is fetchmail: 6.3.7 querying pop.gmail.com (protocol POP3) at Thursday 25 October 2007 11:32:29 PM IST: poll started Trying to connect to 66.249.91.109/995...connected. fetchmail: socket error while fetching from aal...@po... fetchmail: 6.3.7 querying pop.gmail.com (protocol POP3) at Thursday 25 October 2007 11:33:37 PM IST: poll completed fetchmail: Query status=2 (SOCKET) fetchmail: normal termination, status 2 please help the strace output after i input my password is socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(995), sin_addr=inet_addr(" 66.249.91.109")}, 16) = 0 write(1, "Trying to connect to 66.249.91.1"..., 52Trying to connect to 66.249.91.109/995...connected. ) = 52 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0 recv(3, "", 512, MSG_PEEK) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 rt_sigaction(SIGALRM, {0x8054be0, [], 0}, {0x8054ff0, [], 0}, 8) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 close(3) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 rt_sigaction(SIGALRM, {0x8054ff0, [], 0}, {0x8054be0, [], 0}, 8) = 0 write(2, "fetchmail: ", 11fetchmail: ) = 11 write(2, "socket error while fetching from"..., 57socket error while fetching from aal...@po... ) = 57 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 rt_sigaction(SIGALRM, {0x804e890, [], 0}, {0x8054ff0, [], 0}, 8) = 0 time(NULL) = 1193336722 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=109, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=109, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=109, ...}) = 0 write(1, "fetchmail: 6.3.7 querying pop.gm"..., 116fetchmail: 6.3.7 querying pop.gmail.com (protocol POP3) at Thursday 25 October 2007 11:55:22 PM IST: poll completed ) = 116 write(1, "fetchmail: Query status=2 (SOCKE"..., 35fetchmail: Query status=2 (SOCKET) ) = 35 unlink("/home/darshak/.fetchids") = -1 ENOENT (No such file or directory) write(1, "fetchmail: normal termination, s"..., 40fetchmail: normal termination, status 2 ) = 40 unlink("/home/darshak/.fetchids") = -1 ENOENT (No such file or directory) unlink("/home/darshak/.fetchmail.pid") = 0 exit_group(2) = ? Process 10133 detached |