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.

How to remove Exim version number on a Directadmin server

| 23:43:58 25.08.2015

If you want remove Exim version number on a Directadmin server, then here is a guide for you.

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server.domain.com ESMTP Exim 4.86 Tue, 25 Aug 2015 23:56:12 +0600

Here we can see an Exim version 4.86. Let's hide it.

Custombuild 1.x

Update /etc/exim.conf and set your custom smtp_banner.

Like this for example

smtp_banner=$smtp_active_hostname ESMTP Exim $tod_full

Restart exim.

Note, you might lose your customization as soon as custombuild script updates the exim.conf.

Custombuild 2.x

If you use custombuild 2.x you might follow this:

echo "smtp_banner=$smtp_active_hostname ESMTP Exim $tod_full" >> /etc/exim.variables.conf.custom
cd /usr/local/directadmin/custombuild/
./build update
./build set eximconf yes
./build exim_conf

Check results

Try in a console:

 telnet localhost 25

you might see something similar to:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server.domain.com ESMTP Exim Tue, 25 Aug 2015 23:41:57 +0600

As you can see there is no more a version number!

Tags: directadmin Exim 
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