Go Back > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Thread Tools
Old 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" "", header :contains "to" "[email protected]")

But I'm not sure of the syntax to exclude something.

Thanks for any help.
kimtieuphuong is offline   Reply With Quote

Old 20 Oct 2018, 02:20 PM   #2
The "e" in e-mail
Join Date: May 2003
Location: mostly in Thailand
Posts: 2,781
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
BritTim is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

All times are GMT +9. The time now is 03:00 PM.


Copyright 1998-2013. All Rights Reserved. Privacy Policy