Does 'Trust Junk Mail Header Set by: SpamAssassin' work?

User Help for Mozilla Thunderbird
Posts: 2
Joined: April 20th, 2006, 7:35 pm

Post Posted May 18th, 2007, 12:03 pm

I have been trying to get Thunderbird to recognise spam based on Spamassassin headers, but so far it doesn't seem to work. I would be interested to hear from anyone who has it working for them.

I am using IMAP and my junk mail is already sorted to a different folder on the server. I don't if this would make a difference. In Junk Settings I have all options disabled except for the Trust Junk Mail Header Set by: Spamassassin. My expectation is that Thunderbird won't use it's built-in junk filtering, but will flag a message as spam if flagged by spamassassin. This is not what I see at all. In fact, if I manually set the junk flag in Thunderbird and then run Run Junk Mail Controls on Folder it removes the junk flag.

According to ... unk_E-mail

If SpamAssassin is selected, the filter checks the content of the X-Spam-Status and X-Spam-Flag headers, as well as whether **SPAM** has been inserted in the subject line of the message.

My headers are as follows:

X-Spam-Flag: YES
X-Spam-Level: ++++++
X-Spam-Status: Yes, score=6.9 required=5.0 autolearn=no version=3.1.7-deb
* 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
* 0.2 SUBJ_HAS_UNIQ_ID Subject contains a unique ID

Both X-Spam-Flag and X-Spam-Status mark the message as spam, but Thunderbird doesn't seem to think so. Thanks for any help.

Posts: 2559
Joined: December 7th, 2004, 6:52 am

Post Posted October 17th, 2007, 9:17 am

What version of thunderbird?
Did you get this working?
Thunderbird trunk (generally).

Posts: 2
Joined: April 20th, 2006, 7:35 pm

Post Posted October 17th, 2007, 4:02 pm

I am using version 2 and this is still not working. There is a bug report with discussion at:

Posts: 2
Joined: August 30th, 2004, 6:46 am

Post Posted May 15th, 2015, 6:57 pm

I just enabled Spam Assassin on our mail server a couple of weeks ago. I then set up each mail account to recognize the headers sent by spam Assassin.
I don't think this works very well, but I marked the messages containing ***SPAM*** as junk, and it seems as if the adaptive filter took up the challenge. Two weeks in, Thunderbird is about 90% efficient at junking these messages.
Spam Assassin still misses about half the messages I consider junk, so I will consider changing the threshold on the server.

Return to Thunderbird Support

Who is online

Users browsing this forum: No registered users and 4 guests