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

Exim: save mail to unique file

The short version: I need to save mail from Exim to a networked directory, but ideally I want to save these as unqiue files rather than appended to a mailbox. The long version: I have a PHP script which parses mail. Currently this is located on the…
Graham
  • 6,484
  • 2
  • 35
  • 39
-1
votes
1 answer

decoding email subject in EXIM log

in my EXIM log I have this email subject \316\225\317\200\316\271\316\262\316\265\316\262\316\261\316\257\317\211\317\203\316\267 \316\240\316\261\317\201\316\261\316\263\316\263\316\265\316\273\316\257\316\261\317\202 how can I decode it (human…
meneguzzo
  • 41
  • 3
-1
votes
3 answers

WHM/Cpanel wrong mail host after using transfer tool

I'm out of options. After using the WHM transfer tool to copy my entire cpanel account to my other server for testing (did that several times without problems) there were a lot of problems, als…
Jilco Tigchelaar
  • 2,065
  • 8
  • 31
  • 51
-1
votes
1 answer

create ACL in exim deny senders but exclude localdomains

reading material on the internet, I found a way to block extensions (TLD) or e-mail accounts, it's an excellent option since I make the mail never get the antispam, so I save resources. discard senders = /opt/exim/deny_senders message = your are…
-1
votes
1 answer

Emails Going To Spam And Cant Receive Emails VestaCP

i am trying to setup mails on my VestaCP, i have made MX, Dmarc records, followed every guide about these records on google but there are 2 problems. Here is my mxtoolbox results https://mxtoolbox.com/domain/letsupload.co/ …
-1
votes
2 answers

How do you create a newsletter using Exim filter?

I would like to use an Exim filter file to create a newsletter: accepting mail from specified contributor addresses, then forwarding on to specified subscriber addresses. The below works, but is there a more elegant and robust approach? # Exim…
u003f
  • 473
  • 1
  • 6
  • 12
-1
votes
1 answer

Return mail if marked as spam

I'm using Return-path header to get bounced mail back in a specific address. I was asking if there's a way, to detect spam message as well.
-1
votes
1 answer

Why is EXIM not able to verify sender?

Puzzling problem sending emails from one server to another. Sending from Server-01 pr@example.camp TO Server-02 eman@example.edu.au Server 02 bounces with sender verify fail for : Unrouteable address On Server-02 running dig MX…
Emmanuel
  • 4,933
  • 5
  • 46
  • 71
-1
votes
1 answer

How to Send Email from PHP With and Without Mail()

Is there anyway to improve a PHP mail() call like the following to lower the risk of having it being classified as spam by providers like Gmail? $to = "alice@somewhere.com"; $subject = "One Last Step to Get Started"; $message = "To get going…
Laef
  • 1,086
  • 2
  • 11
  • 27
-1
votes
2 answers

Expand integer macro inside quoted string

While contributing to exim, I saw many values where hard-coded : uschar filebuffer[256]; (void)sprintf(CS filebuffer, "%.256s.db", filename); rc = lf_check_file(-1, filebuffer, S_IFREG, modemask, owners, owngroups, "dbm", errmsg); if (rc < 0) …
user2284570
  • 2,891
  • 3
  • 26
  • 74
-1
votes
1 answer

VestaCP/exim mail server returns 550 smtp auth requried

I have just installed VestaCP on a fresh CentOS VPS. I have set up email for one domain. All mail sent to that domain bounces with the error 550 smtp auth requried I have commented out the following; deny message = smtp auth requried from…
Peter
  • 854
  • 10
  • 19
-1
votes
1 answer

Reverse proxy smtp (EXIM)

I wonder if there is any possibility to receive and set original ip address in exim ? I have an NGINX proxy where I used "proxy_pass" and "proxy_set_header X-Forwarded-For" in order to get the REAL ip address within apache runtime, there is any…
user3405598
  • 85
  • 1
  • 7
-1
votes
1 answer

How to fix the error «Access denied - Invalid HELO name»?

I have exim on server №1 (1.1.1.1). A mailbox info was created, and email was sending and receiving successfully. But when I perform sending from server №2 (2.2.2.2), using an email and password for authentication, the mail server does not let me,…
LV426
  • 121
  • 2
  • 6
-1
votes
1 answer

Recover email sended through exim?

lost some important data from my server and I know that data was sended via email. I have root access and I need to recover those emails. I looked into exim logs and I have the email ID, but when I use a command like: root@server…
Santiago
  • 9
  • 1
-1
votes
2 answers

Shell script to delete messages from exim queue sent by specific authenticated user

I found a way to find and delete from exim queue messages sent using an authenticated account (useful to purge queue from spam sent by a compromised account): find /var/spool/exim/msglog -exec grep -l login:email@example.com {} \; | sed…
Davide Moretti
  • 117
  • 2
  • 3
1 2 3
18
19