>-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de Fabian Cenedese >Envoy=E9 : mardi 2 octobre 2007 10:37 >=C0 : [email protected] >Objet : [xmail] Re: Filter POP'd messages only once > > .... >>Have you looked at the mailproc.tab "filter" command? > >Yes. But it's not efficient, e.g. > >mailproc.tab: >forward otheruser >filter spamfilter >mailbox > >Then the second user will do the filtering again. If I have a way >to do the filtering only once (which I thought filters.in.tab is for) >I can save time and cpu. I guess I need to mark mails as scanned >so I can just skip them when the filter script is called again. > >I should mention that I don't delete any mails, I just mark them >with SPAM if they are, so the users can decide themselves what >to do with it. > >Thanks > >bye Fabi > > >- >
Actually, you can't avoid running the same filter multiple times in = case of redirects, forwards, going on the same server ... The only way is to verify that is was not allready 'filtered', = searching in the mail the specific tag you could have allready put in the mail. As the 'subjet' line is not really so far after top of the mail, = searching such 'subject' line and verifying it have or not the 'spam identifier' should be very fast. If found, do nothing and exist the filter, if not found, scan and add the 'spam identifier' if spam :) 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]
