I don't know why wrong
I have read more about .fetchmailrc information


My .fetchmailrc is

poll gmail.com protocol pop3 username "2008gaowei" password "369246"

but it is wrong
[gaowei@localhost ~]$ vi .fetchmailrc
[gaowei@localhost ~]$ chmod 600 .fetchmailrc
[gaowei@localhost ~]$ fetchmail -c
fetchmail: connection to gmail.com:pop3 [72.14.253.83/110] failed: 连接超时.
fetchmail: timeout after 300 seconds waiting to connect to server gmail.com.
fetchmail: socket error while fetching from 2008gaowei@gmail.com
[gaowei@localhost ~]$ fetchmail -v
fetchmail: 6.3.8 querying gmail.com (protocol POP3) at 2008年01月28日 星期一 16时46分45秒: poll started
Trying to connect to 64.233.171.83/110...connection failed.
fetchmail: connection to gmail.com:pop3 [64.233.171.83/110] failed: 连接超时.
Trying to connect to 64.233.161.83/110...fetchmail: timeout after 300 seconds waiting to connect to server gmail.com.
fetchmail: socket error while fetching from 2008gaowei@gmail.com
fetchmail: 6.3.8 querying gmail.com (protocol POP3) at 2008年01月28日 星期一 16时51分45秒: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2
[gaowei@localhost ~]$

This is .fetchmailrc also wrong but i don't know why.who can help me?Thanks
poll pop.gmail.com proto POP3 and options no dns
user 'YOUR_USER_NAME@gmail.com' there with password 'YOUR_PASSWORD' is 'YOUR_USER_NAME' here options ssl
keep
mda "/usr/bin/procmail -d YOUR_USER_ID"

Thanks in advance!
谢谢了

Recommended Answers

All 2 Replies

Can you actually get to the mail server without fetchmail? Have you done a telnet check?

The errors show that fetchmail can't connect to the server at gmail.com on the POP port. Have you done your research? Does gmail actually provide POP service on port 110? (hint)

gmail works on spop, look at the gmail instructions for outlook configuration for the correct ports.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.