DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

550 Email blocked by

| 10:21:43 14.06.2017

If emails on your Directadmin server stopped delivering to your users, and the error "550 Email blocked by" is reported:

Final-recipient: rfc822;
Action: failed
Status: 5.1.1
Diagnostic-Code: smtp; 550 Email blocked by
Last-attempt-Date: Tue, 13 Jun 2017 13:37:02 +0200

here you will find what you should do.

Why that happened?

The RBL has stopped working. Your regular emails and senders might still be fine.

What to do?

You need to either remove manually the RBL provider from /etc/exim.conf or upgrade /etc/exim.conf using CustomBuild.

To get the update with CustomBuild 2.0 run the following code as root in conole:

cd /usr/local/directadmin/custombuild
perl -pi -e 's/downloadserver=.*/' options.conf
./build update
./build exim_conf

Please make sure you don't get the warning saying the following:

You cannot update Exim configuration files, because you do not have it set in options.conf file.

If you do see the the warning then:

  • either your exim.conf is customized
  • or you simply use the default exim.conf 4.x and did not enable it in options.conf as of yet

If you have the default version of exim.conf simply run:

./build set eximconf yes
./build update
./build exim_conf

If you run a customized version of exim.conf you need to manually remove the line from your /etc/exim.conf RBL_DNS_LIST entry. First make sure you see as an output of the following command:

grep /etc/exim.conf

then run:

perl -pi -e 's| : \\\n||g' /etc/exim.conf

and check output again (it should be empty this time):

grep /etc/exim.conf

and restart exim:

service exim restart

Full example from console:

[root@server custombuild]# grep /etc/exim.conf : \
[root@server custombuild]# perl -pi -e 's| : \\\n||g' /etc/exim.conf
[root@server custombuild]# service exim restart
Redirecting to /bin/systemctl restart  exim.service
[root@server custombuild]# grep /etc/exim.conf
[root@server custombuild]#

That's it!

Tags: directadmin Exim RBL 
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.

All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition