Below is a cut down, cleaned up version of my domains exim filter.
I have 3 questions please, then I give in and have to live with it..
1. The exim filter says created by V1.33.1, yet our domain is on 1.43.
Does 1.43 have a different filter, if so how do i get this, and would it make any difference.
2. If i make any manual changes to the filter (ie the checking order), and then make a front end user change, will the checking order revert back ?
3. What changes do I need to make to the checking order, so the blocker works before Spam Assassin.
# Exim Filter
# created by DirectAdmin, version 1.33.1
# Do not modify this file as any changes will be
# overwritten when the user makes a change.
# (data is only written to this file, not read)
if
$h_X-Spam-Level: contains "***************"
then
seen finish
endif
if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part is "mydomain"
then
save /home/mydomain/Maildir/.INBOX.spam/new/ 660
else
save /home/mydomain/imap/$domain/$local_part/Maildir/.INBOX.spam/new/ 660
endif
finish
endif
if error_message then finish endif
if
$header_subject: contains "viagra" or $message_headers contains "viagra" or $message_body: contains "viagra"
then
seen finish
endif
if
$header_subject: contains "f***" or $message_headers contains "f***" or $header_from: contains "f***"
then
seen finish
endif
#end filter