Newest exim Questions

Q&A for system and network administrators

How to execute an external script via “pipe” command from an Exim system filter?

I want to execute an external script (or at this point, any external executable at all to begin with) via the "pipe" command from an Exim system filter in a Linux environment, but it just won't work. ...

Exim won't sign mail send by PHP through SMTP

I've been struggling to get Exim to sign my mails i'm sending with Zend2 Mailer class. The class has the option to send through SMTP; this is awesome since i have everything configured at MTA level. ...

Exim4 - Ignore autoreply if email is from specific address

Is there a way to tell Exim4 to NOT send an automated reply if email came from specific email address ? So if we have email 'something@mydomain.com' and my email is 'myemail@mydomain.com' and i have ...

Exim4 error while processing rewrite rule

I am running exim4 on Ubuntu 14.04. I have got one relayhost to send all my emails, stage and live. Now I want to send all emails comming in from the stage server to a specific emailaddress. I ...

How to log condition in the exim?

I want to see value of condition in exim, for example "authenticated". I can use authenticated = *, but I don't know what really contains "authenticated". If I add section warn with parameter ...

How do I configure an exim4 server to have different retry times for any local domain

My server handles a number of local domains, which (for reasons of compatibility with legacy software) are stored in a mysql database. Messages are delivered via an external "pipe" driver into ...

Exim4 - Switch from monolithic to split config

While making some changes in exim4, I decided to use the monolithic config style. So as not to confuse myself, I deleted /etc/exim4/conf.d/. I now regret this and wish to switch back to the split ...

Exim Can Send Email but Not Receive

