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.

0
votes
1answer
26 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 ...
1
vote
1answer
20 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 ...
1
vote
2answers
78 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 ...
0
votes
2answers
171 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 ...
1
vote
2answers
49 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 <= XXX@XXX.com U=XXXXX P=local S=14529 id=20190202160300.45640494.XXXXXX@XXXXX.com T="XXXXXXXXX" for XXXXX@gmail.com 2019-02-...
1
vote
1answer
153 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 john@rpi.mydomain.com to test ...
0
votes
1answer
54 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 ...
2
votes
0answers
76 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" ...
0
votes
3answers
994 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 ...
1
vote
1answer
1k 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: ...
1
vote
1answer
108 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, ...
1
vote
1answer
83 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... ...
2
votes
2answers
545 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 ...
0
votes
1answer
219 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]...
2
votes
2answers
2k 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 ...
0
votes
1answer
83 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 ...
1
vote
1answer
379 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 ...
1
vote
1answer
239 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 ...
1
vote
1answer
2k 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 ...
2
votes
2answers
3k views

Redirect all incoming email to a Python script

I'd like to redirect all incoming email to *@example.com (from internet) to a Python script running on my server, who will do various jobs. I've already done a DNS MX record for example.com, ...
1
vote
0answers
34 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 ...
0
votes
1answer
286 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 ...
1
vote
2answers
2k 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 ...
1
vote
0answers
66 views

How to process each interface differently on a mail server

I am running number of web servers on google cloud platform. Google cloud bans port 25 to prevent spam, so to receive mails I use different server which forwards all mail to a google server on a ...
0
votes
0answers
221 views

Exim: Stop bounced messages being sent back to sender?

We have a server that sends out emails to a list of clients. Sometimes those emails are not delivered and thus we get a bounced message that is sent back to the sender. We don't want the server to ...
0
votes
1answer
169 views

Exim: Is this email being frozen or sent?

2017-07-27 11:20:25 1dZoIA-0003hY-Oi == email@target-domain.com R=dnslookup defer (-1): host lookup did not complete 2017-07-27 11:20:25 1dafu5-0001k3-LG <= <> R=1dZoIA-0003hY-Oi U=Debian-...
2
votes
0answers
228 views

Postfix stop continuously

I just successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When install Postfix I have to remove currently installed exim4. ...
1
vote
1answer
1k views

How to safely remove Exim4 on CentOS? [closed]

I am trying to install Postfix and remove the Exim4. How should I safely do it?
2
votes
0answers
81 views

Email sending from server outside of network

I am building out a web solution for a client with an option to send emails of the sites content to others. The site is hosted on our system, as well as an SMTP server just for this feature. However,...
3
votes
3answers
932 views

spamassassin does not honour local.cf

I updated my /etc/spamassassin/local.cf spamassassin file to update some score rules. However, even after restarting spamassassin (via service), the new score are not shown in spam emails. In fact, ...
0
votes
1answer
64 views

Disable double at(@) sign in exim

How do I disable double at sign in message-ID? because of the double at, my e-mails are entering recipients spam folder: 001d01d2d093$7154f9d0$53feed70$ @ USER @ domain.tld in the log, I see the ...
1
vote
3answers
408 views

Exim sending email via another server. Why?

Our webserver sends emails using Exim4 but the headers show that the email originates from another server. These lines below are in the email header. What could be in the Exim4.conf file that would ...
0
votes
1answer
169 views

How do I add system_filter on Debian Exim single file config?

I'm trying to add a system_filer on a single file configuration in Exim. The problems is that when running update-exim4.conf I'm getting option "system_filter" unknown. I have searched the file if ...
1
vote
1answer
596 views

How to use multiple Exim SMTP AUTH methods (dovecot and plaintext)

I would like to configure Exim to allow SMTP AUTH logins using the same credentials as for a Dovecot IMAP server on the same machine, but I would also like to allow additional sets of credentials so I ...
3
votes
1answer
291 views

