deltachat-core-rust
deltachat-core-rust copied to clipboard
SpamAssassin blocks Delta.chat messages
- Operating System (Linux/Mac/Windows/iOS/Android): na
- Delta Chat Version: na
- Expected behavior:
- Actual behavior:SpamAssassin bloks Delta.chat messages
- Steps to reproduce the problem:
- Screenshots: atrached
- Logs:
This happened to me two weeks ago: Chat messages sent to me are marked by SpamAssassin / Pyzor as spam. The error report (see screen shot), shows the following problem: SpamAssassin's EMPTY-MESSAGE should not fire for encypted messages (they were not empty, only encrypted)
Whitelisting the senders in my providers settings solves things to me personally, but not entirely satisfactory.
See also: https://idf.social/@djoerd/109472725259283525
tried to find out how precisely "EMPTY_MESSAGE" is determined but didn't find anything in https://github.com/apache/spamassassin/search?q=empty_message ... one occurence there has a comment:
## Note, encrypted pgp/mime data will trigger EMPTY_MESSAGE
And in fact Delta Chat is using standard PGP/MIME structures as recommended also by https://autocrypt.org So this seems like something to be fixed on spamassassin's side.
I think the EMPTY_MESSAGE
rule is defined here:
https://github.com/apache/spamassassin/blob/20c6a5a78e31877b3d4fa379d6a011d6112aabb9/rules/20_meta_tests.cf#L65
There is a related issue https://github.com/deltachat/deltachat-core-rust/issues/2236
Should we close this as it really looks like a SpamAssassin problem? Issue #2236 mentioned by @link2xt is about SpamAssassin triggering on messages sent by Deltachat and not like this on the receiving end. The fact that messages with pgp/mime are treated as empty_message is unlucky, but it only makes sense for SpamAssassin to senders with too many empty messages. I guess an issue on https://github.com/apache/spamassassin is more appropriate than here.
The issue should be reported to https://bz.apache.org/SpamAssassin/ instead.