Skip to main content

Questions tagged [exim]

Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on *nix. It is licensed under the GNU GPL, so is Free software.

Filter by
Sorted by
Tagged with
1 vote
1 answer
43 views

exim error: NUL character(s) present (shown as '?')

I'm getting the NUL character(s) present error on exim, similar to this post, but since that post is too old, I'm following Charles Davis suggestion to create a new question. $ tail -f /var/log/exim4/...
Pablo A's user avatar
  • 2,821
1 vote
0 answers
172 views

How to set HELO/EHLO on Exim accordingly to match sending domain

I have a VPS server, which is used to send emails. On that server I have 2 domain names attached and correctly configured with 2 different IP's. DNS is set as well to match sending IP's accordingly: ...
Alex Tsvetochkin's user avatar
0 votes
0 answers
111 views

Untainting an exim4 configuration when upgrading to Debian 11

I'm aware that this question has been asked a few times before, but I've been unable to work the solutions to other people's problems into my own exim configuration successfully. I end up with a ...
Charles Greig's user avatar
0 votes
0 answers
179 views

How can I make Exim mailserver doing faster retry after temporary DNS failure

We are running Exim4 mailserver version 4.90.1 on Ubuntu Server 18.04.1 LTS which is in DMZ and sends out emails from LAN out to the internet. Sometimes (maybe a couple of mails per 24h of thousands ...
user avatar
1 vote
1 answer
113 views

Remote SMTP traffic appears to come from LXC Host to container

Summary: I have a mail server (exim 4, Debian 10) in an LXC container. The host is running Debian 11. Since yesterday evening spam traffic has been coming in that appears to come from the LXC Host. ...
Lennart's user avatar
  • 13
0 votes
1 answer
683 views

Fixing a tainted statement in EXIM

I'm trying to understand and fix at least one tainted statement within exim and I don't understand how it is supposed to be quoted. The line I believe is causing the grief is: domainlist local_domains ...
user468505's user avatar
1 vote
1 answer
114 views

Several times a day, exim4 gets a connection that tries 100 different RCPT commands

I have bad actors attempting to figure out valid user names on my exim4 server. Many times a day, I'll get a connection that tries 100 RCPT commands with random-ish account names. They have the ...
Shay Walters's user avatar
2 votes
1 answer
254 views

Can lines be wrapped in /etc/aliases?

I am using /etc/aliases to direct group emails to multiple accounts, for example: postmaster: john abuse: john www: paul team: john, paul, ringo, george One of the lines is getting quite long due to ...
Tim Styles's user avatar
2 votes
2 answers
2k views

Send email via exim4 using port 587

I have configured exim4 and am trying to send out emails using port 587 and the email is being sent but on the mail server it show connecting at port 25. I am using: echo "Subject:Hello All" ...
Shaheena Kazi's user avatar
1 vote
1 answer
1k views

How to fix tainted domain in exim router

I'm facing issue with tainted data from files. I even tried $domain_data instead of $domain, still not able to fix tainted data Error log main.log 2022-09-06 12:55:31 1oVdjO-000WZa-39 => info <...
Surjit Sidhu's user avatar
1 vote
1 answer
1k views

How is the unattended-upgrades notification email built?

I defined unattended-upgrade configuration in /etc/apt/apt.conf.d/50unattended-upgrades file. It works fine, I receive an email notification when an upgrade is applied. The notificatoin email shows ...
user1185081's user avatar
0 votes
1 answer
894 views

debian buster exim4 hostname --fqdn did not return a fully qualified name

I'm running debian buster, and let exim4 deliver for localhost mail from apt-listchanges. this works but I get the error alex@Taomon:~$ LANG=C alex@Taomon:~$ systemctl status exim4 * exim4.service - ...
nobody's user avatar
  • 377
2 votes
1 answer
168 views

Exim4 segfault using AUTH LOGIN

My exim4 vis causing a segfault error on sending an email message whenever I use AUTH LOGIN authentication. However, sending the email using AUTH PLAIN works like a charm. Both auth methods connect to ...
Jesús Ángel's user avatar
0 votes
1 answer
200 views

Why does exim4 accept my message although I tell it shouldn't (via require_files)?

I use exim for virtual domains. I created the following router: domains_virtual: debug_print = "R: domains_virtual for $local_part@$domain" driver = accept domains = /etc/exim4/...
divB's user avatar
  • 208
2 votes
3 answers
2k views

How can I un-taint my DKIM config after exim upgrade?

Debian upgrade to exim4 4.94 brings new headache: tainted variables. I have several virtual domains handled by my exim and hence I use variable expansion to obtain DKIM domain, selector and key. In my ...
divB's user avatar
  • 208
0 votes
1 answer
63 views

claws mail how to get system mails over exim4

OS = debian stretch mate desktop with claws-mail --version Claws Mail version 3.14.1 Is there a way to create an account for system mails so I can get them in claws-mail (like for apt-listchanges) ...
nobody's user avatar
  • 377
2 votes
1 answer
447 views

Difference between oneshot systemd unit and root command line?

My setup includes a script that send a mail to a local user via the exim command line. This script is called as root (Reality is of course more complicated, but this seems to be a minimal working ...
Jens's user avatar
  • 239
0 votes
2 answers
2k views

exim4-base removal

Why does Debian Buster ship with the exim4-base package installed by default? Can I remove it from my system?
Marwi's user avatar
  • 131
0 votes
1 answer
489 views

Why does exim use openssl from system instead of compiled version?

I try to upgrade from exim 4.84 to exim 4.94 My Local/Makefile for exim contains this: SUPPORT_TLS=yes TLS_LIBS=-L/MYPATH/lib/ -lssl -lcrypto -ldl TLS_INCLUDE=-I/MYPATH/include/openssl/ USE_OPENSSL=...
Roland Seuhs's user avatar
6 votes
3 answers
2k views

How can I disable old TLS versions in exim?

I'm running an Exim MTA which only receives emails from a few other systems under my control. All these systems happily negotiate TLSv1.2/TLSv1.3 with my MTA. I would like to disable support for TLSv1....
Martin Konrad's user avatar
1 vote
1 answer
116 views

Where is the source code of exim4-4.89-2+deb9u4?

I would like to know where to find the source code of exim4, with specific version and revision, 4.89-2+deb9u4. I have executed apt-get source but got an error message: apt-get source exim4=4.89-2+...
Daigo's user avatar
  • 125
-1 votes
2 answers
2k views

Help in debugging Exim4 SMTP AUTH 535 Incorrect authentication data

I followed this guide to set up TLS and auth. I have a username (usr) and a password (pwd) set in /etc/exim4/passwd and the files has the right permissions: -rw-r----- 1 root Debian-exim 51 ...
Sardathrion - against SE abuse's user avatar
1 vote
1 answer
208 views

Exim ignores local_sender_retain

I need to change the Return-Path in emails that are sent by the PHP's mail() function (via phpmailer, but that should make no difference). Locally, exim is running and messes up the headers, so I ...
Roland Seuhs's user avatar
5 votes
1 answer
4k views

Complete setup of Exim4 as SMTP to reach most inboxes as possible (correct configuration)

I have over the last days tried to setup Exim4 to handle all mails sent from a web application. It seems to be working, but I haven't found out how to hardcode the hostname which will be sent with ...
clarkk's user avatar
  • 1,847
1 vote
1 answer
448 views

Exim4 - set EHLO to mail from domain

How to set EHLO to the domain in the from/envelope-from domain? The SMTP server will send mails from different domains like @mydomain1.com, @mydomain2.com etc How to set the EHLO to the specifik ...
clarkk's user avatar
  • 1,847
0 votes
1 answer
596 views

Setup exim4 to send mails from web application

I want to setup my own SMTP server (only mail send) to handle all notification mails etc from my web application dpkg-reconfigure exim4-config Type: internet site FQDN: ...
clarkk's user avatar
  • 1,847
0 votes
1 answer
306 views

how to block an email sent using a script in EXIM

I have a CentOS cPanel server and I host about 30 customers in this server. Sometimes one of these accounts using a CMS get hacked, and the hacker is able to send out spam email using a CMS php ...
gr68's user avatar
  • 334
0 votes
1 answer
245 views

Correct PCRE in Exim Custom Filter File

My Server: - CentOS 7.6 - Exim 4.91-5 What I am looking to achieve Using Exim I want to silently discard incoming emails from a user set list of wildcard matches. SpamAssassin and other tools are not ...
Martin's user avatar
  • 139
2 votes
2 answers
991 views

exim rewrite envelope-from for one router only

You can headers_add in a router, but I can see no way to change the SMTP From aka Envelope-From within a router or indeed anywhere using the same conditions the router triggers on. I need to emulate ...
Tim Watts's user avatar
1 vote
2 answers
1k views

Exim4 and root aliases? Send a copy to root?

When setting up my raspberry pi to use local email (using exim4 as the default MTA on Raspbian/Debian), and while doing the debconf initial configuration, I was asked whether to forward root's email ...
haziz's user avatar
  • 2,241
1 vote
2 answers
4k views

exim4 not using /etc/aliases

Some processes on my server send mail to various system accounts which all goes to root on the local machine. I want the root account to be an alias for my (external) email address. I'm using exim4 ...
TommyPeanuts's user avatar
1 vote
2 answers
201 views

Exim - What's the mark of EOL in exigrep output?

I have exigrep output like this. 2019-02-02 17:03:00 1gpxky-0005ky-Mk <= [email protected] U=XXXXX P=local S=14529 [email protected] T="XXXXXXXXX" for [email protected] 2019-02-...
TheTanadu's user avatar
  • 135
2 votes
1 answer
1k views

Exim does not use /etc/hosts [closed]

I have installed exim4, and my /etc/hosts file looks like this: 127.0.0.1 localhost 127.0.1.1 mycomputer 192.168.100.5 rpi.mydomain.com When I run exim -bt [email protected] to test ...
Flux's user avatar
  • 2,978
0 votes
1 answer
596 views

Exim and Spam Filtering

for years I've been using Exim as MTA. I had three strategies to prevent Spam. First of all blacklists. The second was to delay the mail delivery and the third was SpamAssassin. But this year, more ...
user39063's user avatar
  • 201
2 votes
0 answers
448 views

Bypass some domains in exim $message_body if condition

I have a custom exim email filter, sample of which is shown below. Just trying to work out how to bypass the "$message_body contains" part of my filter for specific sender domain names such as ".com" ...
Andrew's user avatar
  • 21
1 vote
3 answers
6k views

Mailutils produces error can not send message

On my debian server I got exim4 installed. I know, that the MTA works because I can send mails with php and it uses the account configured in /etc/exim4/passwd.client However when I try on command ...
user6329530's user avatar
2 votes
1 answer
7k views

How do I correctly configure exim4 on Debian so I can use `sendmail -t` to send mail via my office365 account?

I'm using Debian stretch (9.4). I have an office365 account. Using Evolution, I can successfully download mail via POP3, and also send mail using the Evolution "Sending E-mail" preferences: Server: ...
timday's user avatar
  • 715
1 vote
1 answer
408 views

Need exim >=4.86 on Ubuntu 14.04 LTS

I need to update exim on one of my servers to at least version 4.86 to use it with rspamd. But the latest version provided by the OS is 4.82. Is there any comfortable way to get the latest version, ...
user39063's user avatar
  • 201
1 vote
1 answer
271 views

Custom Error messages in Exim

Can anyone know how to change default error messages generated by exim for Unrouteable address or quota exceeded? I found this "Customizing error messages" , but I don't know how to use it... ...
Krzysztof Stasiak's user avatar
8 votes
2 answers
4k views

Mail delivery notices are correctly delivered, actual mail isn't

I have configured the Debian workstations at our department to use Exim 4 for mail delivery. Also I have created an alias such that I receive all the root emails. The Exim 4 configuration (via Ansible ...
Martin Ueding's user avatar
2 votes
1 answer
980 views

random “NULL character(s) present” error in exim

Sometimes we are getting NULL character(s) present errors on incoming mail. It looks like this: 2018-03-01 12:26:51.244 [22933] SMTP syntax error in "RCPT TO:" H=mail-wm0-f56.google.com [74.125.82.56]...
Alex Dyukov's user avatar
4 votes
2 answers
9k views

How do I create a local mail account?

I want to create a local mail account suitable for apt-listchanges. In other words, local services will send mail to local@localhost (?) and I should be able to check that mailbox using a regular mail ...
lofidevops's user avatar
  • 3,189
0 votes
1 answer
229 views

Configure MTA in Debian Jessie (8)

I try to Configure MTA for the Debian Jessie (8) and followed the procedure, A. Exim4 is installed by default on Debian installations, but not configured. Execute this command: dpkg-reconfigure ...
Arefe's user avatar
  • 233
2 votes
1 answer
967 views

Dealing with non-standard SMTP ports with sendmail -t

On my development machine, I have a special kind of SMTP server running on non-standard port which is used for testing purposes. On my virtual machine I'm trying to push a message to that SMTP server ...
vdudouyt's user avatar
  • 123
1 vote
1 answer
599 views

bypass some domains in exim if condition

I have this code in /etc/cpanel_exim_system_filter to be able to search and filter spammers in mail body and header. I want to add some domains exclude this rule for example *@gmail.com, *@mail.com ...
danone's user avatar
  • 304
3 votes
1 answer
7k views

IPv6 socket creation failed: Address family not supported by protocol

OS: GNU/Linux Debian 9.2 64-bit I disabled IPv6 on one of my servers. And now I'm getting this in mail: exim paniclog ... IPv6 socket creation failed: Address family not supported by protocol How ...
Vlastimil Burián's user avatar
4 votes
3 answers
10k views

Redirect all incoming email to a Python script

I'd like to manage all email incoming to *@example.com with a Python script running on my server, which will do various jobs. I've already done a DNS MX record for example.com, directing it my server:...
Basj's user avatar
  • 2,549
1 vote
0 answers
69 views

Cause Code Not Implemented for Heirloom-Mailx

I am attempting to send an message with an attachment from my RP3 to my phone, which uses Sprint. I have Exim4 setup as a MTA and the Heirloom-MailX configured so I can send an attachment. I am using ...
nightmare637's user avatar
1 vote
1 answer
981 views

exim4 & CHECK_RCPT_LOCAL_ACL_FILE

I am running a ubuntu server (I got convinced and there is not one day that I do not regret it!) which runs Exim. Deep within the split configuration's ACL files, I found this: # This hook allows ...
Sardathrion - against SE abuse's user avatar
2 votes
2 answers
6k views

Exim4: How to block a list of recipient addresses

To catch mail send to any recipient I have added the following router directive in my exim4 configuration: local_catchall: debug_print = "R: catchall for $local_part@$domain" driver = redirect ...
kiatra's user avatar
  • 45