[Mimedefang] filter end

Paul Murphy pmurphy at ionixpharma.com
Fri Jan 7 10:19:04 EST 2005


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(" ", at Recipients);
if ( $reciplist =~ 'spamtrap at mydomain.com' ) || ( $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
_______________________________________________________________________ 



More information about the MIMEDefang mailing list