Go Back   Cloud Computing > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-11, 02:30
BOD Member
 
Join Date: Jun 2010
Posts: 175
Default squirrelmail Error : 110 Can't open SMTP stream

squirrelmail Error : 110 Can't open SMTP stream


Sometimes we try to login to our webmail via squirrelmail and try to send email and surprised to see the error :
Quote:
Message not sent. Server replied:
Connection timed out
110 Can't open SMTP stream.
In such case we just need not worry instead we just need to follow the below given simple steps and get the issue resolved. All we need to do is open the configuration file of squirrelmail by executing the command vi /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
and changing the option from $useSendmail = false; to: $useSendmail = true;
Once the changes are made save the file and restart cpanel and exim service.
This should definitely resolve the issue.
__________________
Carol.P
Reply With Quote
  #2 (permalink)  
Old 04-06-11, 12:12
Kristine Habeck's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 122
Default re:

Hi

Thank you for sharing such a nice information with us. Definitely your work deserves lot of appreciation. This kind of contribution shows who is excellent in technological field.
Reply With Quote
  #3 (permalink)  
Old 04-07-11, 12:43
BOD Member
 
Join Date: Apr 2011
Posts: 3
Default

Thanks for nice post ... I also suffered the same problem.... Now I know the solution...Thanks to you for that.
__________________
David Stone
Reply With Quote
  #4 (permalink)  
Old 04-20-11, 02:18
BOD Member
 
Join Date: Apr 2011
Posts: 42
Default

Additionally in your CSf firewall configuration file make following changes if still the problem persists:

# Block outgoing SMTP except for root, exim and mailman (forces scripts/users
# to use the exim/sendmail binary instead of sockets access). This replaces the
# protection as WHM > Tweak Settings > SMTP Tweaks. This will block hosting
# clients from using your server as an SMTP relay

SMTP_BLOCK = 1

# If SMTP_BLOCK is enabled but you want to allow local connections to port 25
# on the server (e.g. for web scripts) then enable this option too

SMTP_ALLOWLOCAL = 1

then

SMTP_ALLOWLOCAL should also be set to "1".

This also cure's the problem

CHEERS!!!
Reply With Quote
  #5 (permalink)  
Old 04-20-11, 03:55
Kristine Habeck's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 122
Default re:

TO valentine

Thanks for this additional information.
Reply With Quote
  #6 (permalink)  
Old 05-24-11, 11:07
BOD Member
 
Join Date: May 2011
Posts: 2
Default

please can anyone explain me how to do this step

executing the command

vi /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

i dont know hot to access this file .. how

using cpanel

thanks
Reply With Quote
  #7 (permalink)  
Old 05-24-11, 11:08
BOD Member
 
Join Date: May 2011
Posts: 2
Default

...............
Reply With Quote
  #8 (permalink)  
Old 05-24-11, 21:05
BOD Member
 
Join Date: Jun 2010
Posts: 175
Default

In order to execute the command vi /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php you need to have SSH clients one of which is putty be installed on your machine. If you have it installed you can login to it via root and execute the given command.
__________________
Carol.P
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.