deltachat-core-rust icon indicating copy to clipboard operation
deltachat-core-rust copied to clipboard

SpamAssassin blocks Delta.chat messages

Open djoerd opened this issue 2 years ago • 4 comments

  • 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

adcc06cd2acfbbf1

djoerd avatar Dec 26 '22 13:12 djoerd

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.

hpk42 avatar Dec 26 '22 14:12 hpk42

I think the EMPTY_MESSAGE rule is defined here: https://github.com/apache/spamassassin/blob/20c6a5a78e31877b3d4fa379d6a011d6112aabb9/rules/20_meta_tests.cf#L65

link2xt avatar Dec 26 '22 14:12 link2xt

There is a related issue https://github.com/deltachat/deltachat-core-rust/issues/2236

link2xt avatar Jul 25 '23 12:07 link2xt

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.

Septias avatar Oct 17 '23 12:10 Septias

The issue should be reported to https://bz.apache.org/SpamAssassin/ instead.

link2xt avatar Apr 25 '24 12:04 link2xt