Bug 3440

Summary: Filter on sending mail
Product: Claws Mail (GTK 2) Reporter: Technical Support <bugzilla-claws-ok>
Component: FilteringAssignee: users
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: 3.11.1   
Hardware: All   
OS: Linux   

Description Technical Support 2015-06-19 06:54:40 UTC
Filters run manually, on incoming mail, or when entering a folder. Might be good to have filters for *outgoing* mail.
Comment 1 Ricardo Mones 2015-06-19 12:30:08 UTC
Do you have examples of what do you want to achieve?
Comment 2 Technical Support 2015-06-23 02:20:52 UTC
Obviously, incoming mail is the greater need. Outgoing filtering is useful for selectively filing sent messages, collecting email addresses after send (but no receive), disabling reminders to send mail, etc. Does this make sense? It isn't a top priority, but it can be handy.
Comment 3 Paul 2015-06-23 11:52:34 UTC
You can set up Processing rules on your Sent folder.
Comment 4 Technical Support 2015-06-25 05:16:38 UTC
That is true. . . .

Though I used Pre-processing rules (based on Sender) rather than having to rely on entering the Sent folder. There is rarely a need to enter the Sent folder since messages that might be needed would have been moved.

Aged messages in the sent folder get deleted whenever another folder is clicked on. It's a convenient way to frequently execute filters. Like a sort of irregular cron. :-)

The difficulty with Pre-Processing rules is when there are multiple Sender addresses. I haven't yet tested combining both and's and or's in a single condition - with and's taking priority over or's. (Perhaps you could tell me if it would work?)

Either way is great. Editing matcherrc directly makes it easy to duplicate filters for each of the Sender addresses.