Questions tagged [exim]
Exim is a sendmail-compatible Mail Transfer Agent, licensed under the GPL, designed for Unix-like operating systems.
1,074
questions
2
votes
1
answer
230
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
36
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
46
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
11
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
183
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
31
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
25
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&...
0
votes
1
answer
82
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
68
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
71
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 ...
0
votes
0
answers
51
views
exim ACL for removing authentication result headers on incoming emails if the admd is the same as yours
I am trying to figure out how to remove authentication result headers that include our own admd name, on incoming mail. Exim advises to do this when implementing Authenticated received chain in the ...
-1
votes
1
answer
45
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
66
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
0
answers
40
views
Force exim to add a return-path in transport
I'm not sure this is possible, but I would like to force exim to add a return_path header.
This is my setup:
1, I send an emails with user@domain.com using a third-party SMTP server.
2, I also send ...
0
votes
1
answer
130
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
0
answers
21
views
Exim peer IP in authenticator
I want to pass IP to Perl auth function. Everything works except i cannot get ip. I tried tons of vars and none of them contain peer ip (client's ip connecting to the server). Tried SSL/STARTTLS/...
0
votes
2
answers
338
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
157
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
152
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
0
answers
27
views
Exim and Logwatch Missing Return-Path
I have been trying to troubleshoot a weird issue I am having with logwatch and exim. I have logwatch setup so send via another exim smarthost.
If I send a test message via GNU mail. It gets through ...
0
votes
1
answer
96
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 example@gmail.com, I either get ...
0
votes
1
answer
47
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
224
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
97
views
Outgoing emails with attachments being held/deferred in mailqueue
For the last 5 days, any emails that have an attachment are timing out when being sent (or forwarded) to any external addresses and being held in the exim mail queue.
Internal mail is fine.
The main ...
0
votes
0
answers
65
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
193
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
200
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, ...
0
votes
0
answers
60
views
Exim4: How to set Reply-to and From headers for maillist
Background
I am trying to set up an email list to forward emails sent to board@example.com to a set of about 10 email addresses (minor changes yearly so I don't need a big bulky list handling system ...
1
vote
0
answers
49
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
37
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 ...
2
votes
0
answers
196
views
Automatically split References header at 998 characters in Exim
Microsoft Windows Outlook has a bug whereby the References email header is allowed to grow up to 1012 characters before being split, in violation of the RFC SMTP line length limit. Postfix will ...
0
votes
0
answers
483
views
Cannot receive e-mail with error: Tainted arg 4 for dovecot_deliver_pipe transport command: '
I'm having this never seen error in my mail server.
I can send e-mail to any address but cannot receive e-mail. The sender just receive a generic mail error back and in the exim log I have this error
*...
1
vote
1
answer
222
views
How to troubleshoot Exim problems?
I'm having difficulty making Exim add DKIM signatures to outgoing email. Judging by all the questions about that on the web, I'm not alone. But the answers are all of the form "Try this ...",...
0
votes
0
answers
102
views
Prevent Exim from sending spam
I have an Exim server for our application and I noticed malicious users registering with our app to send bulk spam.
I know that Exim has the ability to integrate with SpamAssassin to prevent the ...
0
votes
1
answer
204
views
How to configure Exim4 to relay emails from authenticated users in various locations
I have a Debian cloud server with Exim4 running and serving emails with DMARC, SPF, and DKIM properly set up. I can ssh into the server and send and receive encrypted emails successfully. Dovecot is ...
1
vote
1
answer
429
views
How to delete messages from mailbox older than a specified time in a local server
Some automatic processes, like those made at regular times using cron, generate a lot of messages. I would like to delete automatically those older than a month so my mailbox doesn't grow too much.
I ...
0
votes
2
answers
229
views
Does exim4's `${sqlite_quote ... }` expansion de-taint the expanded value?
I'm upgrading an exim4 installation which has some custom filters, to Debian 11. (Specifically, the filters are this.)
Since that uses Exim 4.94, I've now run into the new-ish "tainted variables&...
0
votes
1
answer
119
views
Process Incoming Mail with External Script with Exim
I have an Exim mail server, it is configured so that each incoming email has its content handled by a PHP file.
With the help of a third-party library, my PHP file can extract the subject, sender, ...
0
votes
0
answers
121
views
Exim to use AD LDAP for boxes and aliases
Trying to implement Exim and Dovecot-based mail system (to keep licenses cost low) that will use AD as mailbox and alias source. All users will be virtual. Looks like it is possible for mailboxes, but ...
0
votes
1
answer
42
views
failed to open /etc/userdomains for linear search: Permission denied (euid=1000 egid=1001)
Here my autoresponder in centos is not working can anyone help me with it.
2022-07-20 09:50:10 1oE6LK-00A004-0j ** alkesh@204.compilor.com R=userautoreply T=userautoreply: Expansion of "${if def:...
0
votes
1
answer
104
views
Cannot send email using Exim and Dovecot
I've been trying to debug this issue since last week, but I have no clue on what's going on, I have tried to find the answers myself but no luck.
I've been trying to send emails, from info@domain.com ...
0
votes
1
answer
824
views
exim4 authentication with external smtp server for smarthost
/etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='smarthost' # was local
dc_other_hostnames='' # was mini31
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost='mini31'
dc_relay_domains=''
...
0
votes
1
answer
47
views
Hwo to trim email addresses in Exim?
I have a list of emails from client accounts that are built like this: name+somegiberish@gmail.com
I have tied looking into configs but haven't found such an option.
How do i trim in Exim those emails?...
2
votes
0
answers
444
views
How to Fix Microsoft Exchange incoming emails always failing with DKIM bodyhash mismatch
I am noticing on our servers that since we set DKIM to reject failures on Exim (v4.95) that a LOT of genuine emails are being rejected.
Looking at the Exim rejectlogs we see that persistantly these ...
0
votes
1
answer
455
views
Configuring Exim to relay messages to an Office 365 server in Debian
Our company recently migrated from an on-site exchange server to Office 365. As a result of this, I need to update our proxy server to relay emails generated by our applications to Office 365. We are ...
0
votes
1
answer
203
views
"Certificate is bad" in exim smarthost setup
I am configuring a local exim instance to use an existing server (also exim) as a smart host relay. This is as verbose as the logs seem to be:
2022-06-11 23:59:35.745 [767692] SMTP connection from [...
0
votes
2
answers
170
views
Getting Debian to send email to a real address
I'm running Debian on an old computer on my home network to do stuff like netatalk, dlna,...
I have a number of programmes I've written myself that can send e-mail using the credentials for my regular ...
1
vote
0
answers
425
views
Exim Smarthost setup works in starttls but not in smtps
I have setup my exim4 as a local mta with smarthost delivery (debian 10 vm) following this guide: Exim on DebianWiki
If my smarthost is expecting a ssl connection (smtp over ssl) it does not work.
...
0
votes
1
answer
981
views
spamhaus.org is blocking our IP because we use multiple unrelated HELO values
spamhaus.org is blocking our IP because we send mail using multiples domain names from a single IP.
The message is
A device (computer, server, mobile phone, etc), or an app on a device that is using ...
1
vote
0
answers
128
views
Delivery mails to external MX (Google) with the same domain
I have a new instance with HestiaCP (Exim4) and I try to configure the email service with HestiaCP and Google Workspace
I have already configured the rules so that all the sendings are made to Google ...