Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [exim]

Exim is a sendmail-compatible Mail Transfer Agent, licensed under the GPL, designed for Unix-like operating systems.

0
votes
1answer
67 views

Gmail rejects messages from new exim4 setup

I have problem with delivering mails to GMail from a new server setup with configured exim4. Messages sometime passed to gmail spam folder. But sometimes it rejects immediatelly. I have attached a ...
-1
votes
0answers
7 views

spamassassin not working with exim4 in ubuntu at all [closed]

There is problem with spamassassin when i integrate with exim4 not working at all when i see the header of email not seeing ant spam in mail header i am using vesta control panel it supporting ...
0
votes
1answer
25 views

Change 550 Mail to noreply has been suspended for Exim

List item Someone replied to a noreply email address and received the following response: Change 550 Mail to noreply@domain.tld has been suspended The footer of all outgoing emails from that ...
1
vote
1answer
26 views

Unroutable address when sending email with exim from vm1 to vm2

I am trying to send emails from virtual machine 1 to virtual machine 2 but I get the error Unroutable address and more specifically dnslookup_relay_to_domains router declined for user@lab1 Looking at ...
0
votes
0answers
20 views

(Debian) Running two mail- and web- servers at the same time in different docker containers

I´ve setup a Debian Webserver with two docker containers: - a laradock container (laradock.io - Documentation availible at laradock.io). - a mailcow container (mailcow.email - Documentation ...
1
vote
2answers
27 views

How config Exim4 to accept only authenticated sender

How can I setup Exim to accept only authenticated email from managed domain address? I'm receiving spoofed email.. from myself.
0
votes
0answers
19 views

Some changes in /etc/valiases/<domain> files does not apply (setting up mail forwarders in exim)

I've manually tried adding and removing some entries in /etc/valiases/<domain> files in the system as root to configure mail forwarding but unfortunately, some forwarding which I manually ...
0
votes
1answer
39 views

exim filter regex discard rule

We are trying to discard all emails with a matching subject, example of subject: Subject: DOMAIN.COM Alert: NAME We have NOT received your payment We are trying to match any domain, Alert, and "We ...
0
votes
1answer
23 views

Need more information about exim4 log

Sometimes when I try to send a mail, I can see in exim4 mainlog,a line like this : address_mail R=dnslookup_users T=remote_smtp defer (98): Address already and the mail is put in exim queue, why ? I ...
0
votes
1answer
59 views

Exim4 with outlook and other domain error

Sometimes when I try to send a mail to microsoft domain address I can see in exim4 mainlog lines like this : eur.olc.protection.outlook.com address already in use After hours or days in the exim4 ...
0
votes
0answers
29 views

Echoing from /etc/init.d script on Debian

Problem: /etc/init.d scripts like exim4 do not echo to console until the script finished execution. (I had to modify the script, because there is no systemctl's service file for Exim 4 on Debian 9....
0
votes
0answers
29 views

Exim filter - Matching FROM and TO

I have been receiving a lot of mailer-daemon spam lately ... It's obvious the spammer is spoofing the to & from fields so that mailer-daemon kicks in and delivers the actual message to me. I ...
0
votes
0answers
12 views

Preventing Exim 4 from sending mail queue reports for not very old messages

On Debian I regularly get annoying email reports like this: Subject: Exim mail queue on example.com 0m 55K 1gXPtz-0005jp-AA <user@example.om> auser@elsewhere.com Now, I ...
0
votes
0answers
11 views

exim4 maildir - make message read

I'm trying to setup exim4 to handle spam-suspected messages moving them to the Junk user folder. So, I made a router: spam_junk: debug_print = "R: local_user spam/junk moving to junk for $...
0
votes
0answers
19 views

exim4 - replace recipient domain name, virtual domains

I'm tying to setup exim4 as MTA for multidomain host. All users and domains are virtual, stored in the database like that: create table emails ( domain varchar(200), username varchar(200), password ...
0
votes
0answers
13 views

How to setup a email sink that authenticated users could forward to, to mark senders as trusted whitelist?

When an incoming email is marked as spam by SA, but the user wants this sender to be marked as trusted, and or whitelisted, how could I setup an email account that the user could forward the email to, ...
1
vote
0answers
35 views

Restricting outgoing mail to some domains in Exim (with Debian-specific configuration method)

I have some Debian-based VMs that are supposed to hand over mail to a central host (smarthost/satellite). This is only meant for locally-generated mail received over localhost or sendmail command, ...
0
votes
1answer
56 views

Exim filter TLD block is blocking more than just the TLD

Need to discard emails to and from ending in a specific TLD but having an issue, example of a filter: if first_delivery and ("$h_to:, $h_cc:" contains ".win$") or ("$h_from:" contains ".win$") then ...
1
vote
1answer
139 views

Exim4 : “Connection timed out” whatever the forwarding smtp server

Exim is configured on a newly provisioned VM from a public cloud provider with public IPs (scaleway.net) Purpose: Be able to send mails from CLI (or scripts) to public destination recipients (gmail,...
2
votes
1answer
93 views

How to get Exim to accept mail for subdomains?

I'm trying to use subdomains with Exim, but If I send a test message to any address other fqdn than my basic domain name it gets bounced with a relay error. I can send and login to both Dovecot and ...
0
votes
1answer
76 views

How do I fix messages frozen by exim due to a typo in recipient?

I have a couple of frozen messages in my exim queue which have a misspelled recipient, e.g. reciepint@domain.tld instead of recipient@domain.tld. Apparently they could be fixed by correcting the ...
0
votes
1answer
32 views

Exim routing to Cyrus LMTP failing

I'm having problems with getting Exim talking to Cyrus lmtp. I know that lmtp is receiving. It's listening on port 2003. I used the following perl script to test it. !/usr/bin/perl -w use Net::...
0
votes
1answer
187 views

EXIM: Auth not advertised when using EHLO

I've moved my mail server from one VM over to another. Everything has been configured as it was previously, and from the perspective of IMAP, there are no issues. Currently however, I'm having an ...
-2
votes
1answer
48 views

Whitelist Server in SpamAssassin

Iss possible add a server with various subdomains in SpamAssassin Whitelist, like *.example.com? This is the host instance with subdomains: email@example-2.com.br hm1480-p-60.example.com [IP-ADDRES-...
0
votes
1answer
54 views

Connection lost when receiving emails with Exim4

A few days ago I have had errors to receive emails in Exim4 from a specific host. Errors like this appear in my log: SMTP connection lost after final dot H=example.com [IP-ADDRESS] P=esmtp SMTP ...
0
votes
0answers
34 views

Invalid newlines in headers break Exim filters

Environment: cPanel/WHM using Exim 4.91. I noticed that our "Global Email Filters" (cPanel parlance) weren't working correctly on emails sent by certain ISPs. To make a long story short, I ...
0
votes
1answer
278 views

EXIM SMTP allows to send mails without login / authentication via telnet to any domain

I'm ashamed, but I have to ask for help. My server is being used for sending spam, I've found out I can simply connect with telnet (edit: from any server in office, home and even directly from CMD/...
0
votes
1answer
44 views

Exim outbound mail - whitelist domains

I am using Exim version 4.91. How do I configure it to block outbound emails except for few domains? Basically, the mail server should only send emails to users on example.com, example.net & ...
1
vote
0answers
59 views

Forwarder doesn't work with smarthost

I set smarthost on exim configuration on the server However, forwarders stopped working for a reason. I got this message when I check it on email reports The system failed to locate the message ...
0
votes
1answer
178 views

Do I have to, and how do I setup bounce emails HELO command?

Our server has been listed several times on CBL (see this question) because it "attempted to send email without using the HELO/EHLO command". Grep'ing on HELO on Exim's logs, I found such suspicious (...
0
votes
1answer
55 views

Exim: Relay unknown recipients to another server

Question Can I force Exim to relay mails with unknown recipient to another host? Scenario I want to stage the Exim to Exchange migration in a way that would allow me to move individual accounts ...
1
vote
1answer
73 views

how to configure exim for autoreplying single email account

I am facing issue with exim configuration for setting auto-reply for single user email account. Currently, my exim configuration for autoreply is as follows and it causes autoreply emails to be sent ...
1
vote
1answer
64 views

How to set variable in router to be picked up in SMTP transport

In exim4, I have a redirect router which changes some headers, including the From: header. My SMTP transport will DKIM-sign mail if the dkim_domain, dkim_selector, and dkim_private_key parameters are ...
0
votes
1answer
93 views

How to delete messages from an exim mailbox older than a specified number of days [closed]

I've spent quite some time trying to figure out how to do this but it seems I'm a bit at a loss. There must be a way to do this on the command line?
0
votes
0answers
140 views

DKIM Errors with gmail - dkim=neutral (no key) and other issues

I'm trying to upgrade my PHP DKIM from Sha1 to Sha256 and getting errors. I tried many things (as follows), basically gmail fails to authenticate my signature with all sorts of errors (as follows). My ...
0
votes
0answers
155 views

Forwarding root emails: /etc/aliases file is being ignored

I set up an Ubuntu 16.04 droplet to host my client's website (let's call it clientwebsite.com). I also helped him set up G Suite email hosting for his new business email (let's call it client@...
0
votes
1answer
302 views

sendmail, exim, or php mail settings to avoid “Sender address rejected: Domain not found” on vps

I have A VPS with multiple domains setup. Some of the domains have PHP sites that send email. It turns out that some email servers are rejecting those emails with error: "Sender address rejected: ...
0
votes
1answer
77 views

Dovecot – Can send, not receive mail (visable in mail queue) Where is email?

Mail queue administration say’s: Received from myemail@adres.com H=mail-wm0-f44.google.com [74.125.82.44] P=esmtps X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no S=3663 DKIM=gmail.com id=...
0
votes
1answer
202 views

exim4 sending mail to root alias as bcc instead of to address?

I'm trying to configure exim4 to send all e-mail to my Gmail account (including e-mails to root). It's almost working, but my Gmail address is in the BCC field of the TO field. Here is a command I ...
2
votes
1answer
64 views

Reject Exim authentication attempts based on username

Is it possible to set up Exim so that, based on the username passed along to it, it can reject an authentication attempt before it will try to do a password lookup for that username? I've done similar ...
0
votes
0answers
30 views

exim filter ignore dots

I have exim filter but ignores dot in from section I wish exim to be able to catch only domain ends with .online e.g jessica@seomyonline.online however it catches also this email which I don't ...
0
votes
0answers
384 views

Exim sending email (-53) retry time not reached for any host [duplicate]

I have problem with some domain in WHM for sending email, only a few special domain names can not send email to any host(Gmail,Yahoo,...) (it is possible to receive) But other domains are correct ...
0
votes
2answers
964 views

Exim Smarthost Multiple domains and credentials Mailgun

I have a GCP instance running with whm/cpanel and mailgun setup using exim for multiple accounts using multiple domains. The current setup works for all domains however it only validates for the ...
0
votes
2answers
51 views

Exim (or postfix) different smarthost / authentication based on originating ip address

Is it possible use with Exim (or postfix) use different smarthost / user authentication based on originating ip address?
1
vote
1answer
48 views

How to setup SPF and DMARC for satellite hosts?

If I send mail directly from relay host - everything works like a charm. All checks are passed. Delivered-To: 102@host.me Received: by 10.100.182.171 with SMTP id t40csp2626933pjb; Thu, 26 ...
1
vote
1answer
88 views

How do I get Prayer Webmail running on HTTPS?

I can't seem to get Prayer Webmail to run an https port. I'm running Exim4+Dovecot on Ubuntu 16.04.2. It works fine on the unsecure http port-- except that it's unsecure (I'm using port 8888 for ...
0
votes
1answer
121 views

Exim, debug, vs tail mainlog, is there a difference?

Is there a difference between running exim -bdf vs tail -f mainlog ? I am trying to see what exim is doing, so I wanted to try exim -bdf in a terminal as root the first time i tried this, i ...
1
vote
0answers
28 views

Exim: send select outgoing mails through different server [duplicate]

I regularly send out mails using different addresses from different domains. Let's take mail@example.com and new@spf.com as an example. To keep things easy and centralized (as in: configuration is on ...
0
votes
1answer
151 views

How to pevent unwanted SMTP connections EXIM

I have a VPS configured to use PHP to send out periodical alerts via email (sendmail) where I connect via SMTP to a google apps email account. The server is using EXIM as the transfer agent. In the ...
0
votes
0answers
70 views

Changing SpamAssassin's URIBL rule not to block email on query refued

I got an email rejected in Exim + SpamAssassin because of query refused by lookup.uribl.com. Message: Blacklisted URL in message. (example.com) in. See http://lookup.uribl.com. This, however, was an ...