Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpamAssassin rejects anonymized messages originally posted by Mozilla #1306

Closed
ikedas opened this issue Dec 22, 2021 · 1 comment · Fixed by #1307
Closed

SpamAssassin rejects anonymized messages originally posted by Mozilla #1306

ikedas opened this issue Dec 22, 2021 · 1 comment · Fixed by #1307
Labels

Comments

@ikedas
Copy link
Member

ikedas commented Dec 22, 2021

Version

Maybe any of 6.2.66 and earlier.

Installation method

Maybe any.

Expected behavior

Anonymized messages (by anonymous_sender parameter enabled) should not be rejected by content filters.

Actual behavior

SpamAssassin rejects the message with following status:

X-Spam-Status: No, score=0.313 required=6.31 tests=[AWL=0.643, BAYES_00=-1.9,
 FORGED_MUA_MOZILLA=2.309, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 
 HTML_IMAGE_RATIO_02=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, 
 NO_RELAYS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=no autolearn_force=no

The message is rejected mainly due to FORGED_MUA_MOZILLA rule. It means that, though the message seems posted with Mozilla Thunderbird, the format of Message-ID field looks unfamiliar.

Additional information

Originally reported on a thread in sympa-users:
https://listes.renater.fr/sympa/arcsearch_id/sympa-users/2021-12/2b094340-6b60-4254-7030-cd1621385f1d%40prompt.nl

@ikedas
Copy link
Member Author

ikedas commented Dec 23, 2021

Possible workaround is adding User-Agent to anonymous_header_fields parameter, because SpamAssassin uses this field to determine Mozilla Thunderbird.


In this occasion, it may be pointed out that the uniqueness of the message ID in anonymized message is not ensured: Currently the string <listname.xsequence@anonymous> is generated. cf. related I-D (here and here) for encouraged form.


EDIT: Added link to another I-D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant