At 12:28 01.10.2007 -0700, Davide Libenzi wrote: >On Mon, 1 Oct 2007, Fabian Cenedese wrote: >> I use xmail as local mail server for several users. We have a setup >> that all mails get stored in one account on the ISP so we only have >> to POP one account. Nobody can send mails through xmail from >> the outside, it is only for local delivery and accepting. >> >> I have added a spamfilter in filters.in.tab. This works out nicely. The >> only problem I have is with xmail mailing lists. If a mail gets delivered >> to a mailing list it is of course rerouted to the subscribed receivers. >> It looks like the mail then gets passed through filters.in.tab again as >> a spam mail now has twice the spam identifier in the subject. >> >> Is there a way to filter only mails that come in from POPing and not >> the rerouted/forwarded mails? Maybe with one of the macro words? >> I would like a generic solution as we have several mailing lists. But >> if this is not possible I will filter them out by name in the spamscript. >> I also already do this for the [EMAIL PROTECTED] account which I use >> to forward slipped through spam mails to sa-learn. > >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 - 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]
