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
1
vote
0 answers

Exim, define alternate router for forward mail, by user forward address

I have a problem, I am using the SES AWS service, for the delivery of my email; this works without problems; the problem arises when I want to send forwarding mail from one mailbox to another destination account, receive the following error: …
1
vote
0 answers

Email piping to a laravel app, get the senders server IP and server hostname, is that possible?

I have an email address that all email received is piped to a laravel app which then stores the headers message subject etc in a database. This works fine, but what I need to do is also get the senders server IP and server hostname, is that…
Ren
  • 21
  • 4
1
vote
0 answers

Exim logs analysis

Can someone help me analyze Exim log file or suggest me tool for analyzing. LINE 1 2010-12-05 17:30:15 1PPKHn-0003mA-5w <= username=example.com.br--4219--bounce@mydomain.com.br H=myserver.com.br () [174.120.195.18] P=esmtpa…
1
vote
0 answers

Why does VZWPIX.com (Email to MMS) defer 451 4.1.0? (EXIM Log)

I have a small texting service that is not blacklisted by cloudmark barracuda nor 100+ other respected anti-spam entities yet after roughly 1000 deliveries to vzwpix.com domain possible grey list happening? Also have exim.pl and exim.conf randomize…
1
vote
1 answer

DKIM + EXIM + Dovecot for outgoing emails

I am running exim+dovecot. I tried to generate a dkim key with opendkim but i got as a result that my dkim is not valid. Should i sign a DKIM signature with openssl or with opendkim? And what are the correct steps to correctly setup dkim with exim…
1
vote
1 answer

How can I configure exim to run a script for each e-mail

I need to run a shell script under exim that can read each incoming e-mail, optionally rewrites them and then continues sending the email. And ideal solution would be analogous to UNIX pipes: cat *incoming email* | **some-script.sh** | *back to exim…
frodeborli
  • 1,537
  • 1
  • 21
  • 30
1
vote
0 answers

Rails and Exim for Mailer with external mail provider?

we have our mail outsourced. so everything is on an external server. in my rails app i want to send email with exim, but it doesn't work, because the sender address is on another server. Any advice on this? Thank you!
trnc
  • 20,581
  • 21
  • 60
  • 98
1
vote
1 answer

Exim - Disable VRFY and EXPN?

A penetration test has been run on one of my servers that runs Exim for mail and they have this complaint: Description: The Mailserver on this host answers to VRFY and/or EXPN requests. VRFY and EXPN ask the server for information about an …
Conk1
  • 95
  • 1
  • 8
1
vote
3 answers

how to execute PHP script on incoming mail?

My centos server has Exim 4.87 and Dovecot 2.2 running. How can I make a PHP script execute when a new mail for a particular email address myuser@mydomain.com is received? I read somewhere that Dovecot´s notify plugin can be of help, but there is…
dev4life
  • 10,785
  • 6
  • 60
  • 73
1
vote
1 answer

Gitlab and Exim conflicting 'from' addresses when sending emails

I have installed Gitlab 8.15 and Exim 4.84 on CentOS 7 Whenever Gitlab sends a message, it should come from 'gitlab@mydomain.nl' which is correctly set in config/gitlab.yml. If I look in the log, I see the following: 2016-12-21 21:50:02 cwd=/ 6…
ChrisDekker
  • 1,584
  • 18
  • 39
1
vote
1 answer

How can I increase the speed of sending Secure SMTP emails?

I have a PHPMailer 5.2.16 on a server using Exim 4.87 which also has a TLS certificate for secured connections. My PHP is thus: class MailerSMTP extends PHPMailer { /*** * Mailer for authenticated SMTP emails using account mail system …
Martin
  • 22,212
  • 11
  • 70
  • 132
1
vote
1 answer

EXIM4 configuration directives: .ifdef, ifndef

all! I'm configuring exim mail-server and I'm a newbie to it. It is not my first mail server configuration, but first of exim. So far, I have read different config docs (e.g. this one) in the Internet and an exim's configuration manual, as well. And…
acd
  • 15
  • 7
1
vote
1 answer

Problem with sending multiple mails per SMTP connection with Zend_Mail and Exim

I have exim mailserver on my dedication server. I'm trying to send about 800 mails at once with zend_mail But only about 200 of them sending I have no php errors in error_log I tried to log if it too slow and exceed max time execution 2010-10-12…
ifrond
  • 28
  • 1
  • 5
1
vote
2 answers

chef server doesn't send mails

I have Chef-server 12 installed on CentOS 6.6. When I want to remind me a password for user on page https://ip/password-reset/new I don't get any mail and in exim logs I see 2016-04-27 14:52:17 1avQp7-0001iP-0U <= <> R=1avQp6-0001iO-Om U=exim…
1
vote
0 answers

hard bounce back notification not being received immediately

We have an exim server setup and configured. The email is being sent by godaddy relay server. In Section: ROUTERSTART, we have specified the following: send_to_smart_host: driver = manualroute route_list = !+local_domains #godaddy relay…