Keith,

> Is there and easy was to get the recipient in the filter_end subroutine of
mimedefang-filter ??
> I need a disposition based on # hit and destination 

The recipient list is indeed available in filter_end - look for @Recipients,
e.g.:

my $reciplist=join(" ",@Recipients);
if ( $reciplist =~ '[EMAIL PROTECTED]' ) || ( $hits >= 10)
  {
  # add to spam corpus
  ...
  }
else
  {
  # add to ham
  ...
  }
  

Best Wishes,

Paul.
__________________________________________________
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788

_______________________________________________________________________
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
_______________________________________________________________________ 

_______________________________________________
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