I've got a user who never communicates with France, but apparently is on a French language fashion spam list. She's getting lots of messages from email addresses ending in .fr and she doesn't want any. I've got as many as I can in errors-spam, but my HMM/Bayes databases just doesn't have enough French language content.
Now, some users do need communicate with France, so it's not like I could do a blanket block of all fr domains. Much of the mail comes out of bulk mailers like Constant Contact and sendgrid in the US. Using geolocation isn't going to help here. So, I was thinking of doing something like what was proposed years ago in this group, using a regex in BombHeaderRe to score messages from a .fr address to this specific user using the template that was provided. #first case - from: before to: in the header # \nfrom:[^\r\n]+?\@sender_domain\.com.+?\nto:[^\r\n]+?the_recipient\@your_domain\.com #second case - to: before from: in the header # \nto:[^\r\n]+?the_recipient\@your_domain\.com.+?\nfrom:[^\r\n]+?\@sender_domain\.com # So something like: #first case - from: before to: in the header # \nfrom:[^\r\n]+?\@.*\.fe.+?\nto:[^\r\n]+?the_recipient\@your_domain\.com #second case - to: before from: in the header # \nto:[^\r\n]+?the_recipient\@your_domain\.com.+?\nfrom:[^\r\n]+?\@*\.fr # But, I believe that'll also block mail where the from is FRank.com. Any suggestions on how to block domains ending in .fr? should I be looking for .fr> .fr[^\r\n] What else? OR, is there a better way to accomplish this? I know that the lingua plugin isn't strong enough to detect the exact romantic language, plus it needs to be just for this user.... THANK YOU
_______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test