Mat.78
(Matteo)
August 2, 2024, 8:05am
1
NethServer Version: 7.9.2009
Module: Email
Hello to everybody,
yesterday I change my public IP address (i changed provider) and since then all email is received in the spam folder.
I looked in the settings to see if there was anything to change but I couldn’t find anything.
Is there something that I should do to fix the problem?
Thanks in advance
Matteo
Hello,
Have you (your provider) set the reverse DNS record for the IP address?
1 Like
…or are these incoming our outgoing emails?
1 Like
Mat.78
(Matteo)
August 5, 2024, 3:59pm
4
This is incoming mail, I set up the reverse DNS this morning but nothing has changed and external emails continue to be directed to the junk mail folder.
Is there anything else that I can try?
davidep
(Davide Principi)
August 5, 2024, 4:46pm
5
Please share the headers of a message ended in the Junk folder. Additional information can help us to help you!
For example one of mine has the X-Spamd-Result
header, with spam score details:
X-Spamd-Result details
X-Spamd-Result: default: False [7.75 / 15.00];
BAYES_SPAM(3.56)[95.61%];
FORGED_RECIPIENTS(2.00)[m:r.piazza@milass.it,s:davide.principi@example.org];
HTML_SHORT_LINK_IMG_1(2.00)[];
ONCE_RECEIVED(0.10)[];
RCVD_NO_TLS_LAST(0.10)[];
MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain];
BAD_REP_POLICIES(0.10)[];
MX_GOOD(-0.01)[];
ASN(0.00)[asn:209641, ipnet:185.58.207.0/24, country:GB];
RCVD_COUNT_ONE(0.00)[1];
MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~,5:+];
RCPT_COUNT_ONE(0.00)[1];
ARC_NA(0.00)[];
MISSING_XM_UA(0.00)[];
RCVD_VIA_SMTP_AUTH(0.00)[];
DMARC_POLICY_ALLOW(0.00)[willsmart.capetown,reject];
MID_RHS_MATCH_FROM(0.00)[];
FROM_EQ_ENVFROM(0.00)[];
FROM_HAS_DN(0.00)[];
R_SPF_ALLOW(0.00)[+mx:c];
TO_DN_NONE(0.00)[];
R_DKIM_NA(0.00)[];
NEURAL_SPAM(0.00)[0.859];
HAS_REPLYTO(0.00)[uhdivzx@willsmart.capetown];
REPLYTO_EQ_FROM(0.00)[]
Mat.78
(Matteo)
August 5, 2024, 5:19pm
6
Here is my X-Spamd-Results:
X-Spamd-Results
X-Spamd-Result: default: False [6.31 / 20.00];
MX_MISSING(3.50)[];
HFILTER_FROMHOST_NORES_A_OR_MX(1.50)[dominio.it];
HFILTER_HELO_IP_A(1.00)[smtp.xxxxxxx.it];
GENERIC_REPUTATION(-0.55)[-0.54908330133451];
IP_REPUTATION_HAM(-0.54)[ip: XXX.XXX.XXX.XXX(-0.54)];
MID_RHS_NOT_FQDN(0.50)[]; MX_INVALID(0.50)[];
HFILTER_HELO_NORES_A_OR_MX(0.30)[smtp.xxxxxxx.it];
MIME_HTML_ONLY(0.20)[]; MIME_GOOD(-0.10)[multipart/mixed];
ASN_FAIL(0.00)[155.106.19.212.asn.rspamd.com:server fail];
TO_MATCH_ENVRCPT_ALL(0.00)[ x ];
FROM_EQ_ENVFROM(0.00)[ ];
MIME_TRACE(0.00)[0:+,1:~,2:~];
R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2];
NEURAL_HAM(-0.00)[-0.974];
FROM_NO_DN(0.00)[];
RCVD_TLS_LAST(0.00)[];
R_SPF_DNSFAIL(0.00)[temporary DNS error];
DMARC_DNSFAIL(0.00)[dominio.it : server fail];
HAS_ATTACHMENT(0.00)[];
RCPT_COUNT_ONE(0.00)[1];
PREVIOUSLY_DELIVERED(0.00)[matteo@miodominio.it];
TO_DN_NONE(0.00)[]
X-Rspamd-Queue-Id: 1C8C71E6661
X-Spam: Yes
X-Mailer: AS2Mail
Return-Path: <fatturazione@dominio.it>
X-Spam-Flag: Yes
X-Rspamd-Server: server.dominio.it
mrmarkuz
(Markus Neuberger)
August 6, 2024, 6:04pm
7
Hi @Mat.78 ,
Mat.78:
MX_MISSING(3.50)
Please check if DNS is working properly.
Let’s try to get an MX record:
[root@server2 ~]# dig +short MX google.com
10 smtp.google.com.
Check out this wiki page about general requirements for running mail servers.
1 Like
Mat.78
(Matteo)
September 3, 2024, 7:57am
8
Hi MrMarkuz,
I was on holiday and I came back yesterday.
I’ve tried your solution but it doesn’t work (MX record was set correctly):
% dig +short MX domain.it
70 mail.domain.it.
70 server.domain.it.
On the wiki page you pointed me to I see this instructions:
set MX record YourDnsProvider
What is YourDNSProvider?
I check my server with https://www.mail-tester.com/ and it’s perfect (10/10)
I check my reverse DNS and it’s correct
What else can I do?
mrmarkuz
(Markus Neuberger)
September 6, 2024, 5:05pm
9
Why are there 2 entries? Do you use 2 mail servers?
Usually you use a DNS provider where you can setup DNS entries.