All these examples hit .+k12\.[a-z]{2}\.us the regex101.com tester seems
to stop at the first match. The PRE-TESTED.txt filter has been updated.
Having the MAILFROM checked should be sufficient.
Let me know if we need to revisit.
David
On 11/18/2014 2:04 PM, Scott Fosseen - Prairie Lakes AEA wrote:
I am not really good at regex, I put the .+k12\.[a-z]{2}\.us in the
regex101.com tester and it did not match on any k12 address I put in.
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
user@under_score.k12.az.us <mailto:user@under_score.k12.az.us>
Looking at it I think a new line should be added
# Match K12 district addresses
MAILFROM END PCRE (?i:@([a-z0-9---_]*\.k12\.[a-z]{2})\.us)
What I can not get to match is:
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>
Also would it make sense to add this line?
REVDNS END PCRE (?i:([a-z0-9---_]*\.k12\.[a-z]{2})\.us)
*From:* David Barker <mailto:[email protected]>
*Sent:* Tuesday, November 18, 2014 12:11 PM
*To:* [email protected]
<mailto:[email protected]>
*Subject:* [MBF] Re: PRE-Test filter change
Would I be missing anything if we updated it as:
.+k12\.[a-z]{2}\.us
If you have some email addresses structures I can verify this against
that would be great I can update it now.
David
On 11/18/2014 12:59 PM, Scott Fosseen - Prairie Lakes AEA wrote:
I would like to propose updating the pre-test filter by changing this
line:
MAILFROM END PCRE
(?i:@(mta|notify|alert|response|mail|noreply|list|send|bounce|news|shop|List-Unsubscribe|k12|notif|store|state|relay|envfrm)\.)
to
MAILFROM END PCRE
(?i:@(mta|notify|alert|response|mail|noreply|list|send|bounce|news|shop|List-Unsubscribe|[a-z0-9---_]*\.k12\.[a-z]{2}|notif|store|state|relay|envfrm)\.)
This would allow school addresses to bypass this filter (I am getting
a LOT that are directed to to the Junkmail folder) as the MAILFROM 20
hit most legitimate school email addresses.
I am not aware of any users with an @k12 address,
--
David Barker
Mail’s Best Friend
Email :[email protected]
Web :www.mailsbestfriend.com
Office : 866.919.2075
Mobile : 978.518.6461
--
David Barker
Mail’s Best Friend
Email : [email protected]
Web : www.mailsbestfriend.com
Office : 866.919.2075
Mobile : 978.518.6461