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

best practice to have sent mail folder on dovecot imap server

When I add a mail account to KMail (or most other MUA I suppose) the sent mail folder is on the local machine and I don't have my sent mails on other machines. I'd like to have a sent mail folder in IMAP and I thought that there would already exist…
Thomas Koch
  • 221
  • 3
  • 6
3
votes
1 answer

What does "domain or user is in the queue only list. Message queued" mean?

Emails to my domain are periodically being delayed. I see in Exim's log file /var/log/exim_mainlog messages like the following: 2013-05-16 18:58:18 1Ud77q-0002ns-Rd <= email@my.host.name U=ssupport P=local S=4350…
Josh
  • 9,190
  • 28
  • 80
  • 128
3
votes
2 answers

Exim4 not sending to all email addresses in /etc/aliases

(I posted this on Superuser but I realized that it was probably better handled here) I've recently set up a development server at my job to test out certain features. I am setting up exim4 to be the MTA for the server. However, when I test and send…
josh
  • 257
  • 2
  • 12
3
votes
2 answers

Sending mail from multiple hosts on one instance using Amazon SES and Exim4

Suppose that I have some instance running in Amazon EC2: somehost.example.com This instance hosts some number of applications or websites for other domains: www.example.com web.example.org etc. This host is configured to use exim4 to interface…
futureal
  • 397
  • 1
  • 3
  • 17
3
votes
1 answer

exim4 redirect mail sent to *@domain1.example.com to *@domain2.example.com

Current situation: We have a VPS that hosts a website example.org. Exim is configured to work as a smarthost. All emails sent through exim are successfully relayed to another mail server (that is working on example.com). Goal: To forward mail sent…
nightcoder
  • 288
  • 4
  • 7
3
votes
2 answers

Configure exim to use remote smtp with authentication

I have a dedicated server with exim on it. I also have a regular shared hosting account ("sharedhostingdomain.com") on hostgator. I want to configure exim to always use hostgator's smtp server ("mail.sharedhostingdomain.com") for email delivery. The…
extesy
  • 31
  • 1
  • 1
  • 3
3
votes
4 answers

Exim4 configuration to use several external ip for mail sending

i've got exim4 on ubuntu server and i-ve got a pool of 20 external IP's. Is that possible to configure exim4 to use this ip-s rotating to send mail? I think i could do this with iproute / iptables load balancing with "link stick" but i want to know…
MealstroM
  • 1,517
  • 1
  • 17
  • 32
3
votes
3 answers

Strip SpamAssassin headers before processing

I have a server running cPanel/WHM with exim and SpamAssassin. I've been noticing an issue where emails coming in with forged spamassassin headers bypassing some of the filtering. I want to strip out all SpamAssassin headers before it goes through…
ytjohn
  • 417
  • 6
  • 12
3
votes
1 answer

Can I configure Exim to log a given header of all emails sent?

I maintain a custom built web application. Any time this application sends an email, it adds a custom header X-UUID to the mail, to assist me in tracking abuse and email delivery. This UUID is written to my application's log file so I can correlate…
Josh
  • 9,190
  • 28
  • 80
  • 128
3
votes
2 answers

DynDNS and mail servers

I have set up an Ubuntu box with EXIM4 for handling my email, for now I only care about outgoing email. My router manages my DynDNS.com psuedo static-IP addressing. Port forwarding for port 25 is open and shows up with a port-scan. The…
Ray Hayes
  • 147
  • 2
  • 7
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
  • 2
3
votes
3 answers

Make Exim send bounces to postmaster instead of the sender, for non-local sender

I have a few e-mail aliases that forward to external hosts. Currently, if the external host rejects a message, Exim generates a bounce message and sends it to the original sender. This is bad because if the external host rejects the message as spam…
Reid
  • 302
  • 3
  • 14
3
votes
1 answer

~/Maildir vs /var/mail for e-mail storage

I run a mail server with Exim4 and Dovecot. Currently mail goes to ~/Maildir. However, I am wondering what the relative advantages and disadvantages of storing mail in /var/mail/$user/ is. Is one location more secure (from a process privileges…
3
votes
1 answer

Force users to use BCC

I want to force users sending mail to my server to use BCC (we're getting a lot of internal spam created by mailings to 30+ mailing lists which then reply to all). I thought spamassassin could be a good place to start since it is already used for…
dtech
  • 633
  • 2
  • 10
  • 27
3
votes
5 answers

Improving Exim performance: mounting message queue on RAMdisk

I have an email server that's part of a messaging application, and it's going to see a lot of throughput. I want to mount Exim's message queue on a RAMdisk to maximize performance; throughput speed is most important, as opposed to solidarity in…
JustinP
  • 41
  • 1
  • 2
  • 5