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

exim redirect mail to a script

I am looking to set up a mail relay so that any mail sent to for example @example.com gets parsed be a PHP script. I know to do this for indervidual address I could do some thing like (from the following web site…
DevilWAH
  • 2,553
  • 13
  • 41
  • 57
1
vote
0 answers

Get the most detail from Exim log debug output for pipe commands

How do you see the most detail from Exim's output? I'm specifically trying to debug a pipe/external command on a Red Hat based OS. I've got a good amount of Exim debug logs, but it doesn't seem to be enough. Our exim transport works fine with our…
Polo
  • 91
  • 5
1
vote
1 answer

Extract/print Exim loaded aliases (for mailman3)

How do you extract or print Exim's aliases that it's using, when using it through Mailman3? Mailman uses Exim, and includes nine aliases which point to seven different wrapped…
Polo
  • 91
  • 5
1
vote
0 answers

Invalid request, No data was found Roudcube

I am currently facing to issue with Roundcube. 1)The first one is with OS compatibility when I use RoundCube in OS like CentOS or Ubuntu it's the usage count proper but when I use Almalinux or Cloudlinux it shows unknown instead of Usage…
be MrZulf
  • 342
  • 2
  • 7
1
vote
0 answers

How to set exim accept incoming mail from only allowed hosts?

I have setup a mail gateway in front of exim. Bu sometimes, spammer may directly delivery mails to exim ip so spam mails passes mail gateway. So I need to set a filter for SOME domains (in multidomain enviroment), to only accept mails from mail…
Ozgur Erdogan
  • 1,133
  • 1
  • 8
  • 13
1
vote
0 answers

Exim: How to rewrite the domain addresses to match the sender domain

I am trying to rewrite the envelope from address domain. I would like it to match the sender address domain. I have tried to do it using the following configuration. begin rewrite *@$primary_hostname $1@$sender_address_domain F However the variable…
Urban
  • 71
  • 7
1
vote
0 answers

Getting "Server temporarily unavailable. AUP#MXRT" while sending bulk emails (Deferred Emails)

I have a VPS server with CPanel on my domain (say mydomain.com). I have a SuiteCRM installed on a subdomain (say sub.mydomain.com) and I am sending mass emails from it in a batch of 90 every hour. While sending the emails from the CRM (Authenticated…
1
vote
0 answers

How to use arc to deal with exim4+mailman?

How to use arc to deal with exim4+mailman ? How to config with exim4 and mailman3? mailman.cfg: enabled: yes dmarc:yes dkim:yes privkey: /etc/dkim/dkim.pem authserv_id: ******* selector: s201512 domain: ******* sig_headers:…
1
vote
0 answers

exim4 happen: Too many "Received" headers - suspected mail loop

When I use Mailman and ExIM4 to set up a mailing list server, I send information to the mailing list using my personal mailbox, and the message "Action: failed, Final-Recipient: rfc822; dev@tomtoworld.xyz Status: 5.0.0" is returned. The log output…
1
vote
1 answer

Exim router configuration for fail

I have an exim router configuration for suspended account check. I use a perl lookup for verification for suspeded accounts and the perl function works fine. The issue is , exim still deliver the message without failure. The router settings as…
sherin
  • 323
  • 3
  • 10
1
vote
0 answers

Adding custom headers to exim4

Im trying to add custom headers to my Exim4 config for all my emails to show up in CloudWatch. To get it working i updated the config with below: .ifdef DCconfig_smarthost DCconfig_satellite # configtype=smarthost or configtype=satellite # # Send…
Dirkos
  • 488
  • 1
  • 10
  • 33
1
vote
0 answers

How to automatically CC a message to specific recipient in exim

I need to make a configuration within exim that would automatically add a CC recipient whenever the message is sent to a specific TO recipient. All I could find is how to do this for BCC, but CCing seems to be done differently, I assume somewhere…
bobalo
  • 11
  • 1
1
vote
0 answers

Print exim mail queue in html file

I am looking for a script that will log/access linux servers and run exim -bpc command and print the output in html file. I want to monitor mail queue from different linux server in single dashboard. I also want to set bg color based on the mail…
1
vote
1 answer

PHPMailer not catching SMTP errors

I am using PHPMailer to connect to a remote smtp server running Exim. In my exim logs, I can see that the sending failed, but PHPMailer does not catch an exception and it seems like the SMTP server is returning an "Ok" status. Here is the excerpt…
danielb
  • 878
  • 4
  • 10
  • 26
1
vote
2 answers

Exim v4.91: Cant Enable IGNORE_SMTP_LINE_LENGTH_LIMIT = 1 macro to allow long lines

Ever since upgrading to Exim 4.91, legitimate email notifications are being rejected with an error "T=remote_smtp: message is too big (transport limit = 1)". This appears to be related to a new ACL in Exim as described here to block messages that…
John Tangale
  • 325
  • 2
  • 17