111 Can't open SMTP stream - SquirrelMail

ganesh.rao

Verified User
Joined
Sep 14, 2007
Messages
8
Hello,

I am trying to send an email from SquirrelMail. But I get this error message...

Code:
ERROR:
Message not sent. Server replied:

Connection refused
111 Can't open SMTP stream.

Can anyone help? :confused:

I am running CentOS 4.5 Enterprise Edition
Latest version of Exim, Dovecot, DirectAdmin and Kernel

If you require any logs, please let me know, I'll have to check with our mirroring server as I have just rotated the logs on this server.

Best Regards,
Ganesh Rao
 
I am also getting these emails (bounced back) even though I send an email to a valid account email account.

PERM_FAILURE: SMTP Error (state 13): 550 relay not permitted

Is this error caused due to my server or from GMail's (since I used my GMail account to send the email)?
 
Well, I solved mine.

This is what John told me...
Hello,

Hmm... check this guide:
http://help.directadmin.com/item.php?id=16
Make sure all domains are where they should be and make sure your hostname is valid.
Also, check the /var/log/exim/mainlog and /var/log/exim/paniclog.
You could try this to be sure you've got a valid exim.conf exim.pl
http://help.directadmin.com/item.php?id=51

Make sure exim is actually running:
ps -ax | grep exim

and:

telnet localhost 25

telnet localhost 587

The squirrelmail should be using 587 for smtp, so exim would have to be listening on it. (the new exim.conf has 587 setup)

Thank you,

John
 
Hi,
I solve the problem editing /etc/exim.conf
where says
#daemon_smtp_ports = 25 : 587
daemon_smtp_ports = 25

I make it
daemon_smtp_ports = 25 : 587
#daemon_smtp_ports = 25

Regards!
 
Back
Top