Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Cannot connect to POP server ( connect error 10060 )

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


ethanakins at hotmail

Mar 20, 2010, 10:44 PM

Post #1 of 5 (5141 views)
Permalink
Cannot connect to POP server ( connect error 10060 )

QMAIL INSTALL FROM SOURCE CODE! ( Unix )



1.) I can receive mail
2.) I can send mail



However, I am unable to connect to the server from OUTLOOK EXPRESS!



The error received is:



------------------------------------------------------------------
-ERR Cannot connect to POP server xx.xxx.xx.x, connect error 10060
------------------------------------------------------------------



Can anyone shed any light on this situation? Below is additional information that may help resolve this issue! Thank you in advance for your time...









==================================================================



( SMTP AND POP3 PORTS ARE OPEN / VERIFIED USING Nmap )



25/tcp open smtp
110/tcp open pop3



==================================================================



( TCPSERVER HAS THE CORRECT IP'S AND REBUILT with 'qmailctl cdb' AFTER UPDATING )



ns1# cat /etc/tcp.smtp
127.:allow,RELAYCLIENT=""
192.168.:allow,RELAYCLIENT=""
myexternalip:allow,RELAYCLIENT=""



* myexternalip = The IP at my house!



==================================================================



( ALL SERVICES APPEAR TO BE UP AND WORKING PROPERLY )



ns1# qmailctl stat
/service/qmail-pop3d: up (pid 11018) 5325 seconds
/service/qmail-pop3d/log: up (pid 11019) 5325 seconds
/service/qmail-send: up (pid 11013) 5325 seconds
/service/qmail-send/log: up (pid 11017) 5325 seconds
/service/qmail-smtpd: up (pid 11014) 5325 seconds
/service/qmail-smtpd/log: up (pid 11015) 5325 seconds
messages in queue: 39
messages in queue but not yet preprocessed: 0



==================================================================



( TELNET LOCALHOST 25 = CONNECTED )



ns1# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ns1.servername.com ESMTP



==================================================================



( TELNET LOCALHOST 110 = AUTHORIZATION FAILS )



ns1# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <13601.1269148420 [at] ns1>
user myname
+OK
pass mypassword
-ERR authorization failed
Connection closed by foreign host.



==================================================================



( VERIFYING CHECKPASSWORD = WORKS PROPERLY! )



ns1# /var/qmail/bin/qmail-popup blah /bin/checkpassword pwd
+OK <13590.1269148394 [at] bla>
user myname
+OK
pass mypassword
/usr/home/myname



==================================================================



( BELOW ARE THE FILES DOWNLOADED AND CONFIGURED )



netqmail-1.06.tar.gz
ucspi-tcp-0.88.tar.gz
daemontools-0.76.tar.gz
checkpassword-0.90.tar.gz



==================================================================







_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2


kyle-qmail at memoryhole

Mar 20, 2010, 11:06 PM

Post #2 of 5 (5038 views)
Permalink
Re: Cannot connect to POP server ( connect error 10060 ) [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sunday, March 21 at 05:44 AM, quoth Ethan Akins:
>ns1# telnet localhost 110
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>+OK <13601.1269148420 [at] ns1>
>user myname
>+OK
>pass mypassword
>-ERR authorization failed
>Connection closed by foreign host.

Well, that's definitely what Outlook is complaining about.

>ns1# /var/qmail/bin/qmail-popup blah /bin/checkpassword pwd
>+OK <13590.1269148394 [at] bla>
>user myname
>+OK
>pass mypassword
>/usr/home/myname

My guess would be that you are running qmail-popup (in your
/service/qmail-pop3d/run script) as a user that doesn't have enough
permissions to authenticate, while during your test (above) you ran
the popup program as root (who clearly has sufficient permissions).

Check and make sure that (either) whatever user is running qmail-popup
can access the user/password database OR make /bin/checkpassword
setuid to a user that can access the user/password database.

~Kyle
- --
Freedom is the right to be wrong, not the right to do wrong.
-- John G. Riefenbaker
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLpbd0AAoJECuveozR/AWeaPUP/1wzso1AAE++ncW41x4lPn4p
noSycIcohXIDQlUKY1ecLiQHan0Qrd0l/YifK1npVOxv0twJGUuacjOGrLmM3h3G
uHIlhf8IfJUqbkLMnvirzhJXBkn7j/8D/3oj4hAzwp036KtuGlHs1o9wRIilm0c9
Fajt2Kg1XCxVDBlKDnCnLPnirSJFJhGzhIsyNR9Gs25b3FwgQ7lGkVguoib5Wc4c
xsy4Dfx/hQuBfF9Q/lr0qa50RBz3EiXvJfnZ8sVMAVS1/y/uu+E5LAOrmjaZgldm
8mZIsQROBOEykTJKMZhlZ0bgUt94mC0gFWNqEn9WXijhJOO/QNtnrdb4DduHMsCF
h4MSOwPr3wQtwYlychSsT+zBQdef4q97DDVPWQgzqN99iLjgcetJVJHYih4gARuS
6TKsYURttA9e2YUSgwmQllYBKeuCMzD8+d3K8nkrgKm4mEoXfU30rTBMh0zlPr52
FRND2TnZqLqes9uyXSpYKgZYeg0+o2dEqDviHKsx0QlHiOco5RCKqgLb+ZyWNUul
MwupZVriCyuiRQCxN7b+iVDYutgeUVmHCayUPcgV23CSmqaoSpz4XUSsxPAN5OLQ
15oSk7fWtbXRDDAD4K21oX3SLj7p4vdJyiWT4dM2/B51NV8De6jBkXqze4thI/Fc
s0EIvabcAYzv9SFrkjGi
=UlqK
-----END PGP SIGNATURE-----


qmail-09 at jeremykister

Mar 21, 2010, 12:06 AM

Post #3 of 5 (5080 views)
Permalink
Re: Cannot connect to POP server ( connect error 10060 ) [In reply to]

On 3/21/2010 1:44 AM, Ethan Akins wrote:
> ( TELNET LOCALHOST 110 = AUTHORIZATION FAILS )

please post your /service/qmail-pop3d/run file. or if it's too big,
pastebin.com will do fine.


also, try:
svc -d /service/qmail-pop3d/
cd /service/qmail-pop3d
./run

and then see if you can authenticate with a telnet localhost 110 in
another window (pointing to an environment/path issue)

--

Jeremy Kister
http://jeremy.kister.net./


ethanakins at hotmail

Mar 21, 2010, 11:14 AM

Post #4 of 5 (5045 views)
Permalink
RE: Cannot connect to POP server ( connect error 10060 ) [In reply to]

I decided to slowly increase the softlimit on the qmail-pop3d/run file and now I am able to connect with 'telnet localhost 110' after reaching 7000000, however I'm still unable to connect using OUTLOOK EXPRESS.



Below is the /supervise/qmail-pop3d/run file and a sample to show 'telnet localhost 110' is working properly. Also, as suggested I have 'telnet localhost 110' from user this time instead of root. Any ideas from here ?



Thanks,



Ethan


==================================================================



#!/bin/sh
exec /usr/local/bin/softlimit -m 7000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
ns1.servername.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1



PERMISSIONS:
-rwx--x--x 1 root qmail 18528 Mar 19 22:53 /var/qmail/bin/qmail-popup
-rwx------ 1 root wheel 10776 Mar 20 16:02 /bin/checkpassword
-rwxr-xr-x 1 root qmail 24096 Mar 19 22:53 /var/qmail/bin/qmail-pop3d



==================================================================



( TELNET LOCALHOST 110 = CONNECTED )



$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <79172.1269193394 [at] ns1>
user myname
+OK
pass mypassword
+OK



===========================================================================================






_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3


adip at gmx

Mar 21, 2010, 4:28 PM

Post #5 of 5 (5189 views)
Permalink
Re: Cannot connect to POP server ( connect error 10060 ) [In reply to]

On Sun, 21 Mar 2010 18:14:36 +0000 Ethan Akins wrote:

> I decided to slowly increase the softlimit on the qmail-pop3d/run
> file and now I am able to connect with 'telnet localhost 110' after
> reaching 7000000, however I'm still unable to connect using OUTLOOK
> EXPRESS.

Hi Ethan,

there's maybe some more information you need to post about this problem:
- did your server-client combination ever work or is it a new
installation?
- what happens if you do 'telnet your.smtp.server 110' from your
Windows box?
- Outlook: are you using SSL for pop3? If yes, try to uncheck it and
verify if unencrypted pop3 works. Bear in mind that pop3s uses a
different port to connect to, usually 995
- are you running any antivirus on your client computer? If yes,
disable it and try again
If none of the above will render a solution for your problem, try
running the following on your smtp server:
tcpdump -nn -i any -s0 -aX -XXX -vvv port 110 or port 995
and find a way to post the output. Be careful and obfuscate your
account password used for authentication, or use a test account which
you'll have to delete afterwards.
Cheers

--
Adi Pircalabu

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.