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
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,270
  • 2
  • 18
  • 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
  • 1,845
  • 1
  • 22
  • 27
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
  • 641
  • 1
  • 9
  • 23
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
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
  • 1,845
  • 1
  • 22
  • 27
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,486
  • 7
  • 36
  • 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
5 answers

Linux mail server just for forwarding mail

We are building a service of which one part will be forwarding mail; so there will be lots of user@domain.com "accounts" but these will only be forwarded - we will not have any actual mailboxes or store any mail on the server. While I know most, if…
user14767
5
votes
6 answers

Prevent outgoing spam

What are some ways to prevent spam from leaving your servers should a hosting account get compromised? Have a bunch of clients on a server with cpanel but wondering if there was a way to just prevent a chance if an account was compromised. When I…
Nikki Wilson
  • 101
  • 1
  • 7
5
votes
4 answers

How do I get a SMTP session log in Exim?

Sometimes when debugging SMTP issues the standard maillog is not enough and I need to see the full SMTP session. In postfix I add the problematic IP to "debug_peer_list" which will enable the session log and other debug information for only that…
Gryphius
  • 2,710
  • 1
  • 18
  • 19
5
votes
1 answer

Exim4: all relevant MX records point to non-existent hosts

I'm currently having an issue with exim4. Some mail isn't delivered. I found this in my rejected log. 2012-06-21 10:11:47 H=bart (bart.*.com) [192.168.171.145] F= rejected RCPT : all relevant MX records point to…
user125483
1 2
3
70 71