And why is this happening, they are going to restrict my service again, in the morning they had me without service
First, you should identify what are those mails, if they are spam maybe some of your sites have been hacked, maybe someone is using a valid user because of a weak password, etc.
Is there any way to identify that?
Viewing the mails in queue you can see the headers and body and you will see if they are sent to random users on other domains.
Use exim -bp
to show message-ids:
Use exim -Mvh <message-id>
to view the headers.
Use exim -Mvb <message-id>
to view the body.
Use exim -Mvl <message-id>
to view the log.
Checking exim /var/log/exim4/mainlog
and dovecot /var/log/dovecot.log
logs could help to identify it too.
Also, if you think you have been hacked or are sending mails without control, stop Exim’s service.
apart from [email protected] with exim -bp others appear like this:
7h 4.6K 1tKhVp-004NZ3-0C [email protected]
[email protected]
7h 4.6K 1tKhVp-004NZ4-2a [email protected]
[email protected]
7h 4.6K 1tKhWr-004NaU-2t [email protected]
[email protected]
7h 4.6K 1tKhY4-004Ncz-1z [email protected]
[email protected]
7h 4.6K 1tKhZ2-004Nga-0B [email protected]
[email protected]
Check the mails (headers and body) sent using sandra1
user and if they are spam, change sandra1’s password immediately.
exim -Mvh [email protected]?
And if I suspend the service, will the delivery stop?
You must use the message id, example:
exim4 -Mvh 1tKhVp-004NZ3-0C
exim -Mvh [email protected]
exim: malformed message id [email protected] after -Mvh option
root@servpc:~# exim4 -Mvh 1tKhVp-004NZ3-0C
1tKhVp-004NZ3-0C-H
Debian-exim 109 116
[email protected]
1733765137 0
-received_time_usec .062872
-received_time_complete 1733765137.413436
–helo_name mtqj
-host_address [102.130.232.20]:37768
-host_auth dovecot_login
-host_auth_pubname LOGIN
-interface_address [45.79.196.36]:465
-active_hostname 45-79-196-36.ip.linodeusercontent.com
-received_protocol esmtpsa
-aclc _msg_limit 3
200
-body_linecount 204
-max_received_linelength 82
–auth_id [email protected]
-host_lookup_failed
-spam_bar –
-spam_score -2.9
-spam_score_int -28
-tls_cipher TLS1.2:ECDHE_SECP256R1__RSA_SHA512__AES_128_GCM:128
-tls_ourcert -----BEGIN CERTIFICATE-----\nMIIGAjCCBOqgAwIBAgISBFdDWfkEpt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received: from [102.130.232.20] (helo=mtqj)
by servpc.cl with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.96)
(envelope-from [email protected])
id 1tKhVp-004NZ3-0C
for [email protected];
Mon, 09 Dec 2024 14:25:37 -0300
062I Message-ID: [email protected]
048F From: Your Generics Outlet [email protected]
023T To: [email protected]
041 Subject: Limited-time ED pill discounts.
037 Date: Mon, 9 Dec 2024 09:25:55 -0800
018 MIME-Version: 1.0
083 Content-Type: multipart/alternative; boundary=“03a9fee13cf8d66d4ee45cf702e0a1f7b5”
root@servpc:~#
That’s spam, change sandra1 password and remove all the mails from queue:
exim -bp | grep [email protected] | awk '{print $3}' | xargs -I {} exim -Mrm {}
Done, delete the queue and change the password for the mail sandra1
Y además sería conveniente suspenderle el servicio?
Now, keep checking the queue
I checked [email protected] and [email protected] and the queue is empty
It seems that the shipment has been stopped, Thank you again for your cooperation and goodwill, for those of us who know less. Thank you very much