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
0
votes
1 answer

Exim: run script after receiving from specific email account

I'd like to run a shell script when receiving emails from certain email account. I am putting together a sms alert system whereby sending emails to alerts@domain.com, it runs a script that converts those emails to sms messages. The script part is…
diegoiglesias
  • 323
  • 1
  • 2
  • 13
0
votes
1 answer

How to prevent spoofing mail accounts in exim?

We have a server with DirectAdmin panel where is exim. It's default configuration like here: http://files.directadmin.com/services/exim.conf We get e-mails for example from kontakt@hoseo.pl to kontakt@hoseo.pl it's spoofed: Examples: 1. Return-path:…
Lukas
  • 1
  • 2
0
votes
1 answer

Handling mail forwarding with php

I have a feature in my app that handles and parses incoming emails. The mails come in through the usual method with exim as a .forward file: | /path/to/php /path/to/mail/handler.php This sends RFC822 formatted text to my handler, which uses a…
mercutio
  • 22,151
  • 10
  • 36
  • 37
0
votes
3 answers

Magento/exim emails not arriving, sent to and from own domain

We have an interesting problem related to Exim. We use Magento. Emails are being sent by our server to customers and we have the send copy by separate or bcc in backend. We use Google apps MX. But the email never arrives. If the email is sent to a…
snh_nl
  • 2,877
  • 6
  • 32
  • 62
0
votes
1 answer

Limiting results from grep of a exim log

I'm trying to write a little shell script to run once a hour and return all the users and IP's that have sent emails in the past hour so I can look for any compromised accounts. I'm getting the data I want via: grep "A=dovecot_login"…
Analog
  • 261
  • 5
  • 16
0
votes
1 answer

Change Exim file with WHM Cpanel

Hi i started using osTicket for my helpdesk and i was able to do the Email pipe successfully, but even if the ticket is created, the user receives: Mail delivery failed: returning message to sender. In osTicket it says to change de exim document,…
Jorelr7
  • 16
  • 3
0
votes
1 answer

Exim Sender Name

I have ubuntu 12.04 and exim 4.76 I sent email via CLI from root: echo "text" | sendmail 698423@gmail.com and have email with headers (from address) root Please, tell me how replace root to myname: mynaname…
aimodify
  • 429
  • 1
  • 6
  • 11
0
votes
1 answer

how can I send an email from codeigniter application using exim?

All contact forms that i have created on old server worked just fine. On the newone Postfix is not installed, they use Exim and i have to re-work all my contact forms. Anyone know how can i send e-mail from codeigniter using Exim? Regards,Zoran
user2417624
  • 653
  • 10
  • 32
0
votes
1 answer

Why can't my server send outgoing email?

I've been having a lot of trouble trying to configure my server so I can send emails through PHP. I've read all the tutorials I can find but nothing seems very clear and it all assumes you have substantial background knowledge with this sort of…
user1391838
0
votes
2 answers

Exim filters lookahead assertions to deal with outbound spam

I am attempting to create some rules to help deal with the outbound spam we've seen lately from our customers being compromised. To do this I'm using an Exim filter and checking the subject or content against some common themes. I believe the best…
Corey
  • 9
  • 1
0
votes
2 answers

viewing email logs from last 24 hours only

I am in the process of writing a ssh command to process certain email log entries with awk into a nice readable format. This script is to be run only on entries to /var/log/exim_mainlog that are from the last 24 hours. I am not very familiar with…
mr.pribesh
  • 187
  • 1
  • 13
0
votes
1 answer

having problems with exim greylist on cpanel

I'm getting some weird errors in /var/log/exim_mainlog when someone is trying to send an email. The problem is I can't solve this so i'll try here. 2012-10-29 00:35:54 DBD::SQLite::db prepare failed: database is locked at…
Ionut
  • 476
  • 1
  • 3
  • 12
0
votes
1 answer

exim "emulating" Outlook configuration via Cygwin?

I would like to send an e-mail using Cygwin. I have installed exim and want to use the same config as what I have in Outlook at the moment to send the mail (my company SMTP, my own e-mail, etc) without screwing up Outlook in the process. Is that…
Amadeus45
  • 1,228
  • 2
  • 17
  • 28
0
votes
1 answer

Exim not seding out mail, getting errors

I dont know for how long, but just today I realized that exim is not sending out any mail. I tried restarting exim, nothing. Then i restarted the box, and still getting errors. I do not know why it is not sending. I cleared the mail queue, but that…
KennyPowers
  • 4,925
  • 8
  • 36
  • 51
0
votes
4 answers

Emailing content to a php script

I am about to start a project that requires an email to be somehow ran through a PHP script. I have full control of the server that the email will be sent to and wondered if people could give me some thoughts or pointers as to the most elegant way…
beingalex
  • 2,416
  • 4
  • 32
  • 71