Peter A. Cole wrote:
> I'm assuming that if I put something in to move these to my spamdrop
> if the line "X-Telstra-AS-Scanner: 1.0.1-LBW, xx%" is greater than,
> say, 90% (to be safe from false positives), then this will be
> successful.  
[..]
> Any ideas?

Try this in filter_end (untested):

  open(HEADERS, '< ./HEADERS');
  while (<HEADERS>) {
    if (/^X-Telstra-AS-Scanner: .*?, (.*?)% /i
        && $1 >= 90) {

      delete_recipient($_) foreach (@Recipients);
      add_recipient('[EMAIL PROTECTED]');
      last;
    }
  }
  close(HEADERS);

___________________________________________
Michael Sims
Project Analyst - Information Technology
Crye-Leike Realtors
Office: (901)758-5648  Pager: (901)769-3722
___________________________________________

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to