[Exim] Filter Q:

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jan Erik Amundsen
Date:  
À: exim-users
Sujet: [Exim] Filter Q:
Hi

I have a spam filter in plaze now, but I want to adjust it a bit.

It sends an reply to the spammer with a note that this is spam, but as we
all know, spammers do not want to get spammed theirself so they use a
fuction reply address.


I want exim to put spam mail right in the waste basket and forget it.
How do I do this?

Her is my filter entry.



# --------------------------------------------------------
# bounces spam and known porn mail
# ---------------------------------------------------------
if $header_from: contains "@polbox.com"
then
  fail text "This message has been rejected since it has\n\
      the signature of a known spam or porn in the header."
  seen finish
endif
if error_message and $header_from: contains "Mailer-Daemon@"
then
  # looks like a real error message - just ignore it
  finish
endif
# --------------------------------------------------------



Regards

Jan Erik Amundsen
Norway