Hi,
I'm trying to get a disclaimer text going for URLs that do not match sender e-mail domain.
I've added the header:
add_header all X-SA-URI-Domains _URIDOMAINS_
In my custom.cf. On a --lint action it detects it successfully.
However it looks like proxmox is just getting rid of all these headers, making the "Match-field" regexp unable to detect it and add disclaimer. How do I solve this?
None of my custom .pm scripts seem to work with your system.
Proxmox Mail Gateway 9 - CE
I'm so confused, or if someone has a better idea, or a working .pm script, that would be fine too.
Regards, Michael
I'm trying to get a disclaimer text going for URLs that do not match sender e-mail domain.
I've added the header:
add_header all X-SA-URI-Domains _URIDOMAINS_
In my custom.cf. On a --lint action it detects it successfully.
Code:
X-Spam-Checker-Version: SpamAssassin 4.0.2 (2025-08-27) on
****
X-Spam-Level: **
X-Spam-Status: No, score=2.3 required=5.0 tests=KAM_DMARC_STATUS,
KAM_INFOUSMEBIZ,KAM_SHORT,MISSING_DATE,MISSING_MID,NO_RECEIVED,
NO_RELAYS autolearn=disabled version=4.0.2
X-Spam-X-SA-URI-Domains: evil.me
From: Test <test@****.nl>
To: you@example.com
Subject: test
Klik hier:
https://evil.me/test/
asdasd
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Klik hier: https://evil.me/test/ asdasd
Content analysis details: (2.3 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 NO_RECEIVED Informational: message has no Received headers
0.1 MISSING_MID Missing Message-Id: header
1.4 MISSING_DATE Missing Date: header
0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict
Alignment
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
0.0 KAM_SHORT Use of a URL Shortener for very short URL
0.8 KAM_INFOUSMEBIZ Prevalent use of
.info|.us|.me|.me.uk|.biz|xyz|id|rocks|life
domains in spam/malware
However it looks like proxmox is just getting rid of all these headers, making the "Match-field" regexp unable to detect it and add disclaimer. How do I solve this?
None of my custom .pm scripts seem to work with your system.
Proxmox Mail Gateway 9 - CE
I'm so confused, or if someone has a better idea, or a working .pm script, that would be fine too.
Regards, Michael