LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2005, 09:30 PM   #1
unplug
LQ Newbie
 
Registered: Jan 2005
Location: HK
Posts: 7

Rep: Reputation: 0
qmail pop3 question


Hi all,

Recently, I follow qmailrocks.org to install qmail+vpopmail+mysql. But there is an error when I test it as below.

telnet localhost 110
+OK <20933.1074704990@zzz.com:>
user abc@zzz.com
+OK
pass password
-ERR unable to write pipe
Connection closed by foreign host.

As you can see above, I can't connect to port 110. That's mean I can send mail but not receiving. Does anybody know what's wrong with it? How to solve it anyway?

Thanks
unplug
 
Old 01-24-2005, 07:29 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Did you get this resolved? If not, you'll need to post the contents of /var/qmail/supervise/qmail-pop3d/run.
 
Old 01-25-2005, 09:16 PM   #3
unplug
LQ Newbie
 
Registered: Jan 2005
Location: HK
Posts: 7

Original Poster
Rep: Reputation: 0
I solve it as there is wrong path in /var/qmail/supervise/qmail-pop3d/run. Thanks anyway.
 
Old 03-25-2006, 10:53 AM   #4
gutierr3z
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
if you dont mind sharing, what was the path that was wrong?

here is my qmail-pop3d/run

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

myhost.com is just a placeholder, i have the correct host in my actual script.

i get the same -ERR unable to write pipe when i try to telnet to 110 and also with the mail client Evolution in RH9, its like outlook. the funny thing is that i also have webmin installed and when i check the user acct mailbox in the qmail section of webmin, i see the emails there, the emails that im not receiving in Evolution. In Evolution, when i check for emails, it asks my password and then gives me the pipe error and doesnt pick up the emails.

Help.

thanks.

Last edited by gutierr3z; 03-25-2006 at 11:02 AM.
 
Old 03-25-2006, 04:08 PM   #5
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
I think you have too many zeros in there.

-v -R -H -l 0 0 110

Try making it look like this...

-v -R -H -l 0 110
 
Old 03-26-2006, 09:35 AM   #6
gutierr3z
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Hi,
i tried -v -R -H -l 0 110:

#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpservever -v -R -H -l 0 110 /var/qmail/bin/qmail-popup \
xxxxxxxxx /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

and got some errors:
in telnet i got: Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
in the Evolution client i got:
Error While 'Fetching Mail':
Could not connect to POP server xxxxxxxx (port 110):Connection refused

as before, i did receive the test email i sent from another account(external) to this account in webmin but not in telnet nor Evolution.

thanks for the help!
 
Old 03-26-2006, 01:26 PM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Might be your location of check password?

Mine's located here.

/home/vpopmail/bin/vchkpw

Might want to locate where yours really is.

Otherwise, your file looks pretty good.
 
Old 03-27-2006, 09:29 AM   #8
gutierr3z
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
i just checked the path to all the files in this script and they all seam to check out.

/usr/localbin/tcpserver
/var/qmail/bin/qmail-popup
/var/qmail/bin/qmail-pop3d

but like you said, the checkpassword is not quite right, can you tell me what you think?

in script: /bin/checkpassword
in my system: /bin/checkpassword (not a file but a directory)

inside this directory is:

checkpassword-0.90 folder with lots of files in it.

in this folder there are two files with the checkpassword name:
checkpassword.c (it sais C source code)
checkpassword.o (it sais binary program)

i changed the line in the code to read:

/bin/checkpassword/checkpassword-0.90
and
/bin/checkpassword/checkpassword-0.90/checkpassword.o

but i dont think thats working either. can you tell me if im in the right direction?

thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail - different between POP3-IMAP -- Please help me b:z Linux - General 1 06-14-2005 06:14 AM
qmail pop3 problem gandoura Linux - Software 1 05-17-2005 06:51 PM
qmail-pop3d doesn't seem to allow POP3 access...? tris Linux - General 5 11-05-2004 09:22 PM
Help Wanted: Qmail with pop3 server cojo Linux - Software 7 04-26-2003 05:24 PM
qmail + pop3 alpha-wolf Linux - Networking 1 09-13-2001 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration