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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-19-2005, 09:30 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: HK
Posts: 7
Rep:
|
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
|
|
|
01-24-2005, 07:29 AM
|
#2
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
Did you get this resolved? If not, you'll need to post the contents of /var/qmail/supervise/qmail-pop3d/run.
|
|
|
01-25-2005, 09:16 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: HK
Posts: 7
Original Poster
Rep:
|
I solve it as there is wrong path in /var/qmail/supervise/qmail-pop3d/run. Thanks anyway.
|
|
|
03-25-2006, 10:53 AM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
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.
|
|
|
03-25-2006, 04:08 PM
|
#5
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
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
|
|
|
03-26-2006, 09:35 AM
|
#6
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
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!
|
|
|
03-26-2006, 01:26 PM
|
#7
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
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.
|
|
|
03-27-2006, 09:29 AM
|
#8
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|