Questions tagged [exim]

Exim is a sendmail-compatible Mail Transfer Agent, licensed under the GPL, designed for Unix-like operating systems.

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.

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

How do I forward all invalid incoming mails in exim

I have to all my invalid incoming to new addresss I have a route like this. virtual_aliases: driver = redirect allow_defer allow_fail domains = lsearch;/etc/userdomains user = "${lookup \ {$domain} \ …
be MrZulf
  • 101
  • 2
0
votes
1 answer

Exim log and send all mail for a given domain through another server

I administer a handful of shared web hosting servers. Recently, Yahoo has been deprioritizing/greylising all email sent from these servers. I am getting the dereaded 421 4.7.0 [TS02] Messages from my.ip.address temporarily deferred message from…
Josh
  • 9,190
  • 28
  • 80
  • 128
0
votes
0 answers

Error setting up SMTP via Exim4

I just started at my current role and I'm the only IT guy... I have a server that is used to send emails to a local smarthost but they just switched to using Office 365 and it "never worked" since then... I googled it but I cannot really "tell" what…
0
votes
1 answer

Is it possible to trigger a shell script on incoming emails, can it be done without services like dovecot, postix, etc?

This question more is for learning purpose. I'm exploring ways to develop a small email server (in + out). I have a domain that points to my server as well as mx records and all that stuff... I also have the open ports 25, 26, 110, 993, 995, 143,…
Jintor
  • 139
  • 7
0
votes
1 answer

Exim4 client rejecting TLS certificate

I'm having a problem with Exim4 and the TLS certificates, when I try a test connection using gnutls-cli I get this error: Processed 128 CA certificate(s). Resolving 'mail.reformaspaco.es:25'... Connecting to '192.168.150.200:25'... - Certificate…
0
votes
1 answer

Exim established many connections to strange ips

I installed VestaCP and used their mail server for my domain mails. But when I run netstat on my server,it shows some strange connections. There are no problems with my mail server until now, I just worry about these connections. Does my server meet…
Huynh Vinh Phat
  • 115
  • 1
  • 6
0
votes
1 answer

Sievie for outgoing mail - dovecot

I need to make a filter for outgoing mail. To copy messages if "to" contains the given e-mail address.I have: # rule:[Copy to slack] if address :contains "to" "test@example.com" { redirect :copy "XXXXXXXXXX@example.slack.com"; } and i try #…
onev
  • 1
  • 1
0
votes
0 answers

Exim4/Dovecot Error: User@domain.tld is undeliverable: Unrouteable address

Seeking some assistance with the above error. Just configured Exim4/Dovecot mail server on Debian 10 buster, but having issue receiving mail. It worked for some time during POC inhouse and now it's not working after moving server to cloud, getting…
0
votes
1 answer

Multipart text/html email from Invision Community not parsing correctly

First of all, yes I have contacted Invision Community support. Yes, I am a paying user with an active license. We went back and forth for several hours and all they have to say is there's nothing wrong with their software, and I need to fix my…
Krydos
  • 11
  • 3
0
votes
0 answers

E-mail servers keep being blacklisted by Spamhaus

We are running a (webbased) application that is being used by many companies. This application generates large volumes of e-mail, almost all of them have a PDF attachment. These are e-mails the users want and need. We are now sending out around 40k…
Frank
  • 113
  • 1
  • 5
0
votes
1 answer

Unable to turn email forwarding off with /etc/aliases file

I was testing forwarding to an external account with this in /etc/aliases: some_user: some_user,me@example.com The email was going to the external address but not to the internal. So I removed the entry from /etc/aliases to try to get things back to…
StevieD
  • 514
  • 8
  • 24
0
votes
1 answer

Is it possible to determine the mailserver software (MTA) used based on a domain?

Given the domain from the MX record, is it possible to get the name of the mailserver software (MTA) used on this server? Example MX record for gmail.com returns (among others) gmail-smtp-in.l.google.com. Is there a way to find out if Google is…
Antict
  • 101
0
votes
1 answer

How to forward email to GMAIL using EXIM4

I have a new exim4 server and I need to forward some addresses to a gmail address. support@myeximdomain.com --> mysupport@gmail.com I have created the router with driver = redirect and everything seems to work on exim side. This is the…
Tobia
  • 1,272
  • 9
  • 41
  • 81
0
votes
0 answers

Send Monit E-Mails via Exim

I installed monit on an Ubuntu 18.04 server and I would like to configure it to send e-mails to my personal e-mail address. I heard that I can send them via the installed exim. However, it does not work. As I am new to both mail servers and monit, I…
Chr
  • 103
  • 3
0
votes
1 answer

Dovecot submission protocol keeps getting turned back on after Debian upgrade

I have dovecot imap server and exim4 running on Debian Buster. I am using exim4 for smtp, but at the Debian upgrade before last (early Jan 2021), Debian arbitrarily turned on submission in dovecot by adding the file…
user1247280
  • 166
  • 1
  • 5