|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
29 Sep 2018, 11:36 AM | #1 |
Essential Contributor
Join Date: Aug 2004
Location: Japan
Posts: 226
|
Please help with forwarding rule
I want to forward all mail from a certain domain to another address EXCEPT mail from a specific address in that domain. I am confused about "does not match glob pattern" vs. "does not match regular expression."
I think the conditions for my rule should be: If ALL of the following conditions apply: The sender's email contains [domain] The sender's email does not match glob pattern or regular expression [specific address] Could anyone tell me which of these is correct? OF if both are incorrect, please point me in the right direction. Thank you in advance. Jeremy |
29 Sep 2018, 03:49 PM | #2 |
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 8,916
|
You can do this using:
Code:
if allof( address :matches "From" "*example.org", not address :matches "From" "ignore@example.org" ) { redirect :copy "jcitizen@fastmail.fm"; } |
29 Sep 2018, 05:30 PM | #3 | |
Essential Contributor
Join Date: Aug 2004
Location: Japan
Posts: 226
|
Thank you.
Thank you, Bill. This was just what I needed.
Jeremy Quote:
|
|
Thread Tools | |
|
|