Rspamd - MX_INVALID

NethServer Version: NethServer 7.9.2009
Module: RSpamD Version: 3.0

I’m stumbling over rspamd specifically about the question why/how the MX_INVALID (0.5) [] is determined by the system.

Feel free to test the domain ivbonline.de and leitz-schilder.de to see/check, if the mx is proper configured. Do I overlook something?

The config for rspamd shows

cat mx_check.conf
This file will be overwritten by the next rpm update
use /etc/rspamd/override.d/file.conf’ - to override the defaults

Set this to enable the module
enabled = true;

connection timeout in seconds
timeout = 1.0;

symbol yielded if no MX is connectable
symbol_bad_mx = “MX_INVALID”;

symbol yielded if no MX is found
symbol_no_mx = “MX_MISSING”;

symbol yielded if MX is connectable
symbol_good_mx = “MX_GOOD”;

lifetime of redis cache - 1 day by default
expire = 86400;

lifetime of redis cache for no valid mxes - 2 hours by default
expire_novalid = 7200;

greylist first message with invalid MX (require greylist plugin)
greylist_invalid = false;

prefix used for redis key
key_prefix = “rmx”;

It seems to me, the module is enabled.

From the cli of the server

dig @127.0.0.1 -p 10053 leitz-schilder.de

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.8 <<>> @127.0.0.1 -p 10053 leitz-schilder.de
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41614
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;leitz-schilder.de. IN A

;; ANSWER SECTION:
leitz-schilder.de. 95 IN A 130.180.19.2

;; Query time: 0 msec
;; SERVER: 127.0.0.1#10053(127.0.0.1)
;; WHEN: Sat Jan 29 02:28:25 CET 2022
;; MSG SIZE rcvd: 62

and

dig @127.0.0.1 -p 10053 mail.leitz-schilder.de

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.8 <<>> @127.0.0.1 -p 10053 mail.leitz-schilder.de
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5383
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mail.leitz-schilder.de. IN A

;; ANSWER SECTION:
mail.leitz-schilder.de. 52 IN A 130.180.19.2

;; Query time: 0 msec
;; SERVER: 127.0.0.1#10053(127.0.0.1)
;; WHEN: Sat Jan 29 02:29:08 CET 2022
;; MSG SIZE rcvd: 67

At this point, I’ve no idea where to investigate. Anybody jumping on?

Thanks for any help.
stefan

Don’t know why, it seems to work now. Maybe a temporary DNS issue…?

Sorry for the whistle.