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
6
votes
3 answers

Linux email server for sending email from multiple IP addresses

I'm trying to setup an email server so it has the capability to send email from multiple IP addresses, so our marketing system can send email from multiple domains, while keeping the reverse DNS lookups consistent. IE, domain1.com resolves to…
Alex Fort
  • 163
  • 3
  • 4
6
votes
2 answers

Exim TLS and Secure SMTP

I'm in the process of converting an existing mail server to support encrypted SMTP for our clients, but I've run into this brick wall with very little useful log data to help me forward. Everything works fine when using regular unencrypted SMTP;…
Richard Keller
  • 2,040
  • 2
  • 19
  • 31
5
votes
3 answers

Can MTA send mail via a relay without being told so?

I'm thinking of adding an SPF to a domain. So I'm concerned if there are circumstances under which my MTA would use some relay when sending mail. Like, when the destination servers are too busy or something? I'm mainly interested in postfix's or…
x-yuri
  • 2,141
  • 2
  • 24
  • 29
5
votes
2 answers

Exim limiting number of emails and cc

550 maximum allowed line length is 998 octets, got 1014 Getting this error in emails bouncing back. Is there a setting in exim to solve this problem? Tried to google it up but cannot find any solution.
Fabrizio Mazzoni
  • 671
  • 1
  • 9
  • 24
5
votes
1 answer

How to choose a smarthost based on From: address in exim4 on Debian

I want to route emails with the From: .*@host1.com through smtp.server1.com and emails with the From: .*@host2.com through smtp.server2.com. For the moment, I have smarthost configured with dpkg-reconfigure exim4-config so that…
mikhailian
  • 201
  • 1
  • 7
5
votes
3 answers

Configure exim4 to use Microsoft Exchange as smarthost

My company has set recently set up an Active Directory driven Microsoft Exchange environment to consolidate outgoing mails. We do have a set of staging servers which should now use our MSEXCHG as smarthost for outgoing mail. These servers are…
5
votes
1 answer

Postfix Sender Verification 550

I have Postfix and Dovecot installed on a VPS, and configured to forward mail on to a Gmail address, and accept smtp requests from gmail so that it can send on that domains behalf. TLS and authentication are working, email is arriving, MX domains,…
Tom J Nowell
  • 200
  • 1
  • 8
5
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
  • 75
  • 4
5
votes
2 answers

unusual rate of unsolicited mail originating from your IP address

On my server I redirect mail, arriving to in@example.com, to manager1@gmail.com and manager2@gmail.com with /etc/aliases file. Recently I got the following email in my my.email@gmail.com mailbox (where postmaster@example.com mail is redirected…
x-yuri
  • 2,141
  • 2
  • 24
  • 29
5
votes
1 answer

"host lookup did not complete" error

I need to send mail from sub.domain.com but delivery to one address fails with an error "R=lookuphost defer (-1): host lookup did not complete". Additional information that might be relevant: My /etc/resolv.conf contains nameservers of a VPS…
hiirulainen
  • 135
  • 2
  • 2
  • 6
5
votes
1 answer

How can I configure Exim to drop non-authenticated connections on alternate SMTP port?

I currently only allow connections on port 25 from a mail filtering service's IPs. I have Exim running on an alternate port for SMTP submission. This port needs to allow non-encrypted connections for now so I can't rely on forcing TLS on the…
Dave Forgac
  • 3,546
  • 7
  • 37
  • 48
5
votes
1 answer

Make Exim deliver local mail externally

We've got an unusual mail setup - Google Apps/Gmail in front, with Exim running on our webserver. Mail for any account that doesn't exist in Google Apps is forwarded to Exim. Both of these use the same domain. Problem is, all mail sent from the Exim…
Sudowned
  • 288
  • 1
  • 3
  • 13
5
votes
2 answers

exim4 is showing a TLS error on connection... (gnutls_handshake)

My exim server is showing the following error: TLS error on connection from xxxx.xxxx.xxxx. ([127.0.0.1]) [xxx.xxx.xxx.xxx] (gnutls_handshake): A TLS fatal alert has been received. I'm using the plain authentication and my settings are…
John Mathew
  • 51
  • 1
  • 1
  • 3
5
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
  • 683
  • 3
  • 7
  • 14
5
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
  • 181
  • 1
  • 9
1 2
3
72 73