On 12/23/2018 6:52 AM, spamassassin_fo...@dwd.hu wrote: > Hi, > I want to filter all mails incoming to info@*ANY_DOMAIN*.hu except to > i...@asdf.hu > I have a lot of domains and spamming to info@ is legal in Hungary. :S > Thank you!
If you are just looking for a regex, this should do it: /\binfo\@(?!asdf\.hu)[^.]+\.hu\b/ This regex should match info at any domain other than asdf.hu. I'll leave it up to you how to apply it. This is untested, so I don't give any guarantees. This is in Perl format, so it should work with SA. It may or may not work if you are using it in some sort of other MTA filter. -- Bowie