Exim condition failure “${env is not a known operator”

I am trying to substitute a hard-coded path in my Exim configuration file with a value taken from an environment variable, however I am getting an error I do not understand. "${env" is not a known ...
2
votes
0answers
58 views

Defer based on recipient with exim

There are some recipient domains which have problematic delivery which is keeping the server tied up. Is there a way I can match certain recipient domains and defer/freeze messages to a given list of ...
2
votes
1answer
293 views

Exim: Error in system filter: malformed numerical string “”

When I send myself a mail with: echo "test" | mail -n -s "test" user@example.com I get the following error in /var/log/exim4/mainlog: Error in system filter: malformed numerical string "" How can ...
4
votes
0answers
1k views

SMTP Server Dovecot / Exim Authentication error

Recently, I've installed the centOS 6. The purpose of the installation to use this server as Mail server. Where I've installed Exim version 4.84_2 #1 and Dovecot. I've followed this blog post and I'...
0
votes
1answer
324 views

Difference between exim.conf and config.autogenerated

I executed dpkg-reconfigure exim4-config and it generated /var/lib/exim4/config.autogenerated. I believe that this is the master configuration. However on our older sever with an older version of Exim ...
0
votes
1answer
340 views

How to grep exim command output in terminal?

I expected this command to print some lines containing "routed by" string: root@localhost:~# exim -bt -d root@example.com | grep "routed by" But it listed full exim -bt -d root@example.com command ...
1
vote
0answers
213 views

Forwarding email based on incoming address

I'm running a CentOS5 (soon to be CentOS7) VPS so need the solution to be specific to one domain and not systemwide affecting email services for other domains. i.e. no tweaking of global services. I ...
1
vote
0answers
39 views

Mail security on a shared server

I have a shared server with multiple user on it. I'm trying to secure their E-mail connection with a wild card certificate. I added the key in /etc/exim.key and the certificate bundle in /etc/exim....
1
vote
0answers
75 views

Spam emails appears in exim queue but no email users for this domain

I have a VPS (example.ru) with multiple sites. To send mail I use an exim 4.76. All domains configured in bind9. Emails delivers by another server (pdd.yandex.ru) for several domains. For example: ...
2
votes
1answer
263 views

Exim retrieving attachments or forwarding email in queue

My mail server has gone down due to an attack and I am moving it to a secure cloud server. Is there a way to redirect any incoming mail for a user to a different address, such as mike@mike.co.uk will ...
0
votes
1answer
180 views

Exim dnslookup, priority and “blacklist” (not really blacklist)

I'm investigating how exim deliver mails, and I came to the conclusion that when the server is going to send a email exim makes a nslookup and get the higher priority (lower value) MX record and tries ...
1
vote
1answer
1k views

Change default gateway for specific program?

I have a machine hosted in datacenter with 3 network interfaces. Interface network ip address eth0 192.168.1.0/24 192.168.1.10 eth1 192.168.2.0/24 192.168.2.10 eth2 192....
0
votes
1answer
57 views

Can I host an email account in 2 or more servers?

I have been testing SMTP and its related DNS register, but I already tested it and what I have achieved is be able to send emails from the same email account (user@mydomain.com) from different servers,...
1
vote
1answer
340 views

What does ::1 stands for in Exim mainlog in rip and lip in log?

I have suspicious log line, where someone logged in client webmail, and there is no remote or local IP logged, there just stands ::1. What does that mean? Line is like here: H=(webmail.domain.com) [...
6
votes
2answers
298 views

The first email bounces; the second and subsequent emails go through

550 relay not permitted That's the error message when email sent by Exim4 from my Debian laptop bounces. What's weird is that only the first email bounces. Second and subsequent emails pass through ...
0
votes
1answer
33 views

EXIM on Cpanel - system user spam?

In the exim_mainlo, the following user is sending unsolicited emails: from email@domain.com U=user223 P=local S=1274 id=96ffd95a9fc530b5553270b6b3e6f107@domain.com T="spam subject was here" Is ...