Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 10th, 2004, 07:09 PM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
IMAP connection error with squirrelmail

I'm in the process of configuring a linux box as a dedicated server. I've got sendmail running fine, but when I installed squirrelmail, and I browser to my URL, I get a connection error. The firewall is turned off, however, there are no running processes on port 143. The error is below.

PHP Code:
 Warningfsockopen(): php_hostconnectconnect failed in /usr/share/squirrelmail/functions/imap_general.php on line 172

Warning
fsockopen(): unable to connect to 209.166.47.114:143 in /usr/share/squirrelmail/functions/imap_general.php on line 172 

Reply With Quote
  #2  
Old April 12th, 2004, 01:16 PM
blueillusion blueillusion is offline
Mitsubishi
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: canada
Posts: 86 blueillusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 6
i believe that means imap is not running. you need to start it, or install it

Reply With Quote
  #3  
Old April 12th, 2004, 01:41 PM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
You're right, had to turn off the "disabled = true" directive in /etc/xinetd.d/imapd file.

But on a slightly different note, when I send email, it gets stuck in the mail queue for about a minute before going out. Any thoughts?

Reply With Quote
  #4  
Old April 12th, 2004, 05:59 PM
blueillusion blueillusion is offline
Mitsubishi
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: canada
Posts: 86 blueillusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 6
i have that problem too, it was the tcp server.
Go into your qmailsmtpd directory (usually /var/qmail/supervise/qmail-smtpd)

Edit the run file

Where you see this:

exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver --v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \

add a -H right after tcpserver so it looks like this:

exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -H -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \


THat should do it!

Last edited by blueillusion : April 12th, 2004 at 06:17 PM.

Reply With Quote
  #5  
Old April 13th, 2004, 06:55 AM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
Except I'm running sendmail mail, not qmail. Any experience with sendmail?

Reply With Quote
  #6  
Old April 13th, 2004, 09:21 AM
blueillusion blueillusion is offline
Mitsubishi
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: canada
Posts: 86 blueillusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 6
sendmail is garbage, dont use it. www.qmailrocks.org
I only use qmail, it works wonders.

Reply With Quote
  #7  
Old April 16th, 2004, 05:38 PM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
Well, so far so good. I've installed qmail, and it's running! But, when I go to add a user through http://209.166.47.115/cgi-bin/vqadmin/vqadmin.cgi

I get a 500 error: Premature end of script headers: vqadmin.cgi

Every seen this??

Reply With Quote
  #8  
Old April 16th, 2004, 09:20 PM
blueillusion blueillusion is offline
Mitsubishi
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: canada
Posts: 86 blueillusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 6
is your admin for the htaccess set to admin as the user name? permissions setup correctly?

Reply With Quote
  #9  
Old April 17th, 2004, 06:29 PM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
Okay, I got qmail up and running, I think. When I try to send mail from squirrelmail, I get the errors below.

--
PHP Code:
 Warningfsockopen(): php_hostconnectconnect failed in /var/www/html/webmail/class/deliver/Deliver_SMTP.class.php on line 40

Warning
fsockopen(): unable to connect to localhost:25 in /var/www/html/webmail/class/deliver/Deliver_SMTP.class.php on line 40 


ERROR:
Connection refused
Server replied: 111

--

When I try to connect with Outlook express, I can check just fine, but when I try to send:

The connection to the server has failed. Account: 'ms1.webdevsol.com', Server: 'ms1.webdevsol.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10051, Error Number: 0x800CCC0E

Any thoughts?

Reply With Quote
  #10  
Old April 17th, 2004, 11:21 PM
blueillusion blueillusion is offline
Mitsubishi
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: canada
Posts: 86 blueillusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 6
try setting up your outlook like this:

username: youname@youdomain.com
pop: pop.yourdomain.com
smtp: mail.yourname.com


dont set your user name with just yourname, the @domain.com must be inserted

This might fix the outlook. Check permissions once again, make sure you check your error logs and post any problems here again. I never experience this problem

Reply With Quote
  #11  
Old October 11th, 2004, 12:21 AM
alpamej alpamej is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 alpamej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
error while im trying to set up the webmail

Can you help me to fix this site? im trying to have our webmail using the squirrelmail but after fixing some links there is still an error left to that page and it says

Warning: fsockopen(): unable to connect to localhost:143 in /home/bicolmai/public_html/squirrelmail-1.5.0/functions/imap_general.php on line 583

or you can view it directly from opening this link http://bicolmail.com/squirrelmail-1.5.0/src/login.php

Thank you guys.

Reply With Quote
  #12  
Old January 5th, 2005, 08:45 AM
hanssegura hanssegura is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 hanssegura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can you help me to fix this site? im trying to have our webmail using the squirrelmail. I have this message:
Warning: fsockopen(): unable to connect to 201.224.132.22:143 in c:\apache\www\energiatotal\webmail\functions\imap_general.php on line 227

Reply With Quote
  #13  
Old January 5th, 2005, 10:01 AM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 622 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 16 h 25 m 55 sec
Reputation Power: 5
Are you using sendmail? It's been a long time since I encountered that error, but I think I resolved it after following the advise of many, switch to Qmail. www.qmailrocks.org provides everything you need to install it, from the ground up, for beginners, including squirrelmail.

Assuming you're running a flavor of linux.... which I just noticed your not, can't offer much advise for windows.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > IMAP connection error with squirrelmail


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |