Thanks for the quick response:) Actually I could not really understand what I am supposed to do. Can you give some coding examples?
----- Original Message ----- From: "kamal" <[EMAIL PROTECTED]> To: "Murat Isik" <[EMAIL PROTECTED]> Cc: "mimedefang" <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 10:10 AM Subject: Re: exceptions based on recipient? > Oh yes, then you may not be able to do it in filter_end. Actually, we > are not doing anything with the mail body except headers, so it is ok > with us. > > You can do this computation in filter_begin and save the result for use > in later functions. Of course, you can choose not to do it in > filter_begin and repeat it in later functions. > > In filter_begin, you do (1) Amongst the recipients, check which are exempted > In filter, (2) if any of the recipients is non-exempted, do normal > filtering, otherwise do no filtering > In filter_end, (3) if you did any filtering in "filter" function( i.e. > at least some recipients are non-exempted and mail is 'bad'), resend > original message to exempted recipients if any, delete them from "this" > message. Otherwise, accept message as it is. > > I hope this should work, haven't tested it out. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

