Jesse Thompson wrote:
>     Possible values for TYPE:
>         E: The ADDRESS (usually in the From header) might receive replies
>             but it was not intended to receive the replies.

Oh!  That's a new one.  Changes my code.  My code now supports Z as
requesting a hidden email address, A-J as codes (with FGHIJ being
currently undefined), and ignores K-Y (as both undefined and not noted).

  $type_list =~ s/.*,([A-Z]+),.*/$1/;
  if ($type_list =~ /Z/) {
    $email =~ s/\t".*"/\t"\...@hidden\@"/; # hide the email address
  }
  $type_list =~ s/[K-Z]//g; # remove unhandled types K-Y and Z
  $type_list =~ s/(?=.)/+2**/g;
  $type_list =~ tr [A-J] [0-9]; # this needs rewriting when we get a K!
  $type_list = eval 0 . $type_list;
  $type_list = "\tA\t127.0.0.$type_list\n";

Other suggestions to my list before somebody works on a plugin?
Other sources with which to seed it?
Volunteers to test it?  I'm not sure if I have enough volume surviving
greylisting (which nabs ~90% of my incoming mail) for useful stats, e.g.
my hits on malware-patrol is fully zero (and yes, I run clamAV *after* SA).

-- 
Adam Katz
khopesh on irc://irc.freenode.net/#spamassassin
http://khopesh.com/Anti-spam

Reply via email to