[Exim] Filtering Emails?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Robert L. Harris
Päiväys:  
Vastaanottaja: Exim Users
Aihe: [Exim] Filtering Emails?
--


I need to filter email from a spammer and procmail isn't an option. I
changed to ~exim and created ~exim/.forward which contains this:


----------------------------------------
# Exim filter

if $reply_address contains "moron.com" and
$reply_address does not contain "postmaster@"
then
seen finish
endif
----------------------------------------

I tried putting a blank line before the #Exim but that doesn't seem to
have helpd. I also tried to set the reply to *.moron.com and
@*.moron.com but no go.

Any idea what's missing? If I pump a sample email through the sendmail
-bf test it does claim to catch it. I just want the emails put to
/dev/null or to /var/log/spammer.log so I can count them and take em to
their ISP.

Thanks,
Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.


Life is not a destination, it's a journey.
  Microsoft produces 15 car pileups on the highway.
    Don't stop traffic to stand and gawk at the tragedy.
--
[ Content of type application/pgp-signature deleted ]
--