"My Break-Dancing days are over, but there's always the Funky Chicken" -- The Full Monty
> On Jul 7, 2016, at 8:14 AM, Antony Stone > <antony.st...@spamassassin.open.source.it> wrote: > > On Thursday 07 July 2016 at 15:08:44, Lorenzo Thurman wrote: > >>> On Jul 7, 2016, at 7:15 AM, Reindl Harald <h.rei...@thelounge.net> wrote: >>>> Am 07.07.2016 um 14:12 schrieb Joe Quinn: >>>> In addition to the above, it's easy for a spammer to register something >>>> like kajsdhfkjasghdskghlaskfhmicrosoft.com which would also be >>>> whitelisted for you. I would recommend against using wildcard whitelist >>>> patterns like that >>> >>> should at least look similar to that: >>> ^.*\.microsoft\.com$ >>> >>> well the ^ followed by .* is also pointless >> >> I see. Thanks for the tip, I'll make changes. The reason I did wild cards >> was so that I could also capture us domains. Is there a rule that allows >> me to get subdomains w/o opening myself like I have? > > There's a big difference between subdomains, and domains with letters in > front > of "microsoft". > > \.microsoft\.com$ will match anything ending in ".microsoft.com" > > That means it will match www.microsoft.com and cdn.microsoft.com for example, > but it will not match kajsdhfkjasghdskghlaskfhmicrosoft.com or onmicrosoft.com > > The dot in front of "microsoft" in the regex is important :) > > > Antony. > > -- > Tax inspectors are just accountants who work for the evil dictators of > democracy. > > Please reply to the list; > please *don't* CC me. Great, thanks.