What you really want is the ability to have smtp-in, smtp-out, and pop3-in filters. That way you can deal with the incoming mail before it is fanned-out to the individual recipients - this is also why you are getting 4 executions of your filters. In a way you already have this - an 'in-session' post-data filter - not quite a simple as a 'post-session' filter, but it is there.
I've always seen the lack of a 'post-session' smtp in-filter as a hindrance, because the only 'post-session' in-filter available is a POP3 filter, which by design *must* work on the fanned-out to the individual recipients, and that incoming AV/SPAM scanners must run multiple times. There are however time when you want that individual control. A 'post-session' smtp in-filter would be a great enhancement, by you can work around it at the moment with an 'in-session' post-data smtp filter. Rob :-) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CLEMENT Francis Sent: Saturday, August 27, 2005 1:48 AM To: '[email protected]' Subject: [xmail] filters in/filters out chain question Hello Davide Please, correct me if i'm wrong : On incoming mail xmail make decision to run IN filters or OUT filters on 'final' recipient local or not. Now, suppose a local user [EMAIL PROTECTED] that have a have a mailproc.tab for this user that redirect to multiple accounts : 2 local [EMAIL PROTECTED] and [EMAIL PROTECTED] 2 externals [EMAIL PROTECTED] and [EMAIL PROTECTED] Then IN filters apply to the 2 locals and OUT filters apply to the 2 externals (right ?) I noticed that filters are executed on a per destination email My problem is : How to NOT reexecute filters on a per email ? In the above sample IN filters are executed twice and OUT filters twice And if others any final local (y or z) have another mailproc that redirect to others local or external emails, then the corresponding filters are RE-executed for the same mail !! What appends to xmail ML accounts ? does the filters execute on a per final email ? I think, for 'general' filters not really taking care about the emails but the content (as av, anti-spam) it could be nice (especially for cpu and memory charge) to tell xmail to not re-run some filters but only once .. Any chance to see a 'special' flag in filters .tab files to exclude when allready done ? Francis - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
