
Lol thanks, I missed that spelling error :D I"ll see
if that fixes it.
Whats the advantage of using procmail instead of the
postmaster::prefilter? I still want them to be
tickets just incase a false positive occurs.
--Matthew Shapiro
--- Graham Smith
On Mon, 2004-11-15 at 22:06, kalldrex-otrs@yahoo.com wrote:
I put the following into my Config.pm based on what was in the defaults.pm:
# Job Name: 5-Spam # (Move spam to spam queue $Self->{'PostMster::PreFilterModule'}->{'5-Spam'} = { ^^^^^^^^^ The above typo may have something to do with this if it is in the original code.
BTW: I use procmail to pre-filter. You can then set up directories that can be made available for the bayesian training of spamassassin....
Module => 'Kernel::System::PostMaster::Filter::CMD', CMD =>
'/opt/spamassassin-301/bin/spamassassin
| grep -i "X-Spam-Status: yes"', Set => { 'X-OTRS-Queue' => 'spam', }, };
My understanding of this is that if spamassassin gives it the header of X-Spam-Status of yes it will add a X-OTRS-Queue header and set that to spam, so that OTRS sees that and puts it in the spam queue. Am I correct? I am having spam being forwarded to OTRS to test this out but it doens't even have any of the Spamassassin filters in it. When I looked at the headers through OTRS, copied them to a txt file and ran spamassassin on it with all the headers and it got a score of over 5.0. This looks like to me that it's not even running spamassassin at all. Did I do something wrong?
--Matthew Shapiro _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting fr Ihr OTRS System? => http://www.otrs.de/ -- Meum est propositum In tabernum mori,
Graham Smith
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting f�r Ihr OTRS System? => http://www.otrs.de/