|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
20 Oct 2018, 12:55 AM | #1 |
Junior Member
Join Date: Oct 2018
Posts: 1
|
Advanced Forwarding Rule to exclude a sender?
How can I create a forward rule that will forward all messages to an email address except messages from a specific sender?
I know how to create advanced rules that when something is in a header, such as this: allof(header :contains "from" "xxx.com", header :contains "to" "yyy@abc.com") But I'm not sure of the syntax to exclude something. Thanks for any help. |
20 Oct 2018, 02:20 PM | #2 |
The "e" in e-mail
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,090
|
Just put " not " (in lower case) before " header " in any partial rule you want to negate.
A good summary of what you need to know to use sieve for most practical cases is at https://kb.vircom.com/redirfile.asp?id=581&SID= |