Just to add to the confusion, uh, I mean options. Here's what I've
got so far. I'm using it in production currently, but it's still very
young code, so use it at your own risk.
https://github.com/enkidushane/sa-frommismatch/
I purposely avoided using uri_to_domain because it's in flux right
now, but I might go back and add a version check to make use of it.
As I mentioned to Paul privately, seeing others' code strengthens my
opinion that the hard part here is recognizing when an email address /
domain actually needs to be checked. For instance, I require "@" to
be immediately followed be a valid domain character. This avoids
false positives on things like "Events @ GA" (example from my email
stream); on the other hand, it would miss something like "Bob @
usaa.com".
If you try out my plugin, be warned that you will likely get
false-positives on yahoogroups.com. I have yet to decide whether
detection of exceptions like this should be happening in the plugin,
or via some meta combination of rules. If you hit other false
positives, I'd be interested to hear about them.
On Mon, 22 Jan 2018, Alex wrote:
Hi,
This part goes into the general HeaderEval.pm:
$self->register_eval_rule("from_domains_mismatch");
[...]
I'd like to try this, but this is not in the current 3.4.2 svn.
--
Public key #7BBC68D9 at | Shane Williams
http://pgp.mit.edu/ | System Admin - UT CompSci
=----------------------------------+-------------------------------
All syllogisms contain three lines | sha...@shanew.net
Therefore this is not a syllogism | www.ischool.utexas.edu/~shanew