fjpoblam Posted May 14, 2015 Report Share Posted May 14, 2015 If I want to specify an action to be taken on emails whose subjects contain any of the strings "foo", "testosterone", or "diabetes" my impression is that I might specify "Subject matches regex" and ".foo|.testosterone|.diabetes". However, as I'm not formally regex-trained, I'm not sure whether "fOo" or "diaBeteS" will ignore the test. Is my test case-insensitive? (Yes, I DO know the inevitable "fo0" (with zero) and "tes-tos-_terone" will get by.) Quote Link to comment Share on other sites More sharing options...
ericr Posted May 15, 2015 Report Share Posted May 15, 2015 there is a forum post hete showing an example that would work. http://www.gossamer-threads.com/lists/spamassassin/users/138688#138688 1 Quote Link to comment Share on other sites More sharing options...
fjpoblam Posted June 28, 2015 Author Report Share Posted June 28, 2015 Thanks, ericr. Also (after long and arduous search for a week) found (1) the "official" regex for email addresses [whew!] and (2) a rather more succinct version which has worked, so far, for me with an ORred list of often-abusing TLDs plus a gripe about two-letter TLDs... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.