LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-12-2004, 06:52 AM   #1
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
Qmail IMAP error


I installedqmail and creation of vitual domain and email accounts in that domain.
When I tries to connect qmail through SquirrelMail it given me the below error
"
Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed in /usr/local/apache2/htdocs/functions/imap_general.php on line 454

Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 in /usr/local/apache2/htdocs/functions/imap_general.php on line 454

SquirrelMail version 1.4.2
By the SquirrelMail Development Team
ERROR
Error connecting to IMAP server: localhost.
61 : Connection refused

"

please help me to fix this problem
 
Old 04-12-2004, 07:53 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Qmail is an smtp server, not an IMAP server - if you want to use squirrelmail you will need to install an IMAP server.
 
Old 04-12-2004, 11:30 AM   #3
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
yep IMAP worked with qmail
 
Old 04-12-2004, 12:47 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by mardanian
yep IMAP worked with qmail
Do you mean it is working now?
 
Old 04-12-2004, 11:48 PM   #5
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
not working
 
Old 04-13-2004, 12:28 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Have you installed an IMAP server yet?
 
Old 04-13-2004, 11:27 PM   #7
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
yes it is installed and tell you what in the start qmail was working fine, users send and receving emails. However from few days every user getting the error and qmail is not working anymore
 
Old 04-14-2004, 01:32 AM   #8
ziggie216
Member
 
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
check the instruction on this www.qmailrocks.org
 
Old 04-14-2004, 01:03 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Let me rephrase my question again. Since Qmail is an SMTP server and not an IMAP server what are you using to perform the IMAP server functions on your system?
 
Old 04-15-2004, 03:23 AM   #10
zoneaxis
LQ Newbie
 
Registered: Oct 2003
Location: Singapore
Distribution: RedHat 9.0
Posts: 1

Rep: Reputation: 0
Hi,

Since this thread is on Qmail / IMAP / SquirrelMail. I just hv the following issue to add:

OS: Redhat 9

Qmail -> just installed a few days ago
with Checkpassword patched and working, as per instructions found in lifewithqmail website.

Able to download emails via POP email client I am using: Thunderbird 0.5

then, following instructions found in qmailrocks.org, I figure out squirrelmail may be a pretty useful web interface for mail checking, so I installed Vpopmail, Courier-imap, Courierpassd, SquirrelMail, plug-in for Courierpassd for use in SquirrelMail.


When that is setup and running, able to log in/out of SquirrelMail, able to send/receive emails. But when attempting to change password: receives the following error message:


--> 500 Restricted or non-existant uid.


But if I enter a wrong password (delibrately) the following message:


Your old password is not correct.



one thing I noticed which was not consistent with the instructions that I followed was that when I 'telnet localhost 106' on the server

user name@mydomain.com
pass 123

didn't not work
whileas

user name_alone
pass 123

works. therefore it occurs to me that my "mydomain.com" was not properly entered somewhere? this might or might not have a implication or relation to the password problem I am facing above. I am interested to solve the password change issue, but suspects that the "mydomain.com" issue may have some relations to the matter.

Some expert's advise on likely sources of error most appreciated. Thanks.

Last edited by zoneaxis; 04-15-2004 at 03:28 AM.
 
Old 04-16-2004, 02:10 PM   #11
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
sorry i can't help you
 
Old 04-16-2004, 02:14 PM   #12
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
now another question about relay

i am able to sends emails successefull, however coz i had craeted virtual domains through that's why i am not getting replies back, how to configure qmail to automaticallly interpretes every outgoing email address with abc@foo.com to my ISP email address abc@isp.com
 
Old 04-21-2004, 01:18 AM   #13
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
Pearls before swine...

I am having big problems with the install for courierpassd. I got through vqadmin, vpopmail, qmail, qmailadmin, etc and then got stuck here.

Followed instructions here: http://www.qmailrocks.org/imap_rh.htm

Code:
courierpassd	106/tcp		courierpassd	# Courierpassd
courierpassd	106/udp		courierpassd	# Courierpassd
Restarted xinetd and imap, imaps as stated.

I'm no firewall genius, but firestarter is configured to have port 106 open.

Check this out, sooo weird==


Code:
[root@mine me]# nmap localhost -p 106

Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2004-04-21 01:16 CDT
Interesting ports on localhost.localdomain (127.0.0.1):
PORT    STATE  SERVICE
106/tcp closed pop3pw

Nmap run completed -- 1 IP address (1 host up) scanned in 0.356 seconds
So, of course,

Code:
[root@mine me]# telnet localhost 106
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
and BTW:

Code:
 [root@mine me]# lsof -i | grep courier
couriertc 23273     root    5u  IPv4 1218900       TCP *:imap (LISTEN)
couriertc 23316     root    5u  IPv4 1218990       TCP *:imaps (LISTEN)


Huh? Somebody tell me how to get port 106 open. Come on, I know you know. Puhleeeeease.....

-O

Last edited by opioid; 04-21-2004 at 01:30 AM.
 
Old 10-12-2004, 04:52 AM   #14
r.rapetti
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Question can't open port 106

Huh? Somebody tell me how to get port 106 open. Come on, I know you know. Puhleeeeease.....

has any one solved this
 
Old 10-15-2004, 03:02 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What are you trying to run on port 106?

Is there are service listening to that port?
netstat -nlp

If so then check your firewall:
iptables -nL
 
  


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 and imap mikeshn Linux - Software 4 11-15-2005 07:42 AM
qmail-ldap + courier-imap woes (imap capability) syahid Linux - General 1 10-12-2005 12:03 AM
qmail - different between POP3-IMAP -- Please help me b:z Linux - General 1 06-14-2005 06:14 AM
Qmail/IMAP Tytow Linux - Software 2 07-03-2003 12:57 PM
qmail, imap and smtp help please yosh9779 Linux - Software 1 03-18-2003 10:43 AM

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

All times are GMT -5. The time now is 02:15 AM.

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