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
0
votes
1 answer

Can mailings be sped up by using multiple connections to SMTP servers?

We use a mail server that runs Exim to send mailings to our clients. Sendblaster is used to connect to the server and send the emails to a list of clients. Currently we use two instances of Sendblaster on separate PCs to split up the load. It is…
0
votes
2 answers

Exim: Can there be multiple authenticators in the "Begin Authenticators" Section, one for each smtp relay?

My exim relays all its incoming email to third-party smtp relays. They use smtp authentication (username/password). It seems I can only define ONE username/password in the begin authenticators section of the Exim config. I want to route certain…
Crash Override
  • 601
  • 1
  • 10
  • 21
0
votes
1 answer

A TLS fatal alert has been received with exim4 in debian 9

I am trying to configure my server to send mail and I receive an "TLS fatal alert" error every time I try to send mail. I have followed the steps indicated in this post related to my problem to try to overcome the problem, but it finally gives me…
M. Galardi
  • 1
  • 1
  • 2
0
votes
1 answer

Fix broken Message-ID field in Exim ACL

Strange enough, some of my mail domain external sender used to send us messages where Message-ID field set to $Null like this: ... Date: Tue, 1 Dec 2020 07:16:22 +0000 Message-ID: $Null Subject: Test ... (looks like this is due…
Alexander
  • 774
  • 2
  • 11
  • 20
0
votes
2 answers

How to make exim4 deny other ips from sending mail using the server?

How to make exim4 so that it only allow smtp connection to send mail from 127.0.0.1 only. but also recieve mail at the same time. I am confused with this because if I change dc_local_interfaces to 127.0.0.1, it is unable to receive mail, but only…
0
votes
1 answer

Making Exim use different MX servers in a random fashion

When some (large) email providers have more than one MX, it happens sometimes that one MX refuses SMTP connection incoming from my host while another one accepts it (for reasons unknown to me). My question is if it's possible to ensure randomized…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
0
votes
1 answer

cannot connect to another email server to send email

My GCP server is running OK for more than 500 days, but after reboot, my server cannot connect to another smtp server to send out emails. [root@instance-02 ]# !1010 tail -1000 /var/log/exim/mainlog|grep smart 2020-11-10 10:32:09 1kcJQ1-0003zu-Oo ==…
0
votes
1 answer

Get client IP in exim LXD container

I set up an exim server in a Debian 10 container with LXD and then created a proxy device to map the SMTP port from the host to the container: lxc config device add mycontainer myport25 proxy listen=tcp:x.x.x.x:25 connect=tcp:127.0.0.1:25 where…
Jesús Ángel
  • 518
  • 2
  • 6
0
votes
1 answer

Local mailbox delivery for non local recipients with exim for demo server

I have used the following router and transport with exim < 4.94 to deliver all mail non local mail to a mailbox file instead of actually sending it. This is for a demo server to test an application. The mailbox files are processed to provide a web…
fschulze
  • 3
  • 4
0
votes
0 answers

Exim wrongly resolve the host that authenticates via smtp, when sending outgoing mail from PHP and my server's domains?

I have a server with WHM and Cpanel in OVH Canada with a main ip +4 additional ipv4, 2 of which are assigned to their corresponding domain and 2 are unused: suppose the ips are: 144.217.55.5 (main) 167.114.80.108 (empty) 167.114.80.109…
0
votes
1 answer

Exim Server on port 465 does not send banner nor respond to EHLO command

I have developed an application that sends emails using my Exim server over a SSL connection. According to my default exim configuration, to send e-mails over SSL connection I need to use port 465, while to send e-mails with no SSL, I have to use…
jstuardo
  • 155
  • 1
  • 7
0
votes
1 answer

Lots of exim4 notifcations due to failed sender verification

My exim4 server rejects a lot of spam emails due to failed sender verification. However, those result in lots of frozen messages, which in turn spam my postmaster inbox. Example line from exim log: 2020-08-13 15:39:28 [25544] H=(mail.foo,com)…
Arne
  • 163
  • 1
  • 1
  • 6
0
votes
1 answer

Sending mail from java servlet fails authentication

Centos7, tomcat 9, Exim 4.94 Moved all my tomcat apps from centos6 to centos7 server. Tomcat version is 9 and was the same on both servers. I send email from one of the java apps. public void sendEmail(String toAddress, String subject,…
ScottD
  • 21
  • 5
0
votes
1 answer

Dovecot can't show some messages after migration

I'm doing a migration from a shared server (old server) to AWS (new server). When I migrate all the mail, in the new server I can´t see some messages when I try to open them in roundcube. Both old and new server have exactly the same configuration…
0
votes
1 answer

Exim4 rejecting email to one user

I have multiple domains on a server and Exim4 has been delivering mail to users for years without issues. Over the 4th of July weekend it started rejecting email to one user. This user has multiple email addresses e.g. FirstNameLastname,…
JScarry
  • 1
  • 5