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
1092 questions
10
votes
2 answers

Exim: send every emails with a predefined sender

We use Exim on our servers to send emails only from local automated users, as root, cron, etc. We have to specify every possible users into /etc/email-addresses. For example: root: alert@example.com cron: alert@example.com backup:…
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.
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
5
votes
1 answer

Exim speed up mails send/recieve mechanism

We are using Exim on CPANEL server with CENTOS 5. We have only one mail server hosted on US databasecenter contains all user mailboxes. Problem is that our users are in two different data centers in US and China. And China datacenter users having…
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…
4
votes
2 answers

Personalized "user has left company" notice message

Running exim4 i cannot figure out how to send a notice message to the sender, if a certain address gets mail (the address of the user that will left the company).
PeterMmm
  • 905
4
votes
1 answer

Updated EXIM4, now not using TLS due to validation failure

I have a home server and updated the system drive to an SSD as it had been on a combination of USB and HDD for /home and /var. Because the USB was on a previous version of Debian I have done a fresh install, which has also upgraded me to version…
Rebecka
  • 211
3
votes
2 answers

Exim4: Catchall outgoing mail, allow only a few domains to pass through on a dev server

Im administering a bunch of development and staging debian (v.6-8) servers. The current exim4 setup looks like this: There are no incoming mails on the servers (no wan connection) Outgoing mails are send via a smarthost (this is currently…
3
votes
2 answers

Blocking outgoing mails to some users in exim

I want to block some users to sending out mails to other domains in Exim4. I tried the following configuration but did not work. Changes done in exim.conf file: In the main configuration section, enabled the acl_smtp_mail control as…
3
votes
1 answer

Forcing exim to use a single address when sending email

My ISP requires my sender envelope header, and from: header to be a specific address. How do I configure exim to force all email to have this address when relaying?
tlindner
  • 131
3
votes
2 answers

While Mail Forwarding with exim, how do I rewrite the To header with true destination address

I have mail forwarding setup with exim using a domain forwarding file. virtual_aliases_nostar: driver = redirect allow_defer allow_fail data = ${if exists{/etc/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}}} …
Jom
  • 31
3
votes
5 answers

Where does exim store mail? (or, where did my email go?)

So, I've just set up mail and mutt and I'm happily sending emails to a gmail.com address. I am using EXIM as my MTA. Now, when I reply to those emails (so they get send back to my domain) I see a record that they appeared in /var/spool/mail, but cat…
bobobobo
  • 799
  • 6
  • 14
  • 26
3
votes
1 answer

Exim - restrict which addresses a user can send from

By default, exim allows any user to send out an email with any "From:" address they wish, which can lead to users spoofing each other. How do I restrict which addresses each system user can send from? For example the user james should be able to…
2
votes
1 answer

Exim can't receive emails but send on Amazon EC2

I have Cenos 6 installed on Amazon EC2 instance. Also I install exim+dovecot to send and receive emails. I have two domains and two network interfaces with connected elastic IPs. In example internal IPs is: 172.31.108.135 172.31.110.53 and two…
MCoder
  • 21
2
votes
2 answers

Exim - possible to configure to retry emails that fail with 550 error?

We get an issue where messages intermittently fail with a "550 Unauthenticated senders not allowed". We're working on getting to the bottom of that, but in the meantime, I want to configure exim such that when messages fail with that error, they go…
sa289
  • 1,338
1
2 3 4 5 6 7 8