View Single Post
Old 3 Sep 2019, 10:26 PM   #15
JamesHenderson
Cornerstone of the Community
 
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
thanks, hbs.

I was not aware of :domain, but that is certainly a robust way of doing it. Whilst I was trying to implement a rule, I was also trying to use it as a way to further my regex/sieve knowledge.

Knowing that "this is how fastmail does it" is a bit of a relief as I could not find documentation anywhere for the double-slash.

By the way, would the line not be:
Code:
	address :domain :matches "From" ["@linkedin.com", "*.linkedin.com"]
(I added an @ before the first LinkedIn)

cheers,
James.
JamesHenderson is offline   Reply With Quote