Articles :: View

How to find what version of EXIM is running on linux server

Method 1: using sendmail symlink

Usually when exim is installed a symlink is created for sendmail calls to be directed to the exim binary.

Sendmail symlink path:
ls -al /usr/sbin/sendmail
lrwxrwxrwx 1 root root 37 Jul 31  2012 /usr/sbin/sendmail -> /usr/local/atmail/mailserver/bin/exim

Sendmail symlink version:
/usr/sbin/sendmail --version
Exim version 4.80.1 #3 built 03-Apr-2013 21:34:44... (truncated)

Method 2:

exim -bV

If you receive the following:
bash: exim: command not found

Then you first need to find the path to exim:
find / -name exim 2>/dev/null
/usr/exim/bin/exim
/usr/libexec/webmin/exim
/usr/share/logwatch/scripts/services/exim
/usr/local/atmail/mailserver/bin/exim
/etc/webmin/exim

Results:
root@server /: /usr/local/atmail/mailserver/bin/exim -bV
Exim version 4.80.1 #3 built 03-Apr-2013 21:34:44
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
Berkeley DB: Berkeley DB 4.7.25: (April 4, 2012)
Support for: crypteq iconv() OpenSSL Content_Scanning DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz dnsdb ldap ldapdn ldapm mysql
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /usr/local/atmail/mailserver/configure


Comments

Add a comment!

    • #685 2017-07-03 09:36:49 reply
      Good Job!