[Mimedefang] add_recipient function

An.H.Nguyen annguyen251 at hotmail.com
Thu Jul 19 19:37:29 EDT 2007


I try to add recipient to the below filter code but it does not work. 
Could anyone help please?
Thanks,
An Nguyen

===========================================
sub filter_end ($) {
    my($entity) = @_;

    # No sense doing any extra work
    return if message_rejected();

      my $recip;
      if ($recip =~ m/\@subz\.domainz\.edu>?$/i) {
      add_recipient('myemail at domain1.com');
      }

==============================================



More information about the MIMEDefang mailing list