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

How to send email from a specific ip address?

I'm running a vps with cPanel/CentOS, And i want to dynamically choose the IP address to send an email from right inside the php code. ( i'm open to any weired ways ) Is there any way to do that? i would really appreciate some clear ideas as i'm not…
CodeOverload
  • 47,274
  • 54
  • 131
  • 219
3
votes
1 answer

How to send an (exim) email bounce to a php file

I am currently working on a Centos 7 server which uses exim to handle emails in combination with swiftmailer. When an email bounces the "error" will be send to my email address. Instead of receiving the bounce as an email, I would like to be able…
R.75
  • 59
  • 9
3
votes
2 answers

SMTP protocol synchronization error (input sent without waiting for greeting)

I configured exim mail server on centos. It is working with no encryption type. But not with SSL and TLS. I din't get correct solution for this type of error. Can anyone tell solution and why this error message in exim main.log file? The error…
3
votes
3 answers

exim4-config script automated?

I need to setup exim4 on multiple servers however I was wondering if it's possible to create a script that will automatically go through the install process and set it up on exim4 with my hostname? sudo dpkg-reconfigure exim4-config Step 1 : Top…
masterq
  • 203
  • 1
  • 10
3
votes
1 answer

sendgrid cpanel exim failure

I was following instructions at the below websites http://sendgrid.com/docs/Integrate/Mail_Servers/exim.html http://knowledgelayer.softlayer.com/procedure/e-mail-delivery-service-server-side-configuration-centos-cpanel-exim It seems to be configured…
Chris Muench
  • 17,444
  • 70
  • 209
  • 362
3
votes
3 answers

SMTP authentication failure while using SendGrid/Gmail

I am getting SMTP Authentication Failure on the server and the mail is getting send via the server SMTP only... It appears to be a server configuration or related problem, but I am not sure. This is the debug details: 250-SIZE…
3
votes
1 answer

Send output of cron runs to an external e-mail address from EC2 instance

What I want to do is pretty simple - I want the output from cron on an EC2 instance to go to an external e-mail address. I've clearly done some wrong things, though, and am confused. I've configured exim4 to use gmail as a smart host, but somehow…
cbmanica
  • 3,502
  • 7
  • 36
  • 54
2
votes
2 answers

Messed up Exim queue - messages with header file but no data

My Exim mail queue was full of spam so I ran a custom grep command to search out spooled messages that contained the spam terms. Problem is, I didn't know that Exim breaks messages up into multiple files (one for header information, one for data,…
phx_zs
  • 147
  • 1
  • 11
2
votes
2 answers

Exim: Forward Based on Recipient in bcc

Currently I am filtering incoming mails by a .forward in the following way: if $header_to: matches "(office|info)@domain.com" then save Maildir/.office/ endif if $header_to: matches "whatever@domain.com" then save…
Markus
  • 5,667
  • 4
  • 48
  • 64
2
votes
0 answers

Authentication Required when sending mail via exim4 and gmail

hey guys a have problems with sending mail via sendmail over exim4 and gmail from my server; i created new email on gmail, configured exim to work as a smarthost but im getting error SMTP error from remote mail server after MAIL…
TheFatal
  • 95
  • 2
  • 8
2
votes
1 answer

Send email with Sendgrid on a shared hosting

I have my websites hosted in a shared hosting where CPanel and EXIM are installed. My goal is to send all outgoing emails via Sendgrid, as explained in this article: https://sendgrid.com/docs/for-developers/sending-email/exim/ I cannot edit the main…
Pinonirvana
  • 920
  • 1
  • 8
  • 12
2
votes
4 answers

perl regexp for mail address

ive got some trouble with writting regex for this lines in exim log 1. 2011-05-12 11:30:26 1QKRHt-0001aD-Vd => mail F= bla bla 2. 2011-04-22 12:01:31 1QDCF0-0002ss-Nw => /var/mail/mail…
MealstroM
  • 189
  • 1
  • 10
2
votes
2 answers

Send emails in go through Exim (without smtp)?

I'm currently using "gopkg.in/gomail.v2" to send email with following code found here package main import ( "bytes" "fmt" "gopkg.in/gomail.v2" ) func main() { m := gomail.NewMessage() m.SetHeader("From", "me@example.com") …
Garvit Jain
  • 1,862
  • 2
  • 19
  • 27
2
votes
4 answers

Set origin IP in PHPmailer

I wanted to rotate the origin IP addresses in an email script, it is used to send notifications to my customers. My server comes with 5 ip addresses, so I created an array of IPs and while sending the IP address changed randomly, in this array I do…
Daniel lm
  • 77
  • 1
  • 9
2
votes
1 answer

Exim overwrites "from" header when sending MIME email from PHP

I'm using the PHP Pear Mail_Mime library to send email. In my script, I set the "From:" header before sending the message. This all works fine on a server running Mac OS X, (which presumably uses sendmail as the mailer, although I'm not 100% sure.)…
Tom
  • 18,685
  • 15
  • 71
  • 81
1
2
3
18 19