Installing: 1. edit your filter.pre-data.tab and enter in this line: "!aex"[TAB]"/var/MailRoot/filters/anti-repeat-spam.sh"[TAB]@@FILE[TAB]@@REMOTEADDR[TAB]"15" 2. You can change the 15 to what ever the min. spam score you want to reject. 3. download the anti-spam.sh and put it into your /var/MailRoot/filters dir. 4. edit anti-spam.sh and setup the Delete_spam_score & Max_size vars to meet your needs. 5. make sure your anti-repeat-spam.sh is chmod'ed at least 111 6. restart xmail as needed
Requiremnts: 1. bash 2. awk 3. grep 4. date 5. MY anti-spam script
Pros: 1. helps filter out spam (go figure). With out having to recive the whole message each time. |