Is not just one email address, I’m talking about all mails sent from my local delivery agent (MDaemon) to my relay mail server (NS 7.6 mail server).
Looking at those Rspamd Symbol Description:
HFILTER_HELO_IP_A means that [ Helo A IP != hostname IP ] HFILTER_HELO_NORES_A_OR_MX means that [ Helo no resolve to A or MX ] MID_RHS_NOT_FQDN means that [ Message-ID RHS is not a fully-qualified domain name ]
You can add in that page also the hostname of the sender server and all email from that server will be accepted.
I suggest you to left Deny message spam threshold to 20 and Spam threshold to 6 (default values).
In this mode I think you can solve your problem.
Is there a way to fix this? Since my MDaemon has a local IP, can I some how add a correct HELO (EHLO) and an MX record into dnsmasq on my NS mail ? Wouldn’t that fix the problem ?
This allow to the server 192.168.100.4 to send email without authentication.
Try to insert mail.myserver.local into “Rules by mail address”. Any email from this server will be in whitelist and you have to see something like this in Rspamd:
Symbols FROM_WHITELIST (0) [noreply@domain.it]
Remember to click save near the value insert into Allow From and then Submit button. Update the page and see if modify are applied.
Check also that NS it’s resolving correctly server name: if not add a DNS record in DNS page.
To check this, use “nslookup” command from SSH nslookup mail.myserver.local
If all it’s working properly I think it will be return 192.168.100.4.
Then try to send an email and see if it result in whitelist: if not, try to insert an email address in whitelist and send from it. Then check if it works.
If nothing it’s working try to insert also in this page Allow From “IP address of your server”
Also BAYES_SPAM (2.965427) [93.45%] is due to my own fault, I just send a mail with an attachment, completely forgot to write something on mail’s body.
However, as you can see HFILTER_HELO_NORES_A_OR_MX is in there because NS server has no A nor MX record of my MDaemon
Ok. Remove test did into Email->Filter page.
I think you don’t have to create a template, because it’s not a file overwritten by NethServer config.
The only thing you have to remember is that
Entries in this file override toe global DNS
Example blocking email going out to example.com
local-data: "example.com. 3600 IN MX 5 127.0.0.1"
local-data: "example.com. 3600 IN A 127.0.0.1"
This file it’s not automatically included in backup config. You can backup manually one time this file or configure an “inclusion” in backup-data.
Mark your answer as solution to close this topic.
Good job.
Regards.
@jfernandez I require you to do a test. Can you put into whitelist of Email page the domain of the email addresses? (Only what there is after @).
Obviously comment your personalization in /etc/unbound/local.d/myMDaemon.conf and restart unbound service.
I think that it can works with this settings and it go into backup-config.
I’m dealing with a wave of spam and messages with virus right now (rejected messages have doubled ). As soon as this wave ends, I promise to do it, sorry for not been more cooperative.