Topic: Cannot connect to SMTP Server
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MYSQL edition.
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I installed iRedMail yesterday and for now everything was very smooth - except that I cannot send email with smtp. Although I can send mail with roundcube, so I guess it must be a connection issue.
With Thunderbird/Evolution I get the following error messages:
5.7.1 Service unavailable; client [MY IP] blocked using zen.spamhouse.org.
Please check the email address of recipient "receiver@gmail.com".
When I am not getting this error I'm getting a timeout error.
I've searched the web and it seems to be ok that my dynamic home IP is on the zen.spamhouse.org list.
This error in /var/log/maillog:
Sep 11 15:33:23 email postfix/postscreen[20036]: CONNECT from [85.23X.XX.XX]:47586 to [172.31.22.246]:25
Sep 11 15:33:23 email postfix/postscreen[20036]: CONNECT from [85.23X.XX.XX]:47590 to [172.31.22.246]:25
Sep 11 15:33:23 email postfix/postscreen[20036]: PREGREET 33 after 0.02 from [85.23X.XX.XX]:47586: EHLO we-guess.mozilla.org\r\nQUIT\r\n
Sep 11 15:33:23 email postfix/postscreen[20036]: PREGREET 27 after 0.02 from [85.23X.XX.XX]:47590: EHLO we-guess.mozilla.org\r\n
Sep 11 15:33:23 email postfix/dnsblog[20038]: addr 85.23X.XX.XX listed by domain zen.spamhaus.org as 127.0.0.11
Sep 11 15:33:23 email postfix/postscreen[20036]: DNSBL rank 3 for [85.23X.XX.XX]:47586
Sep 11 15:33:23 email postfix/postscreen[20036]: DNSBL rank 3 for [85.23X.XX.XX]:47590
Sep 11 15:33:23 email postfix/postscreen[20036]: COMMAND PIPELINING from [85.23X.XX.XX]:47586 after EHLO: QUIT\r\n
Sep 11 15:33:23 email postfix/postscreen[20036]: DISCONNECT [85.23X.XX.XX]:47586
Sep 11 15:33:23 email postfix/postscreen[20036]: COMMAND PIPELINING from [85.23X.XX.XX]:47590 after EHLO: QUIT\r\n
Sep 11 15:33:23 email postfix/postscreen[20036]: DISCONNECT [85.23X.XX.XX]:47590
As I tried to fix this issue I commented out everything under postscreen in /etc/postfix/main.cf
#
# Postscreen
#
#postscreen_greet_action = enforce
#postscreen_blacklist_action = enforce
#postscreen_dnsbl_action = enforce
#postscreen_dnsbl_threshold = 2
#postscreen_dnsbl_sites =
# zen.spamhaus.org=127.0.0.[2..11]*3
# b.barracudacentral.org=127.0.0.[2..11]*2
#postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
#postscreen_access_list = permit_mynetworks cidr:/etc/postfix/postscreen_access.cidr
# Require Postfix-2.11+
#postscreen_dnsbl_whitelist_threshold = -2
In Evolution I'm now getting this error:
The error message was »RCPT TO <myRecipient@gmail.com> failed: <localHostname>: Helo command rejected: need fully-qualified hostname«.
Then there is my localHostname, which is not a fully qualified hostname. But I cannot imaging why my computer on which Thunderbird is running needs a FQD for SMTP.
I hope you can help me out
Best regards,
Daniel
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.