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
1 answer

exim dovecot as virtual machine / behind proxy log actual ip of client

server is exposed to regular dovecot and exim bruteforce attempts, in order to guess valid mail & password. have written a script that scans logs of wrong ssh logins and blocks the ip for one…
user13226980
  • 57
  • 1
  • 5
0
votes
1 answer

Exim:Use specific smarthost for certain recipient domain only

I'm looking for solution for the case described below. I've to send mail to some domains (hotmail, outlook) via smarthost, because of blocking my server's IP (Hetzner) on side of Microsoft. Key point here is that I need to relay not specified sender…
Twissell
  • 70
  • 1
  • 13
0
votes
1 answer

Debian 10.4 / Exim 4.92 add incremental delay to the unsuccessful login attempt answer

Browsed over all the internet, but cannot find an answer. Is there any acl or something that I could apply to unsuccessful login attempt to add delay to it? As probably anyone running mx, I have a lot of bots logins trying to guess users passwords.…
BUKTOP
  • 155
  • 1
  • 8
0
votes
1 answer

Unknown email address sending email from my host

I have a centOS 6 server, with DirectAdmin as the management panel and Exim as the mail server. In usage directory files (/etc/virtual/usage/) I can see that some emails have been sent from users that don't exist in my mail users. The IP address…
0
votes
1 answer

Dovecot + Exim = relay not permitted

I have setup a simple mail server with Exim and Dovecot. Since obviously I don't want to have an open relay server, I want to restrict the access from outside. I figured the following configuration: Dovecot listens at ports 587 and 993, performs…
Bartek
  • 1
0
votes
0 answers

Exim allows sending emails via SMTP without authentication with user and password

I set up Exim4 on Ubuntu 18.04 following the instructions provided directly on the Ubuntu website (Article: Mail - exim4). Follow all the steps correctly: Created the certificate for use in TLS Activate TLS Add the user to exim (with…
Tom
  • 289
  • 3
  • 13
0
votes
1 answer

exim. how to stop sent bounce message

I have smtp server exim. I want to forbid to sent bounce message if the e-mail came to a non-existent address. I added to the beginning of acl in the config: begin acl acl_check_rcpt: deny domains = +local_domains …
fevil
  • 1
  • 1
0
votes
2 answers

How to apply HTML layout template to email using EXIM?

My goal is to apply a standard, branded layout template to all emails when sending (on the server, not the client). I have been googling this topic and not found any resources specifically addressing this issue. The following is the flow I am…
0
votes
1 answer

Exim4 - mulitple local parts redirect to public folders - how to

There has been a request to have public mailboxes such as jobs@ and sales@ for example. We have a working proof of concept as below: #Public mailbox router public_mailbox: local_part_suffix = +* local_part_suffix_optional driver = accept …
0
votes
1 answer

Exim + Dovecot sending or receiving an email occurs the error: Unknown user

I'm running a mail server with CentOS 7 + Exim 4.92 + Dovecot 2.2.36 and RoundCubeMail as web interface, and have the following problem: when I send to or receive from emails which is not admin@ or info@ or dev@ etc. I have the following…
holycreeper
  • 41
  • 1
  • 6
0
votes
1 answer

Check for live mail log errors when send email

I need some help with the command for me to put on my VPS. I want to read the mail log to check for errors so I can to report it to Hotmail. I did a quick Google search and I tried to find the live mail log to check for errors when I send the…
chris oojer
  • 111
  • 2
0
votes
1 answer

How to upgrade exim4 without losing configuration settings

Using Ubuntu 14.04 is there a way to upgrade exim4 without losing configuration? Preferably through apt. Upon running apt-get --simulate upgrade it shows the package will be upgraded to 4.82-3ubuntu2.4, however the latest version appears to be 4.93…
c4154882
  • 5
  • 2
0
votes
0 answers

Is 6% CPU & >180 MB RAM usage normal for exim4 on Debian 10?

I just (attempted to) set up exim4 on Debian 10. Is the above normal for exim4 running under root when I run sudo systemctl restart exim4.service? Seems a bit high for an MTA. I have root: MyUsername set in /etc/aliases, changed…
jdrch
  • 1
  • 2
0
votes
3 answers

Is mail rejected by Exim's !verify = header_syntax ACL item, with RFC 2047-encoded From/To headers, legitimate?

A recent Exim upgrade added this to the default acl_smtp_data ACL: .ifndef NO_CHECK_DATA_VERIFY_HEADER_SYNTAX deny !acl = acl_local_deny_exceptions !verify = header_syntax message = header syntax log_message = header syntax…
Sam Morris
  • 377
  • 1
  • 11
0
votes
2 answers

Security when SMTP Relay is allowed from the Private Address Blocks

Is it safe to allow SMTP Relay from the private address blocks? 10.0.0.0/8 127.0.0.0/8 172.16.0.0/12 192.168.0.0/16 My gut feeling is that it's probably OK, however I'm not sure if that will not make my server susceptible to something like…
NarūnasK
  • 368
  • 4
  • 17