Questions tagged [exim]

Exim is a message transfer agent (MTA) for Unix systems, which routes and handles email.

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.

Many Exim questions are appropriate on ServerFault.

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
283 questions
41
votes
5 answers

Set email headers so bounced emails go to a specific address

From our rails app we send out some system-generated emails with the 'from' address set to noreply@ourdomain.com. If these bounce they get sent back to this address by our mail server. However, what i'd like to do is to not have bounced emails get…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
18
votes
3 answers

Exim - A lot of frozen messages without sender

I'm new to Exim and I'm using it as a smarthost (to recive emails from users and send it to my ISP). The system is working ok, but I have some problems with frozen messages. I watch the queue sometimes and there are some frozen messages without…
18
votes
2 answers

How to cleanly remove Exim4 mail server on Ubuntu

After successfully using Postfix on my Ubuntu machines, I decided to try Exim on a new server, based on some people commenting it's easier to set up and use. Well I ran into issues with my Rails app right away, and, considering how easy Postfix had…
yuяi
  • 2,617
  • 1
  • 23
  • 46
8
votes
11 answers

What's a simple method to dump pipe input to a file? (Linux)

I'm looking for a little shell script that will take anything piped into it, and dump it to a file.. for email debugging purposes. Any ideas?
Alex Fort
  • 18,459
  • 5
  • 42
  • 51
8
votes
1 answer

exim configuration - accept all mail

I've just set up exim on my ubuntu computer. At the moment it will only accept email for accounts that exist on that computer but I would like it to accept all email (just because I'm interested). Unfortunately there seem to be a million exim…
aidan
  • 9,310
  • 8
  • 68
  • 82
7
votes
2 answers

"Unrouteable address" with exim4

I am using exim4. I have a Wordpress installation with a contact form. My hostname -f is mydomain.com. The form is sending an email to info@mydomain.com. However it never reaches my "off site" email. How can I set this up so the email does not get…
Kaah
  • 915
  • 3
  • 11
  • 26
6
votes
1 answer

Mail Routing using pipe in Exim

I was looking for sending email to multiple destinations i.e One to the user specified email address and other to a php script. Surfing over the web, I concluded that I have to use pipe in routers and transfer configurations of my mailing agent i.e…
Hammad Raza
  • 2,313
  • 1
  • 10
  • 11
6
votes
2 answers

How could I stop PHP from returning headers when executed from commandline?

This may be a ridiculous question, but it's been bothering me for a while. I have a mail forwarder piped to a PHP script, it receives perfectly, however I have the following error mailed back to me instantly: A message that you sent could not be…
JonnyLitt
  • 763
  • 6
  • 11
5
votes
7 answers

How do I fix "501 Syntactically invalid HELO argument(s)"?

I'm using exim on both the sending and relay hosts, the sending host seems to offer: HELO foo_bar.example.com Response: 501 Syntactically invalid HELO argument(s)
Ranguard
  • 2,756
  • 3
  • 20
  • 15
5
votes
1 answer

What changed in exim 4.94, after update the line throws an error

I use Vesta control panel, Exim is screwed to it, after update, errors. 2020-12-03 23:45:35 H=mail-wr1-f44.google.com [209.85.221.44] X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no F= temporarily rejected RCPT : failed…
Devoleksiy
  • 71
  • 6
4
votes
1 answer

How to understand Exim log file?

Can someone help me understand Exim log file, and also point me a great documentation about it's log. LINE 1 2010-12-05 17:30:15 1PPKHn-0003mA-5w <= username=example.com.br--4219--bounce@mydomain.com.br H=myserver.com.br () [174.120.195.18] P=esmtpa…
newx
  • 595
  • 7
  • 16
4
votes
2 answers

Exim's DKIM signatures do not verify on Microsoft servers (outlook, hotmail) *only*

Gmail as well as a local ISP passes DKIM for Exim emails, but Microsoft does not, with the fail noted in the header: Authentication-Results: spf=pass (sender IP is [correct IP]) smtp.mailfrom=[correct domain].co.uk; outlook.com; dkim=fail…
lm713
  • 312
  • 5
  • 16
4
votes
1 answer

Different smarthosts for different domains with different credentials

Hello I have two (or maybe more later) domains: domain1 domain2 I want to configure Exim (cPanel) to use SendGrid's or Mailgun SMTP servers, currently I'm trying with this config in Exim: **Section: TRANSPORTSTART** domain1_smtp: driver = smtp hosts…
eXtreme
  • 244
  • 3
  • 18
4
votes
2 answers

Send email from Linux command line to Gmail

There appear to be a number of answers to this question, but none of them seem to work: I would like to send email from my localhost to a gmail account. The following command does nothing as far as I can tell: mail -s "Hello!"…
Carson McNeil
  • 790
  • 9
  • 22
3
votes
1 answer

Can't relay mail server to SendGrid

I've gone through the SendGrid integration instructions for Exim (http://docs.sendgrid.com/documentation/get-started/integrate/examples/exim/) However, any email I send now is not being sent. Its all stuck in the queue. I looked for the log file for…
PaperChase
  • 1,557
  • 4
  • 18
  • 23
1
2 3
18 19