At 11:10 24/11/2001 -0500, you wrote:
>You've won a FREE vacation! [265987235]
>
>I'm thinking if I can have Exim reject every mail that has a string of 10
Find attached a nice little filter that kicks out those kind of formats:
if ($header_subject matches "\\\\s{10,}\\\\[?\\\\w{1,}\\\\]?\\$") then
logfile /var/spool/exim/log/spamlog
logwrite "$tod_log $message_id \
$sender_address ($sender_host_name[$sender_host_address]) \
=> $recipients (recipients=$recipients_count) \
subject=$header_subject"
fail text "This message is unacceptable to the recipients on this \
system. Do not send this message again, or your hosts will \
be blacklisted. If you feel this is in error, forward your \
original message to postmaster@$primary_hostname with an
empty subject."
seen finish
endif
It requires at least one letter following the spaces. So far it has stopped
5 to 6 spam messages a day.
Regards
Andromeda