Exim sends email to root email

hi

I have an error in exim4. It sends many emails to

root@MYHOSTNAME

The account email (root) doesn’t exist…

Content-type: text/plain; charset=us-ascii

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  root@HOSTNAME
    host hostname[127.0.1.1]
    SMTP error from remote mail server after RCPT TO:<root@HOSTNAME>:
    550 Email account  is sending too many emails - rate overlimit = 200.4 / 1h

How can I fix it ?

The error is not that the address doesn’t exist. If you read the error you can see that it is a 550 error rate overlimit.

Click here to find your answer:

but i have only 1 address email…and it works normally. I don’t sending emails from my address. I only receive 8-9 emails for week.

Maybe you have been compromised.

I don’t think it is compromised.

in /var/spool/exim4/input I receive always 2 messages. The main is that in the 1 topic

Here is the second messages:


155P Received: from Debian-exim by MYHOSTNAME with local (Exim 4.90_1)
id 1m9XYG-0002Hh-1
for root@MYHOISTNAME Fri, 30 Jul 2021 20:48:08 +0200
044 X-Failed-Recipients: root@MYHOSTNAME
029 Auto-Submitted: auto-replied
061F From: Mail Delivery System <Mailer-Daemon@MYHOSTNAME>
027T To: root@MYHOSTNAME
099 Content-Type: multipart/report; report-type=delivery-status; boundary=1627670888-eximdsn-456172337
018 MIME-Version: 1.0
059 Subject: Mail delivery failed: returning message to sender
050I Message-Id: <E1m9XYG-0002Hh-1y@MYHOSTNAME>
038 Date: Fri, 30 Jul 2021 20:48:08 +0200

I have the same error. Do you have any fix for it?

Hello @mclemen,

You shouldn’t reply to a post closed since 2 years ago, it is better to open a new topic and explain in detail what is your problem.

Anyways, if you want to receive mails sent to local root you should have at least two options:

Option 1

Use script configure-server-smtp.sh

The script will ask for the following data:

Enter SMTP Host:
Enter SMTP Port:
Enter SMTP Security:
Enter SMTP Username:
Enter SMTP Password (stored as plaintext):
Enter Email Address:

Regarding SMTP Security, I saw that you could use ssl, tls… but as far as I know, the doc says:

1.- Leave it blank if you don’t want to use implicit TLS or STARTTLS. Usually used with port 25.
2.- Use PHPMailer::ENCRYPTION_SMTPS if you want to use implicit TLS, usually used with port 465.
3.- Use PHPMailer::ENCRYPTION_STARTTLS if you want to use STARTTLS, usually used with port 587.

Option 2

This is the option I use.

Add your server name (in the example it will be hestiacp.example.com) as a new mail domain and once done create a new mail account [email protected] and all the mails to root will be left in that account. You could also create an account like [email protected] and add root as alias. In any of these cases, you could always forward mails to another mail address.

I hope this helps.

Good luck,
sahsanu