Questions tagged [exim]

Exim is a sendmail-compatible Mail Transfer Agent, licensed under the GPL, designed for Unix-like operating systems.

Exim is a Mail Transfer Agent (MTA), used to route and deliver email, for Unix-like operating systems. As an MTA, it is responsible for email getting from A to B, but not for client access to that email. Exim is used as the default MTA of some Linux distributions and for some control panel software. Its documentation is extensive and exhaustive, in the form of The Exim Specification. An undocumented feature is a bug. More details can be found in the wikipedia article on Exim.

Exim is licensed under the GNU General Public License, with various linking exemptions. There is a great deal of flexibility in the way mail can be routed, and there are extensive facilities for checking incoming mail.

Exim uses an ordered list of Routers to decide how to deliver a given message to a given recipient, accomplishing the delivery with a Transport. It uses a powerful string expansion system to provide configuration flexibility, including lookups of various forms and a wide variety of primitives. Authenticators are used to manage both the client and server side of authentication.

Exim Features

  • SMTP
  • TLS (via either OpenSSL or GnuTLS)
  • SMTP AUTH over a variety of authentication mechanisms, with data from various sources
  • Native support for mbox, mbx, maildir & mailstore formats, plus LMTP to a socket or invoking arbitrary delivery programs.
  • Filtering with Sieve and a powerful native filter language
  • Extensive string expansion configuration language
  • Support for many lookup types (Postgresql, Mysql, Sqlite, Oracle, LDAP, cdb, dbm, lsearch, NIS, DNS, whoson, passwd)
  • Native support for DNSxL lookups, socket communication,
  • An extensive Access Control List (ACL) system for filtering inbound email, with
  • Optional embedded Perl interpreter ${perl...}, plus support for dynamically loading modules ${dlfunc...}
  • Map/filter/reduce functions, lists
  • Strong regular expression support (the original author of Exim is also the author of PCRE, which was written for Exim)

Resources

Debugging guides & tools

How to ask good questions

  • Specify your operating system and version of Exim: uname -sr, lsb_release -d, exim -bV
  • Specify what you are trying to do (and perhaps why)
  • Mention things you have tried already
  • Describe what you are seeing, and how that is not what you expect
  • As appropriate, provide samples of the configuration used and the logs seen
1081 questions
3
votes
4 answers

Exim and TLS AUTH not working for some clients

On our outgoing mail server, we've recently upgraded to Debian Squeeze (stable), and we're having some odd issues with TLS authentication. I suspect it may be an issue with OpenSSL, or maybe my tinkering with TLS after the fact to try to get things…
Ernie
  • 5,352
  • 6
  • 31
  • 37
3
votes
2 answers

While Mail Forwarding with exim, how do I rewrite the To header with true destination address

I have mail forwarding setup with exim using a domain forwarding file. virtual_aliases_nostar: driver = redirect allow_defer allow_fail data = ${if exists{/etc/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}}} …
Jom
  • 31
  • 2
3
votes
2 answers

Exim config - no external connections, only localhost connections (Linux)

CentOS running Exim 4.63(inc latest fixes). I want to configure exim to not listen on the external IP, only localhost so that exim can only be used from the server itself (no remote connections). What's the config option for this setup? Thanks
user69904
  • 231
  • 3
  • 12
3
votes
3 answers

exim and clear invalid e-mails

I have an exim queue now of over 1000 e-mails and I want to run the queue and delete all the e-mails that are going to invalid e-mails(ones that no longer exist)
John
  • 53
  • 6
3
votes
1 answer

DNSBL listed at zen.spamhaus.org - cant get outgoing mail working? Am I interpreting the response correctly?

I have problem with a mailserver and there is something I kind of not understand! I can connect, authenticate, specify the sender address - but when specifying the reciever i get a error 550 which looks like so: RCPT TO:joehopf@gmail.com 550-DNSBL…
The Shurrican
  • 2,240
  • 7
  • 39
  • 60
3
votes
2 answers

How to unblacklist an IP at Google?

I own a small business with two servers for webhosting. When setting up the primary (CentOS 5.5 + WHM, secondary is WHM DNS Only) server I kinda messed up the firewall, so the hackers could send stuff from my server. My primary IP is…
Reyo
  • 31
  • 1
  • 1
  • 3
3
votes
4 answers

Interpreting exim log files after parsing

I'm parsing exim log files and, due to my processing method, lose the original order of all entries in this file. I rebuild the transactions by their transaction ID (i.e. 1OfiYX-0000Ev-7k) but still don't have a way to determine the original…
gnucom
  • 197
  • 8
3
votes
5 answers

Exim4: Configure catchall on multiple domains to forward mail to external addresses

UPDATE: Thanks for responses on this but I'm going to drop exim and try Postfix. My question is pretty similar to this one. I want to configure exim4 (on ubuntu 10.04) to forward/redirect all e-mail on a domain to an external address. My server…
Greg K
  • 169
  • 3
  • 12
3
votes
1 answer

Updated EXIM4, now not using TLS due to validation failure

I have a home server and updated the system drive to an SSD as it had been on a combination of USB and HDD for /home and /var. Because the USB was on a previous version of Debian I have done a fresh install, which has also upgraded me to version…
Rebecka
  • 181
  • 6
3
votes
5 answers

Preferred mail system/server for a company?

Say you are responsible for setting up an email solution at a company. Which would be your choice? I know of the following options, but many of them not well: Gordano Mail System Exchange Exim Postfix Qmail Zimbra For having used it a little over…
Trevoke
  • 419
  • 3
  • 12
3
votes
1 answer

Exim: DKIM: signing failed: PRIVKEY

Does anyone know what this error message means and how to fix it? Every time I send an email, I get the following messages in /var/log/exim4/paniclog: signing_init: privkey PEM-block import: The requested data were not available. DKIM: signing…
3
votes
1 answer

Exim - restrict which addresses a user can send from

By default, exim allows any user to send out an email with any "From:" address they wish, which can lead to users spoofing each other. How do I restrict which addresses each system user can send from? For example the user james should be able to…
James Swift
  • 154
  • 1
  • 14
2
votes
1 answer

Will running a secondary SMTP server for localhost delivery cause delivery problems?

I have a scenario where I'm using a primary SMTP server from cPanel, however I'm running a Dockerized web app on a second server that is having trouble delivering to the main smtp server due to a bug in a Ruby library that's being used. Would there…
ylluminate
  • 1,155
  • 2
  • 17
  • 35
2
votes
1 answer

Saving a copy of incoming mail for specific recipient in Exim

I need to archive important mail incoming for specific address in case it gets accidentally deleted from email server, etc. Either saving or using a pipe to archive it on backup machine is fine (I can rsync the backup automatically later,…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
2
votes
2 answers

How to protect my server from CVE-2019-10149 - Exim - patched or unpatched - How to reject mail to RCPT ${run

In reference to the recently publicized Exim vulnerability CVE-2019-10149, I am running supposedly patched Exim v. 4.90_1 (built June 4th, 2019) on Ubuntu 18.04.2 LTS. Although it is supposedly patched, according to Canonical, I'm getting a lot of…
jdmayfield
  • 281
  • 3
  • 13