czech@eissn6.gmd.dbp.de (Richard Czech) (04/02/91)
Hi! I have a problem using the filter program. I need to select mails from a mailer list. So I only need one somple filter rule: ~.filter-rules: if (to contains "sun-managers") then save "/home/local/dassy/czech/Mail/sun-managers" That's no problem at all. The problem is, that my home direcotry is mounted to several machines. So I usually have in my .forward file: ~.forward (without filter call) czech@eissn6 This sends all incoming mail to the machine on my desk. This works even for mail which is send directly to this machine. Obviously sendmail sees that the mail is forwarded to the local machine, so the mail isn't duplicated. And there's the problem. If I add the filter call to the .forward file it looks like this: ~.forward (with filter call) czech@eissn6, "| /usr/local/bin/filter -vo /home/local/dassy/czech/.elm/filter_errors" The result of this is, that every mail which matches the filter rule is send to the sun-managers folder AND my system mail folder. Every mail which doesn't match the rule is duplicated in my system mail folder. If I delete the "czech@eissn6" from the .forward file the filtering is ok. But then the mail isn't forwarded from the other machines. Is there something I can do to receive my mail only once, the "sun-managers" mail into e separate mailbox? ----------------------------------------------------------------- Richard Czech e-mail: czech@gmdzi.gmd.DE GMD-E.I.S. czech@gmdzi.UUCP P.O.Box 12 40 phone: (+49) 2241 14 2039 D-5205 St. Augustin 1, Germany fax: (+49) 2241 14 2342 -----------------------------------------------------------------