Questions tagged [exim]
Exim is a sendmail-compatible Mail Transfer Agent, licensed under the GPL, designed for Unix-like operating systems.
1,092
questions
0
votes
0
answers
11
views
Exim - Untainting data and Vacation configuration
Good Day!
I am running Exim 4.97. Trying to configure a per user vacation/out-of-office autoreply. I have read a bunch of articles and examples from before and after "tainting" was ...
1
vote
0
answers
19
views
Exim rate limits and Amazon SES
Amazon SES sets certain limits for using its mail service. For example, sending a maximum of 14 emails per second or up to 50 recipients per email sent (to, cc or bcc).
What configuration can be ...
1
vote
0
answers
21
views
Cannot get Exim to verify DANE for remote smtp
I am trying to configure Exim to try DANE before deciding to deliver unencrypted mail to remote hosts.
My general Exim configuration has: dns_dnssec_ok = 1.
For the dnslookup router: ...
0
votes
0
answers
18
views
authenticate users in smtp relay server exim4
I'm configuring relay SMTP server for sending email alerts from my local network. I need to send emails alerts from services witch run on my servers. And I need to authenticate it: each service should ...
0
votes
0
answers
11
views
Where can I find the output of exim's 'debug_print'? -- years later
There is an old thread:
Where can I find the output of exim's 'debug_print'?
(so yes I did search for existing questions, I did find an exact match , but I'm not allowed to comment + it's ...
0
votes
0
answers
19
views
Amavisd on OpenSUSE Leap 15.5 - use with exim - Can't connect to TCP port 10024 on 127.0.0.1 [Permission denied]
Like many amateur sysadmins, I'm taking advantage of the festive period to upgrade my mail server. Having battled with the vagaries of the HP Gen8 microserver to get Leap 15.5 up and running, all ...
0
votes
0
answers
30
views
Exim - looking up account in both saslauthd and passwd file
I have a working Exim4 setup on Debian Bullseye, authentication uses plaintext/saslauthd.
I would like to add a few "service account" emails on the localhost, and I believ ethe easiest way ...
0
votes
1
answer
40
views
exim source code explanation can not implement
In exim source code, there is this file which also explains that using addresses in the format of :include:pathname will lead to reading of addresses from a file, yet I couldn't execute this behaviour....
0
votes
0
answers
30
views
How to hide or remove piping errors (from the PHP command, from the output and from piping configuration)?
I have a piping in aliases Exim file.
It's working fine, but when the script fails for some reason Exim returns all that information to user.
This message was created automatically by mail delivery ...
0
votes
0
answers
30
views
Exim4 how to deny unauthenticated MAIL FROM from local domains
I have an Ubuntu exim4 installation. I experienced many invalid mail where an anonymous sender sends email to a valid address presenting itself as the same valid address.
For example, my exim is ...
0
votes
0
answers
162
views
How to properly filter emails through EXIM system filter?
My server recently encountered a large volume of incoming spam messages. For each message, Exim agent generated a message with the following content for the sender:
"Mail Delivery Failed: ...
0
votes
0
answers
103
views
"Exim syntax errors" in CSF block IP list
I am using ConfigServer Security & Firewall - csf v14.19.
In the block IP list, I find the following line:
What does this mean?
0
votes
0
answers
121
views
Configure exim to use remote smtp without authentication
I have a dedicated server with exim4 on it. I have configured exim4 to always use Amazon's SMTP server (mail.mydomainname.com) for email delivery.
I do have access credentials, but I want to know if ...
1
vote
1
answer
129
views
Exim, Debian 12 (bookworm): Tainted '..Maildir/' (file or directory name for maildir_local_delivery transport) not permitted
I have this Exim transport that works just fine on Debian 10:
maildir_local_delivery:
driver = appendfile
group = mail
maildir_format = true
create_directory = true
directory = /home/${...
0
votes
1
answer
142
views
Dovecot_delivery transport can't write to maildir
When I was making /var/mail backup I screwed up and didn't copy permissions properly.
Now I see the following message in my logs:
2023-09-17 03:10:26 1qhiB0-000Jx1-CI == [email protected]
R=...
1
vote
1
answer
116
views
Delaying dictionary attacks in exim
I have ongoing attacks against my exim server.
I'm trying to delay the attempts with the following acl
deny condition = ${if and {\
{>{$rcpt_count}{10}}\
...
1
vote
1
answer
218
views
Exim false negative on DKIM verification
My mailserver using exim4 has an ACL to check DKIM signatures. It accepts everything but it logs failures and writes a header with the results.
I'm sending mail from another server which I believe is ...
0
votes
1
answer
554
views
EXIM4: Signing Emails with DKIM
I really am banging my head against the wall with this one. I have tried for serveral days to get dkim signing to work on outbound emails from a server running on Debian 12, exim4 version 4.96, but to ...
0
votes
1
answer
37
views
Splitting Exim mailboxes on two different disks
I have inherited a rather small server and am forced to try splitting the e-mail accounts served by Exim on two (or more) disks (different mount points).
I was searching the internet for a solution ...
0
votes
0
answers
345
views
Exim configuration SMTP error from remote mail server after pipelined
Cause change smtp server exim configured with smart host no longer sends mail with the following errors.
The command used is this
# exim -v [email protected]
From: Webmaster <webmaster@...
1
vote
1
answer
167
views
Exim4: (gnutls_handshake): timed out
I'm using Exim4 on the Debian server.
Debian:
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Debian kernel:
uname -a
Linux mail....
0
votes
0
answers
79
views
How to use variables in Exim filter file?
I'm using Exim with Cpanel.
I created a filter file:
touch /usr/local/cpanel/etc/exim/sysfilter/options/forward_filter
with the following content:
# Exim filter
if ("$sender_address" does ...
0
votes
0
answers
79
views
Exim filter check if email is forwarded
I'm using Exim with Cpanel. I created email forwarding from '[email protected]' to '[email protected]' and '[email protected]' to '[email protected]'.
I want to filter only emails that are ...
0
votes
0
answers
96
views
Exim: send emails from different ips and hostnames on the same vps
I have 2 ips on my server, I’m trying to set up 2 emails, one email sends from one ip, the other sends from the second ip. The first email is fine but I’m getting an error in mail-tester.com for the ...
0
votes
1
answer
170
views
Amazon SES Unable to Deliver Mails to My Exim
I am constantly finding lines like these in my exim logfile:
17:42:56 [6063] 1q9ScJ-0001Zn-SJ DKIM: d=slack.com s=s4xolb5s7tnx6yxtrm4adems7glgsuyf c=relaxed/simple a=rsa-sha256 t=1686757138 [invalid - ...
1
vote
0
answers
76
views
exim4 doesn't apply aliases to outgoing mail
I'm not recieving error messages from my server, because they get bounced by my email provider for having an invalid "To:" address.
I have a working mail setup - I can use mail to send email ...
2
votes
1
answer
528
views
Allow users to create and write to a log folder
I'm using Exim4 to run PHP scripts when an email is received.
This script should create a file in the /var/log/myapp folder if it doesn't exist, otherwise it should just read the file and add more ...
0
votes
0
answers
66
views
Is it possible to configure mailman such that it doesn't communicate with the MTA using files?
I am experimenting with containerizing Mailman 3. Currently, it seems like it's supposed to write to a directory which the MTA can read. Essentially the directory /var/lists/ is used such that a ...
0
votes
2
answers
174
views
Hide information sent by Exim4
I am working with RabbitMQ + PHP to receive send email requests from my application.
When RabbitMQ receives the request, PHP uses PHPMailer to connect to the Exim server and send the email.
However, I ...
0
votes
0
answers
30
views
Exim.conf Redirect email to an another folder
I am trying to redirect/route incoming emails to another folder depending if they are listed inside the /etc/email_list file (ON/OFF). I am unsure how would I approach this, I am clearly messing ...
0
votes
1
answer
1k
views
How to send mail using exim4 via gmail smtp: how to enable SPF or DKIM without a domain?
I would like to send mail from my debian box to my personal gmail account.
When I try to send emails, I receive an error from Google. This is what I can read in /var/log/exim4/mainlog:
2023-04-13 21:...
1
vote
1
answer
59
views
Reject emails from a subdomain in Exim4
Is it possible in Exim4 to reject emails sent to a subdomain, eg sub.example.com?
A user has started a loop that is sending too many emails to the server, which generates the error "refused: too ...
0
votes
0
answers
58
views
Exim allow outgoing for specific domains
I am using Exim as MTA. I want if an email is sent out from my server, then the sender domain must be in the list "+local_domains", else it should be through the message "Not Allowed&...
1
vote
2
answers
704
views
Exim wont start using systemctl but it will via exim debug
I have a problem where Exim4 will not start/restart/reload... nothing works via /etc/init.d/exim4 nor systemctl start exim4... Both produce no output on the console - the start procedure just hangs ...
0
votes
0
answers
220
views
Why exim does not use TLS when sends email to remote SMTP?
Here what exim does when sends emails to gmail and other SMTP severs
Received: from ns01.virtex.kz (ns1.virtex.kz. [185.141.164.16])
by mx.google.com with ESMTP id i11-...
1
vote
0
answers
215
views
Emails sent with Perl NET::SMTP through Exim and then Postfix slow down when coming from one particular server
We have several servers set up on Debian 11 (Bullseye). One of the processes we run on all servers at regular interval during the day, with cron, is a perl script that reads from a MySQL database and ...
-1
votes
1
answer
99
views
Estimate amount of emails handled by Exim
I have two mail servers that use Exim, one is dedicated to receiving mail and the other is dedicated to sending mail.
How can I count how many emails a server sent in a month and how many emails were ...
1
vote
0
answers
147
views
How to disabled X-Spam header rewrite in WHM?
I need some help with the settings on my cpanel WHM. I want to disable the options to stop rewriting the X-Spam in the header. When I send the spam emails for a test, I'm getting this:
X-Spam-Subject: ...
0
votes
1
answer
235
views
Exim sends outgoing mail to all or none, not some
I have a PHP application sending emails via SMTP through a local Exim (v4.96) server. I am connecting on port 587 with authentication, and in the vast majority of cases everything works great. The ...
0
votes
2
answers
826
views
Send email via exim4 using port 587
0
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&...
0
votes
1
answer
502
views
Move emails to another folder
I have a mail relay server. Customers are using our server to send emails.
The server stores all outgoing and incoming emails in a mailbox folder "/usr/local/atmail/users", the folder ...
0
votes
1
answer
342
views
exim4: how to add an address as BCC to all the outgoing emails?
I'm working on an Ubuntu 20.04 web server where exim4 is used to send emails from the PHP application running on it.
Due to diagnostic and archival needs, I need to configure exim4 to automatically ...
0
votes
1
answer
151
views
Receiving Mail in Google Cloud (SMTP Relay-Mailjet) on EXIM
I am using DirectAdmin on my server. I have configured EXIM. I can send e-mails, but I have not been able to receive e-mails. For example, when I try to send e-mail via [email protected], I either get ...
0
votes
1
answer
85
views
How to restrict exim accept mails for one domain from certain hostname?
I have setup proxmox mail gateway in front of exim with many domains. But only some domains in exim are enabled for mail gateway. But sometimes, those domains recieve spam mails bypassing mail gateway....
0
votes
1
answer
610
views
Too many connections in Exim4
Some users have complained that they are unable to send emails to us.
In their logs appears the message "Too many concurrent SMTP connections; please try again later.".
Checking our logs, we ...
0
votes
0
answers
79
views
Dovecot and Exim config to support domain alias
I use Dovecot and Exim in my mail server, and auth them against MariaDB. The server keep mails for multiply mail domain, and it works this way for years.
Now I need to migrate (rename) one of mail ...
1
vote
1
answer
385
views
How to make proxy support work in exim
Nginx and Exim on same host, Nginx runs as smtp proxy for exim.
Nginx v1.22.0 config fragment:
mail {
...
server {
listen 25;
protocol smtp;
proxy_protocol on;
smtp_auth none;
...
0
votes
1
answer
387
views
How can I stop this kind of exim attack?
I has been search here, BUT no topic about my question (they just ask for their email was rejcted, but this time, not my email was been reject), it seem someone try to send spam out via my server, ...
1
vote
1
answer
126
views
How to configure Exim for autoreplying at domain level
I have been hunting for an Exim advanced config for a scenario I have.
What would be the best way to achieve an auto-reply at domain level?
For example, there are 2 domains within WHM (domain1.com, ...
0
votes
0
answers
108
views
Exim4 how to relay some recipients to another server
I have a domain managed by two servers, they have different mailboxes but the same domain.
How can I set Exim to forward some recipient email to the second server?
I checked many tutorial but they ...