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.

Configuring exim to exclude original message from bounce

| 22:23:00 03.11.2016

You might consider configuring exim to exclude original message from bounce in order to reduce chances to get blacklisted by other mail servers. As they might think that you are spamming them.

Here a guide on how to achieve the desired on a server with Directadmin and Custombuild 2.x. You need to have exim.conf from 4.x branch.

Update custom config

Open in an editor (create if missing) /etc/exim.variables.conf.custom and add the one of following 2 lines into the file:

bounce_return_message = false

If bounce_return_message is set to false, none of the original message is included in bounce messages generated by Exim.

bounce_return_body = false

If bounce_return_body is false, only the message header is included.

Save the file and exit the editor.


Rewrite the Exim config

Make sure to create backups of files matching the /etc/exim* as they will be overwritten if you follow the guide further.

IMPORTANT! DO NOT run the following commands if you have a customized exim configuration, as you will loose all the customization. Contact your system administrator or us if you're unsure.

cd /usr/local/directadmin/custombuild/
./build update
./build set eximconf yes
./build eximconf

That's it!

More reading: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-main_configuration.html

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