After reinstalling exim on CentOS 7 I can send emails, but I do not receive them, (not even replies to emails I've sent). The client sending me an email does not get any error bounce-back - from ...

Exim4 DKIM Configuration Does not Work on Debian Jessie

I am using exim4 4.84.2-2+deb8u1 on Debian Jessie. Below I have replaced some domain names with example.com. I have a split configuration with dc_use_split_config='true' in the /etc/exim4/update-...

Identify process that was running Exim from one email account

I have a server which is barely 4 months old and already a process is running to "spam" people. this is baffling as I have a secure password and have never given it to anyone. I am taking the ...

Exim4 not passing email to ClamAV

I am having trouble with Exim4 and ClamAV on Debian 8. I have a website that connects to ClamAV to scan uploaded files and that works fine, hence ClamAV seems to be working. I can also do: exim -...

Exim4 email forward not working

I have been trying to set up an email forward on my server, which uses Exim 4. I want to forward all emails sent to steve@mydomain.com to john@mydomain.com. From reading elsewhere and looking at a ...

TLS: Error while reading file

I'm setting up a new server with Debian 8. Exim4 is preinstalled and I'm trying to get TLS working. I have copied the snakeoil key and cert into the /etc/exim4 folder and set the correct permissions ...

Slow mail server in looking up host name [closed]

Hello my mail server is very slow to accept SMTP connections. I found a tutorial to make a stop in my Exim4 and run the command below to see where it takes. exim -bd -d -oX 587 Follow the exit, ...

Routing virtual users in Exim using Dovecot user_db

I am trying to set up a virtual user e-mail system with Exim and Dovecot. Currently, the relevant Exim router is local_users: driver = accept domains = +local_domains condition = ${lookup{$...

SMTP issue sending mail from a specific account

SMTP has been working perfectly for months, I have there 2 domains, first one has many accounts, and works without any use, the second domain has only 1 account, and till now it has been also working ...

exim variable for domain

So i've been reading a lot about exim, however there are some variables which are showing an empty string on my server and therefore they are not working with my rate limit conditions. For instance I ...

Exim4, can't send email on my own domain that is in another server

I use exim4 as a send only email on my servers, The FQDM I have on this servers is ws1.example.com (ws1,ws2,ws3...) and the email I use for receiving emails is a different smtp server with the email ...

Deny some local users (not addresses) to send email from exim4

I have a fresh exim4 install without any tweaks on a Debian 8.6 machine. I use it to send emails from PHP: ; /etc/php5/fpm/conf.d/mail.ini [mail function] sendmail_path = /usr/sbin/exim4 -t mail....

Exim doubling up domain name on SMTP-authenticated mail

I'm setting up an Exim 4.87 mailserver with virtual domains stored in a MySQL database. The machine has a hostname of athena.example.com (the example.com of course being fictuous). I want to be able ...

Email tagged as SPAM

I'm making a mail-list with Mailman on Ubuntu Server. The main domain of my server is DOMAIN1.FR, but my mail-list is ticsve@DOMAIN2.FR. I think I've made all things to do but my emails are tagged as ...

forward all mails from one machine to postfix mailserver

I am running some servers which generate some mails because of cron jobs or other problems. At the moment, one of them acts as my mailserver (postfix/dovecot) and accepts mails for "abc.com" and "def....

Exim listed in htop, but not installed - server sending spam

So, I have a Ubuntu 12.04 server on Amazon. It recently started sending spam emails. When I do htop to see the proceess list, I can see the exim process there, but it's NOT installed! We're using ...

Exim does not verify users

After adding the configuration bit: deny message = invalid recipient domains = +local_domains !verify = recipient/callout=no_cache from: http://wiki2.dovecot.org/LMTP/Exim ...

Unknown ACL condition/modifier in in EXIM configuration for Rspamd

I am trying to configure EXIM to use Rspamd as a spam filter. I am running Exim version 4.87 and installed Rpsam from the repositories using apt-get as explained here. Then I added the suggested ...

debian 8, exim4 mail servers configuration

Comrades, hello. First of all I configured a mail server, and there was a couple of questions. More precisely several mail servers. is it possible to create a custom configuration file, which would ...

Exim Keep a Copy of Sent Email

Anyone know a good way keep a copy of outgoing email that passes through an Exim mail/smtp server? I know incoming mail can be copied and piped to a script, but can outgoing mail also be piped to a ...

Alternative ways of sending full contents of incoming email to external script in Exim?

For some strange reason, using the pipe command does not work as expected for me in Exim, and neither Google nor ServerFault has been able to provide a solution for this problem so far. :-( I'm ...

Exim4 root email forwarding failure

Before anyone asks, yes, I've read the other 50 threads about this, but none have worked. (And my reputation is low enough that I can't seem to comment on existing threads, hence having to restart ...

router to redirect with queryprogram - exim4

We are configuring an Exim4 router with driver = queryprogram, with the idea to execute a script and redirect certain addresses based on the script's logic. The problem is that when debugging how ...

Setup spammassin and clamav with Exim on ubuntu 16.04

I've been searching for help in setting up Spammassassin and ClamAV with Exim (on ubuntu-16.04), but all the guides are horribly out of date. Could anyone share their setup please?

Deny exim4 to receive all emails

I have a fresh exim4 install without any tweaks on a Debian 8.6 machine. I use it to send emails from PHP: ; /etc/php5/fpm/conf.d/mail.ini [mail function] sendmail_path = /usr/sbin/exim4 -t mail....

how to write message to exim's paniclog

I've recently implemented a new reject ACL in my exim (4.84.2, as shipped with Debian/jessie) For the time being I would like to monitor the triggering of this ACL, and have thought about using exim'...

Exim Exclude certain mail from SPF checking

I’m trying to exclude certain incoming emails from SPF checking. eg. by having it check for a header line such as: X-MyCustomHeader: yes is this possible? It’s driving me nuts. I’ve tried things ...

Exim4 mailer daemon address

My exim4 mail server sends notification using the wrong extension, I mean: Mail Delivery System <Mailer-Daemon@mydomain.err> This server is a multi-domain server and mydomain.err is one of ...

exim4 - email clients unable to retrieve emails

I have configured exim4 on my Debian system and i am able to send emails from the server as a user and receive emails to this user. I am also able to connect mail client such as thunderbird/bluemail ...

unable to open private key file for readin error

when i run 'mail -vs "Test DKIM" test_acc@gmail.com < /dev/null' i'm getting this error: LOG: MAIN PANIC unable to open private key file for reading: /etc/exim/dkim.private.key #0 dkim.private....

Does DKIM require to send email via one specific server?

I'm just starting with DKIM. I enabled it to our DirectAdmin server. Now its enabled, does it require that each mail is send via our server to be signed correctly? So, our customer needs always set ...

Exim and PHPMailer: can't accept authentication when host is localhost

My issue: Using PHPMailer I can't send authenticated SMTP emails when using the localhost Host. I can't see why this is so. I realise the core root of the problem here is almost certainly a setting ...

Allow mail to be sent from any subdomain (PTR, SPF, Gmail)

I use a single smarthost as a hub to route all email from my network so that I can pass SPF checks on Gmail. However, although I always send through the same server, the From address can differ. For ...

how to configure delay between outgoing email in exim

I'd like to ask how to configure delays for outgoing email in the exim level. If my users generate multiple emails at the same time, i want the server to send one by one, with 10 seconds in between. ...

Exim4: Receive and forward email for multiple domains

I'm running a VPS to host my client's websites. They have very limited email needs (basically they just want an info@clientdomain.com address that forwards to their gmail account). I have tried to set ...

How to archive outgoing mail to user's home directory using Exim?

I would like to archive each user's outgoing mail (sent via Exim to a smarthost) to a location in that user's home directory (regardless of whether the MUA chooses to additionally save it). Mail can ...

exim4 forwarders are unrouteable for external mail but not internal

I have exim4 configured to forward email for certain addresses. The addresses are on virtual domains for which the server is the primary MX. Other addresses on these domains are delivered to local ...

exim send all mail to another server

Exim4 on CentOS, has lot of users with messages recieved from long ago. We have moved to another server(online service) and mx records were changed, and i need to collect all messages from old host. ...

How to get rid of “defer (-52): Retry time not yet reached” exim4 logs?

I have such a logs in mainlog of exim4. All I do with exim4 is learn only so all mails are fake. Now I try to manage theese logs that appear frequently: 2016-12-20 14:28:01 1cJ2UW-0006Yq-3m == root@...

Rejected relay attempt

I'm trying to get Canon C 3080 printer to use the scan to email function. It used to work before, but out mail provider went through a migration that went terribly. Looking in the WHM control panel I ...

How to forward by recipient in an exim relay?

I've set up an Exim relay and i need to forward emails coming in for a particular domain to be sent to another address, but i'm having no luck so far. I've set up a router like this: ...

Exim4 configuration bug for mysql authentication

I have this configuration for exim mysql authentication: mysql_all_domain_alias: driver = redirect domains = +local_domains local_parts = alle data = ${lookup mysql{ ...

Why exim reads certificate and key from the same file?

I configured SSL by adding these strings to 01_exim4-config_listmacrosdefs. I use split configuration MAIN_TLS_ENABLE = yes MAIN_TLS_CERTKEY = /etc/exim4/example.com.crt MAIN_TLS_PRIVATEKEY = /etc/...
Translating... 0%