Categories: Hostripples Featured

Error : 111 Can’t open SMTP stream – SquirrelMail

                       Error : 111 Can’t open SMTP stream – SquirrelMail
ERROR:
Message not sent. Server replied:
Connection refused
111 Can’t open SMTP stream.

 

Resolution :
One common problem people have is an incorrectly setup mail system. Here is a list of rules that must be followed:

1) Hostname must not match any domain that is being used on the system. Use hostname as server.domain.com.
2) You must make sure that you add the A record for server.domain.com so that it resolves.
3) The hostname must be in the /etc/virtual/domains file.
4) The hostname must *not* be in the /etc/virtual/domainowners file.
5) The hostname must resolve. If not, add the required A records to the dns zone such that it does.
6) The directory /etc/virtual/hostname must exist.. It must not contain any files.
7) Any domains that you want to use for email must be in both the /etc/virtual/domains file and the /etc/virtual/domainowners file. The directory /etc/virtual/domain.com must exist and the files /etc/virtual/domain.com/passwd and /etc/virtual/domain.com/aliases exist.
8 ) File permissions for virtual pop inboxes should be :
/var/spool/virtual/domain.com 770 username:mail
/var/spool/virtual/domain.com/* 660 username:mail
9)Ensure your hostname does not contain any upper case letters.
10) Make sure that your main server IP has a reverse lookup on it.
The other easy step to resolve this issue is editing /etc/exim.conf where it says
#daemon_smtp_ports = 25 : 587
daemon_smtp_ports = 25
make it
daemon_smtp_ports = 25 : 587
#daemon_smtp_ports = 25

Hope this help you get your issue resolved…


HR-ADMIN

Recent Posts

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

1 week ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

1 week ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

2 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

4 weeks ago

Explained: Difference between Nameservers Vs. DNS

The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…

1 month ago