[Exim] (no subject)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jan Erik Amundsen
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] (no subject)
Hi
I try to add a list of words to reject in exim filter. It won't work and I don't know what I've done wrong. Could someone quide me in the right direction?

This is my exim filter entry;

# --------------------------------------------------------
# Deletes spam and known porn mail
# ---------------------------------------------------------

if $header_subject: contains "ADULT|adult|porn|sex|shit|pussy|lesbian|cash|fuck|fat|money|car|dollars|win|prize|penger|kunst|nude"
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





Cheers

Jan Erik

******************************************