Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
111 Can't open SMTP stream
#1
I'm having problems sending email using Squirrel Mail included in EHCP. I'm using the latest version of 0.29.15 on an Ubuntu 10.04 based platform.

When I use the command below:

eric@eric-desktop:~$ echo "mailtest" | sendmail myemail@myemail.com

I receive the email in my inbox.

However, I am still receiving the following error when trying to send mail through the EHCP Webmail:

111 Can't open SMTP stream.

I can't figure out why it's giving me the error. Any ideas?

Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.
Reply
#2
I finally fixed it.

The issue lies in the SquirrelMail Config.php file (/var/www/new/ehcp/webmail/config):

Original settings:

$useSendmail = false;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';

Fixed settings:

$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';

I guess useSendMail must be set to true if SquirrelMail since the path is referencing sendmail. This was not set by default. Working great now! Finally, my server is a server! Thanks!

Restored from old drupal forum, for user uid:2735 username:own3mall
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping