LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   fetchmail error-- (https://www.linuxquestions.org/questions/linux-server-73/fetchmail-error-877804/)

centos123 04-29-2011 05:36 AM

fetchmail error--
 
i can't fetchmail form my company server to local pc.it gives error


fetchmail: WARNING: Running as root is discouraged.
fetchmail: starting fetchmail 6.3.6 daemon
fetchmail: connection to 202.137.236.11:pop3 [202.137.236.11/110] failed: Connection timed out.
fetchmail: POP3 connection to 202.137.236.11 failed: Connection timed out
fetchmail: Query status=2 (SOCKET)
fetchmail: connection to gmail.com:pop3 [74.125.236.56/110] failed: Connection timed out.


iam trying to connect but it can't

pls help me

repo 04-29-2011 05:51 AM

Quote:

fetchmail: WARNING: Running as root is discouraged.
Don't run fetchmail as root.
Any firewall?

Kind regards

Senthilv 04-29-2011 06:24 AM

For This you First Check
ping 202.137.236.11
whether if its Working Means
then,do
Login through telnet and check it, if its working or not .......
For this View this link
http://www.yuki-onna.co.uk/email/smtp.html

omgs 04-29-2011 06:29 AM

Apart from connecting as root, the server is smtp.gmail.com in port 995.

centos123 04-29-2011 09:18 AM

thanks for replying all
their is firewall between my pc and server pc

repo 04-29-2011 10:16 AM

Quote:

their is firewall between my pc and server pc
Well, is port 110 open?
What is the output from
Code:

telnet 202.137.236.11 110
What happens if you disable the firewall?

Kind regards

centos123 04-29-2011 10:50 AM

my dovecot service is not ruunig...
it gives error


#service dovecot start
Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use
[FAILED]
and while doing telnet it takes lot of time..my pop3 is not running.

how to start pop3

repo 04-29-2011 12:45 PM

I have no problem connecting to the mail server
Code:

repo@cannabis ~]$ telnet 202.137.236.11 110
Trying 202.137.236.11...
Connected to 202.137.236.11.
Escape character is '^]'.
+OK <52810.1304098629@pop.rediffmailpro.com>
quit
+OK
Connection closed by foreign host.
repo@cannabis ~]$

From where are you connecting to what server?
Code:

i can't fetchmail form my company server to local pc.it gives error
Are they in the same local network, or are you connecting to the outside (your home pc)
Where is dovecat running?

Kind regards

centos123 04-29-2011 11:28 PM

thanks repo
iam in a project for making mail server.
iam connecting server from my company.and all my server and other pc are connected in lan.my mail server can fetch mail.but pc mc cant fetch nor ping this ip....
it error Time Out.

can you tell me how to start pop3 service .might be issue with pop3.

centos123 04-29-2011 11:32 PM

iam in same network of server.and dovecot in my pc is not running.

#service dovecot start
Starting Dovecot Imap: Fatal: listen(143) failed: Address already in use
[FAILED]
what to do.

centos123 04-29-2011 11:35 PM

#netstat -lnp | grep :143

tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2592/tcpserver
what to do

repo 04-30-2011 01:20 AM

Just kill the tcpserver, and let him listen on another port.

Kind regards

centos123 04-30-2011 01:53 AM

thanks repo

iam using qmail and it uses courier-imap and qmail-pop3 services.
i talked to support they told dovecot run with postfix not with qmail.so not to configure dovecot.
when i telnet


telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to abc.co.in (127.0.0.1).
Escape character is '^]'.
+OK <29898.1304146121@abc.co.in>

cursor stoped here and when i hit enter it shows-

-ERR authorization first


what to do

repo 04-30-2011 05:37 AM

Quote:

telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to abc.co.in (127.0.0.1).
Escape character is '^]'.
+OK <29898.1304146121@abc.co.in>
This means it's working.
The server is accepting connections on port 110

Kind regards

centos123 04-30-2011 06:05 AM

so repo now what to do.
iam trying to fetch mail from mail server.iam not success.

cat /root/.fetchmailrc

poll 202.137.236.11 proto pop3 localdomains mypcdomain.co.in vpopdomain.co.in no dns uidl
envelope Delivered-To:
#server name
qvirtual abc.co.in-

user abc@abc.co.in with pass "123" is xyz@mypcdomain.co.in here keep forcecr flush dropdelivered batchlimit 15

here abc is server catchall account in server domain abc.co.in and xyz is catchall account in my pc,and vpopdomain is domain created through vadddomain in pc.



log of fetchmail--------------

fetchmail: POP3 connection to 202.137.236.11 failed: Connection timed out
fetchmail: Query status=2 (SOCKET)
fetchmail: sleeping at Sat Apr 30 16:16:34 2011 for 15 seconds
fetchmail: awakened at Sat Apr 30 16:16:49 2011
fetchmail: connection to 202.137.236.11:pop3 [202.137.236.11/110] failed: Connection timed out.


what is the problem how to solve


All times are GMT -5. The time now is 06:50 PM.