From roessler@sobolev.rhein.de Fri Sep 20 14:49:20 1996 Path: fu-berlin.de!golden-gate.owl.de!uni-paderborn.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!rhein!sobolev!not-for-mail From: roessler@sobolev.rhein.de (Thomas Roessler) Newsgroups: comp.mail.elm Subject: Re: Elm and Filtering out email sites Date: 30 Aug 1996 11:23:28 GMT Organization: Ibyxfsebag mhe Orservhat qrf Hfrargf. Lines: 22 Message-ID: <506ivg$hc0@sobolev.rhein.de> References: NNTP-Posting-Host: sobolev.rhein.de In article , Laura Holmbeck wrote: >I would like to know if anyone knows if elm has a way to filter out email >from certain sites so that you won't even get it? I've been unsucessful >in stopping junk email, and I'd like elm to be able to search all the >header lines for certain sites and then either delete or bounce it back. The canonical answer to your question is that there exists something like the filter package included with elm BUT that procmail(1) is much better suited for your purpose. A rule like the following one in ~/.procmailrc will let mail from blafasel@foo.bar.com bounce with a `permission denied' error message: | :0 | * ^From.*blafasel@foo.bar.com | { | EXITCODE=77 | } tlr