There is also a function resend_message() which sends the mail to a set of recipients. You can do something like this following from filter_end.

if(resend_message(@exempted)){
   foreach $recip (@exempted){
       delete_recipient($recip);
   }
} else {
           md_syslog("warning","resend_message failed");
           #accept the message
}

The idea I have now is that the mail is dealt with normally, if there is
just one recipient or at least one non-exempted recipient is specified,
and the message is resend to all exempted recipients individually.



_______________________________________________ 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