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 |
From: Rob M. <rob...@gm...> - 2007-10-26 00:45:26
|
On 10/25/07, aalap shah <aal...@gm...> wrote: > hi I am using fetchmail to fetch mails from gmail account but I am facing 2 > problems. This would be far more appropriate to the -users mailing list. > 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 This is the greeting from the GMail POP service. > 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 Upgrade to 6.3.8. > 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 Socket errors (as has been discussed many times in the past) relate to a communications failure with the remote host. > please help > > the strace output after i input my password is As specified in the FAQ under reporting a bug (http://www.fetchmail.info/fetchmail-FAQ.html#G3) please provide the output of: fetchmail --nosyslog --nodetach -vvv The content of your .fetchmailrc would also help. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Rob M. <rob...@gm...> - 2007-10-26 13:02:39
|
Keep the traffic on the list, and next time use the -users list. On 10/26/07, Aalap Shah <aal...@gm...> wrote: > hi, as u requested the output of > fetchmail --nosyslog --nodetach -vvv > is > > darshak@darshak-desktop:~$ fetchmail --nosyslog --nodetach -vvv > Enter password for aal...@po...: > fetchmail: starting fetchmail 6.3.7 daemon As I said, upgrade to 6.3.8 > fetchmail: 6.3.7 querying pop.gmail.com (protocol POP3) at Friday 26 > October 2007 01:50:48 PM IST: poll started > Trying to connect to 66.249.91.109/110...connection failed. > fetchmail: connection to pop.gmail.com:pop3 [66.249.91.109/110] failed: > Connection timed out. That'll never work - GMail provides POP3S, not POP3: https://mail.google.com/support/bin/answer.py?answer=13287 <---SNIP---> > it hangs after this i waited for 10 minutes but no outcome > and the contents of my .fetchmailrc file is > > # Configuration created Thu Oct 25 01:31:45 2007 by fetchmailconf 1.52 > $Revision: 4740 $ > set postmaster "darshak-desktop" > set bouncemail > set no spambounce > set properties "" > set daemon 600 > poll pop.gmail.com with proto pop3 and options no dns > user 'aalap.shh' is 'darshak-desktop' Add "ssl" to the last line. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Rob M. <rob...@gm...> - 2007-10-26 13:41:01
|
If you're incapable of replying to the list I will stop responding. On 10/26/07, aalap shah <aal...@gm...> wrote: > hey thanks really i installed fetchmail 6.3.8 and it all wroked > one thing how can make my fetchmail not to send the mails on localhost > port 25 i just want it to store all the mails in a file See the MDA option in the man page, particularly the warnings. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Rob M. <rob...@gm...> - 2007-10-28 12:24:44
|
On 10/28/07, aalap shah <aal...@gm...> wrote: > hey sorry could not reply > hey thanks for your help However, for your continued failure to keep traffic on the list, I will not be responding to any future emails from your email address. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |