
Jeff Shepherd wrote:
I have SpamAssassin on my mail server. Anything that scores a 6.0 or higher is flagged as spam and "***SPAM***" gets added to the beginning of the subject line. I have tried numerous filtering techniques, including keeping a mail client (such as Thunderbird or MacMail) open to help take out the spam before OTRS gets it. This, while it has helped, can't possibly be the solution, I've got to be missing something.
Right now, my Generic Agent filter for spam is as follows:
If: Subject = [SPAM] X-Spam-Flag = Yes X-Spam-Status = Yes
Then: X-OTRS-Ignore = Trash
However, this doesn't help. I've tried changing Queues with it (i.e. X-OTRS-Queue = Trash), changed the "Subject" setting (i.e. Subject = [S][P][A][M], Subject = SPAM, Subject = "***SPAM***" - which turns out to be invalid) and other options that I just can't remember them anymore. I've been working on trying different tricks for the past 6 months (OTRS was implemented on 1/1/07) and I just can't think of anything else to try.
I've read the following resources with no avail to a solution:
http://doc.otrs.org/2.1/en/html/x1020.html http://doc.otrs.org/2.1/en/html/x1215.html#email-receiving-filter
Does anyone have any suggestions? I'm open to try anything.
We run qmail with qmail-scanner and configured qmail-scanner to delete any mail with a SpamAssassin score over X. Works just fine. I don't know which MTA you're using, but I guess there's similar software available that allows you to specify when to delete mail. You could also take a look at procmail. Nils Breunese.