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
1055 questions
4
votes
1 answer

Exim appending hostname to fully qualified sender address

I'm having a problem at the moment on a corporate e-mail server whereby Exim is appending its server hostname onto the end of the sender's e-mail address, despite that e-mail address already being fully qualified. For example, a user sends an e-mail…
Matt
  • 65
  • 4
4
votes
2 answers

Exim - Force Messages to domain before retry time

We have exim running in queue-only fashion. The reason is that we are a bulk sender (a legitimate, double opt-in) and have experienced Yahoo and Hotmail throttling. The best practices state that once they inform you of throttling (like Yahoos TS-01…
Ben A. Hilleli
  • 183
  • 1
  • 6
4
votes
1 answer

Hot/Lukewarm mail server setup

We have two mailservers ("dubone" and "dubdeuce"), one does all the work while the other sits idle. We want to have a setup where if dubone is busy or down, dubdeuce can accept/reject/filter emails just as dubone would. Then, once dubone is…
4
votes
1 answer

Moving mail server to google apps

I just recently moved one of my Mail server (Exim+dovecot) to google apps thinking it would be a good idea. I am interested to hear what the serverfault community think about it, and mostly weight the pros and cons. Pros: - No need to maintain your…
Adam Benayoun
  • 1,138
  • 2
  • 14
  • 26
4
votes
1 answer

Exim: recipient verification with callout to LMTP server

I want to make Exim perform recipient verification with a callout to the LMTP server during processing of the RCPT ACL. I have the following router: virtual_account: domains = +virtual_domains driver = accept transport = dovecot and…
Sam Morris
  • 345
  • 1
  • 10
4
votes
3 answers

Exim taking long time to send emails, how to decrease delay in Exim service?

The linux server where exim service is running is under no load. The system is sending email successfully but is taking a long time to send each email. Basically if I telnet to localhost port 25 and then I try to send an email from there the…
Geo
  • 3,061
  • 11
  • 41
  • 52
4
votes
2 answers

Intermediate SMTP server (exim), how to handle backscatter?

I have a dedicated Ubuntu Lucid box at a hosting provider that is my backup MX (running exim4 4.71-3ubuntu1.4) for domains that I have configured on an Exchange 2007 server on my LAN. So my Exim server is the relay, and if my Exchange server or ISP…
Jon Heese
  • 147
  • 1
  • 2
  • 13
4
votes
2 answers

How to find emails sent,deferred, bounced with logs on exim mail server?

I am new to exim mail server. Now i need to findout the number of sent, deferred , bounced emails through logs. Since in postfix I will do things through grepping. Is there any way to find in exim through grep command. Your help is greatly…
karthick
  • 663
  • 3
  • 7
  • 13
4
votes
1 answer

DKIM body hash fail

We're sending out e-mails with EXIM 4.71 from a PHP application. DKIM is enabled and is working properly, unless when sending a specific type of mails, which results in dkim=neutral (body hash did not verify). Received-SPF: pass (google.com: domain…
Oscar
  • 161
  • 1
  • 8
4
votes
1 answer

exim: Rewrite "From" header to envelope "FROM"

Cron sends emails with the "From" header always set to "From: root@example.com (Cron Daemon)" for all users, even though the envelope address (seen in the "Delivered-To" header in received email) is the user's correct email address. Is it possible…
Vladimir Panteleev
  • 1,705
  • 4
  • 20
  • 34
4
votes
1 answer

451 Temporary local issue with sending out emails

2012-06-14 21:57:14 cwd=/etc/csf 4 args: /usr/sbin/sendmail -f alerts@host2.thetimesoftimes.com -t 2012-06-14 21:57:14 1SfEIE-0000wK-Kj <= alerts@host2.thetimesoftimes.com U=root P=local S=678 T="lfd on host2.thetimesoftimes.com: WHM/cPanel root…
Tiffany Walker
  • 6,541
  • 13
  • 53
  • 77
4
votes
2 answers

How do I override apt-get removing dependent packages?

I want to replace postfix with exim4 on my Ubuntu test server to reflect the setup I have on my production server, but apt-get and aptitude (quite understandably) insist on removing several packages that depend upon having a mail stack. However, in…
iainH
  • 301
  • 1
  • 3
  • 11
4
votes
1 answer

How to set exim4 to send email anywhere but only from authorised users?

Struggling to get my head around the various relaying controls in the exim4 config. I can send email from my server, I can send email from home and work (because I explicitly added suitable netblocks for it), but I can't get a program I wrote to…
Rob Cowell
  • 255
  • 1
  • 3
  • 7
4
votes
2 answers

Where can I find the output of exim's 'debug_print'?

I'm trying to debug an exim configuration issue (Ubuntu) and I see lots of lines in the config such as: remote_smtp: debug_print = "T: remote_smtp for $local_part@$domain" driver = smtp However, I cannot figure out how to get the output of…
ColinM
  • 691
  • 8
  • 19
4
votes
3 answers

exim4 to relay emails

I have exim4 installed on a Linux box. The basics work fine and I can send email from that machine without any problem to whatever email address. I also have a printer/scanner which is capable to send scans as emails. It needs an SMTP gateway to be…
Matthieu
  • 145
  • 1
  • 1
  • 6