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

CentOS Spam Troubleshot

I am having a problem in my server. It's sending a lot of spam emails out. I am using Exim, and i did all the possible Tweaks from WHM to prevent spamming. I already tried to find the source of these email, from what script they are coming from. I…
Agli Panci
  • 494
  • 1
  • 9
  • 21
0
votes
1 answer

Exclude Domain in Exim config

We have been using exim through cpanel to send email this is because they support an SMTP relay to send email. We have just moved over to Google Apps for our mail and we have a bit of a problem. If you're on one of our websites and you have a mail…
WebDevB
  • 492
  • 2
  • 7
  • 25
0
votes
2 answers

Pipe to program fails, but runs OK in SSH console

I'm trying to get Rails 4.1 to receive bounceback emails but it's been really difficult to even get to this point. I can run the command below in an SSH console when logged in as root, but when I put it in my /etc/valiases file, I get a bounceback…
0
votes
1 answer

Using exim to delete emails via a whitelist

I have a whitelist of emails that I want to keep in my mail queue as I've got a lot of spam from unauthorized email addresses that were added from a recent intrusion. How would I go about using exim to find the emails that don't match my whitelist…
Anthony Miller
  • 15,101
  • 28
  • 69
  • 98
0
votes
0 answers

Exim sets sender as <> only for one domain

Recently I've noticed that mail to one domain does not get delivered, logs stated that their server responded with "no bounces are allowed". However, all rejected messages were normal, not bounces. Then I launched tcpdump to see what's happening,…
r00f
  • 1
  • 2
0
votes
1 answer

How to configure exim to send mails to LAN without DNS

I am trying to configure exim to send mails directly over LAN without DNS, but I have no luck doing it... On both ends there is a server with one Internet-facing interface and one local interface. I need to use the local interface. When I telnet to…
Drasha
  • 37
  • 4
0
votes
1 answer

Python script that performs line matching over stale files generates inconsistent output

I created a python script to parse mail (exim) logfiles and execute pattern matching in order to get a top 100 list for most send domains on my smtp servers. However, everytime I execute the script I get a different count. These are stale logfiles,…
user.py
  • 89
  • 2
  • 5
0
votes
1 answer

Howto build python script to parse exim logfiles and generate a send domain count

I want to build a python script which greps trough exim logfiles on my smtp servers and reports a total sum of most send domains every day, week, and month. I'm pretty new to python and I'm struggling how to achieve this. The relevant lines in an…
user.py
  • 89
  • 2
  • 5
0
votes
0 answers

Linux C poll sendmail success or failure?

I am trying to send an email in a C program which is only Linux compatible. I am fine with using sendmail to do this as I don't need to read/receive any messages, just send an email every few minutes. FILE *email = popen("/usr/lib/sendmail -t",…
user2843645
  • 45
  • 1
  • 8
0
votes
1 answer

directadmin/exim not delivering email from phpsendmail to (same) google apps domain

I've been trying to figure this one out for a while. We use Magento. And it sends order emails to customers from the address contact@domain.com through php sendmail. A BCC or separate email is sent (as a copy) to contact@domain.com The customer…
snh_nl
  • 2,877
  • 6
  • 32
  • 62
0
votes
2 answers

Print a part of line if operation of sed and grep is true

Trying to find spammers in exim mainlog. Mainlog has mail IDs and Subjects something like below. username1@example.com S==thi#s i $s @a Su~bJec%t username2@example2.com S==thi#s i ^s an*ot+her Su~bj)ec%t What I am trying to do is take the subject,…
0
votes
1 answer

exim paniclog mainlog 10gb+ > remote_smtp transport called with no hosts set

I am encoutering the following exim mainlog and paniclog all exceed 10GB of data (and this is clogging my server: CentOS release 6.4 (Final)) The repeating message that I could tail from mainlog is remote_smtp transport called with no hosts set…
snh_nl
  • 2,877
  • 6
  • 32
  • 62
0
votes
2 answers

Wordpress is not sending emails to Gmail

None of my Wordpress emails are sent to Gmail. More info: I am using EXIM mail server I am using wordpress latest version it happens only when emails are sent to Gmail EXIM logs say that the email is sent succesfully to Gmail, but they are not…
Vlad Preda
  • 9,780
  • 7
  • 36
  • 63
0
votes
1 answer

How to receive emails and save it to DB by email alias?

I have a web app. Lets assume it's domain is example.com. So, I need to make this thing. Anyone can send email to any email address in my domain. For instance, to 123@example.com, or to abc321@examle.com. And I need to get this message, detect…
Alex
  • 795
  • 2
  • 9
  • 17
0
votes
1 answer

exim: how to configure delay between messages?

I need to configure exim4 to wait for a ~1second delay between messages to a same host. Is this possible? I need this basically because GMail sometimes complains saying that "im sending too many mails to them", and they believe its spam. Thanks
arod
  • 13,481
  • 6
  • 31
  • 39