Can not set the filter control on folder other than inbox?

User Help for Mozilla Thunderbird
Locked
register88
Posts: 96
Joined: February 1st, 2008, 8:21 pm

Can not set the filter control on folder other than inbox?

Post by register88 »

I can not set the filter control on folder other than inbox.
when i set the filter on "somefolder", after restart thunderbird, it will change the folder to "inbox".

I want set all the mail in "junks" is mark as "junk mail" automatically.
my imap server support sieve spam filter, the server will move mail to "junks" folder, then i want thunderbird mark it as "junk mail".

Please help, thank you.

Thunderbird version is: 2.0.22
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can not set the filter control on folder other than inbox?

Post by tanstaafl »

The message filters will only run automatically for the inbox. A long time ago you could chose one folder to have it run automatically against but that option no longer works. I think the control is kept as a convenience for when you want to manually run filters against several other folders.

You could have a Sieve script add a custom header that you test in a message filter, and have the message filter mark the message as junk and move it. Custom headers traditionally start with a X to help minimize interoperability problems.

If your email provider supports SpamAssassin you can configure the junk mail controls to trust SpamAssassin's judgment whether a message is junk. However, IMHO if your email provider runs SpamAssassin I wouldn't bother with the junk mail controls.

http://kb.mozillazine.org/Junk_Mail_Controls
register88
Posts: 96
Joined: February 1st, 2008, 8:21 pm

Re: Can not set the filter control on folder other than inbox?

Post by register88 »

tanstaafl wrote:The message filters will only run automatically for the inbox. A long time ago you could chose one folder to have it run automatically against but that option no longer works. I think the control is kept as a convenience for when you want to manually run filters against several other folders.

Why do not let people choose which folder do filtering?
Why limit it?

tanstaafl wrote:You could have a Sieve script add a custom header that you test in a message filter, and have the message filter mark the message as junk and move it. Custom headers traditionally start with a X to help minimize interoperability problems.

Can sieve add a custom header?
How? Can you show me example?
Please help, thank you.

tanstaafl wrote:If your email provider supports SpamAssassin you can configure the junk mail controls to trust SpamAssassin's judgment whether a message is junk. However, IMHO if your email provider runs SpamAssassin I wouldn't bother with the junk mail controls.

http://kb.mozillazine.org/Junk_Mail_Controls

No, my imap server does not support SpamAssassin.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can not set the filter control on folder other than inbox?

Post by tanstaafl »

I can't answer the why questions. We're not run by or formally associated with Mozilla despite the similarity in names or the fact that their support site links to us. We're an independent user community.

See http://tools.ietf.org/html/draft-degene ... theader-02 for how to add a custom header. It depends upon one of the Sieve extensions. You can just try it, but I suggest you find a support page on your email providers web site that lists what Sieve extensions they support. I use http://www.fastmail.fm as my main email provider. Who do you use?

http://wiki.fastmail.fm/index.php?title ... portMatrix
register88
Posts: 96
Joined: February 1st, 2008, 8:21 pm

Re: Can not set the filter control on folder other than inbox?

Post by register88 »

tanstaafl wrote:I can't answer the why questions. We're not run by or formally associated with Mozilla despite the similarity in names or the fact that their support site links to us. We're an independent user community.

See http://tools.ietf.org/html/draft-degene ... theader-02 for how to add a custom header. It depends upon one of the Sieve extensions. You can just try it, but I suggest you find a support page on your email providers web site that lists what Sieve extensions they support. I use http://www.fastmail.fm as my main email provider. Who do you use?

http://wiki.fastmail.fm/index.php?title ... portMatrix

I use dovecot imap server, and dovecot's sieve does not support "addheader".
(http://www.dovecot.org)

Do you know any extension can do that? (add custom header to mail or something like that)

Anyway, thank you.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can not set the filter control on folder other than inbox?

Post by tanstaafl »

http://wiki.dovecot.org/LDA/Sieve describes what the standard Sieve plugin supports. There is a ManageSieve patch that adds new Sieve features that might support addheader. Somebody called Konstantin is apparently working on adding support for editheader to dovecot-libsieve.
register88
Posts: 96
Joined: February 1st, 2008, 8:21 pm

Re: Can not set the filter control on folder other than inbox?

Post by register88 »

No people filtering folder other than "Inbox"?
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can not set the filter control on folder other than inbox?

Post by tanstaafl »

Message filters only run automatically for the inbox. You have to manually invoke them for other folders.
geoyo1
Posts: 23
Joined: January 30th, 2013, 8:26 am

Re: Can not set the filter control on folder other than inbo

Post by geoyo1 »

I found the solution here:

https://bugzilla.mozilla.org/show_bug.cgi?id=428574

Go to the config editor, here's how: http://en.kioskea.net/faq/10960-thunder ... fig-editor

Then, create a new string preference "mail.server.default.applyIncomingFilters" to "true". Even if it seems odd, do NOT create a boolean setting, it has to be a STRING setting with the value "true".

This option will run filters on all folders, not only the inbox folder.
RomanIvanov
Posts: 5
Joined: April 11th, 2010, 5:42 am

Re: Can not set the filter control on folder other than inbo

Post by RomanIvanov »

geoyo1, thanks a lot for reply now filters works fine Thunderbird 17.
Locked