if
$header_subject: contains "SUBJECT-LINE" or
then
save /dev/null
endif
if
$header_subject: contains "SUBJECT-LINE"
then
fail text "Your mail is not welcome."
seen finish
endif
if
$header_subject: contains "SUBJECT-LINE-ONE"
then
fail text "Your mail is not welcome."
seen finish
endif
if
$header_subject: contains "SUBJECT-LINE-TWO"
then
fail text "Your mail is not welcome."
seen finish
endif
if
$header_subject: contains "SUBJECT-LINE-THREE"
then
fail text "Your mail is not welcome."
seen finish
endif
if
$header_subject: matches "[S|s][U|u][B|b][J|j][E|e][C|c][T|t]"
then
fail text "Your mail is not welcome."
seen finish
endif
I can't think of a subject line that I would want to filter out for every single domain ... Can you give one example?Originally posted by Sash
Does anyone know how to get Exim to block ALL email coming into the server with a certain subject?
"Keep your nose out of other peoples business."Originally posted by goodmove
I can't think of a subject line that I would want to filter out for every single domain ... Can you give one example?
Or how about: "Keep your mouth shut when your opinion is not requested!"Originally posted by ciphervendor
"Keep your nose out of other peoples business."
Impossible, you would have to escape the exclamation point--because we all (well almost all of us) know it's a reserved symbol. Try again son.Originally posted by goodmove
Or how about: "Keep your mouth shut when your opinion is not requested!"
So humorous my boy...! Would you kindly accept a soother to keep both your mouth and your hostile covert opinions to your own self?Originally posted by ciphervendor
Impossible, you would have to escape the exclamation point--because we all (well almost all of us) know it's a reserved symbol. Try again son.
:D I agree!Originally posted by Website Rob
For the message of unwanted eMail:
Begone
Simple, effective, and works so well, in such a variety of situations.
Why? I have had no problems running something like this (lot s of rows snipped):Originally posted by ciphervendor
You can't. You need to do one at a time
# Spamtrap
if
$message_headers contains "spamdomain.com"
or $header_subject: contains "VALUABLE ITEMS FOR YOUR REVIEW"
or $header_subject: contains "FREE PAY PER VIEW"
or $header_subject: contains "FREE ADULT MOVIES"
or $header_subject: contains "Off V1agra"
or $header_subject: contains "Partnership Required!"
or $message_headers contains "The Great American Online Drugstore"
or $message_headers contains "goldmonkeys.biz"
or $message_headers contains "kellysoffers.com"
or $message_headers contains "bestspecials.biz"
or $message_headers contains "greatbizservices.com"
or $message_headers contains "salesjet.biz"
then
save /var/mail/spamtrap
#or what ever action you want to take
endif