Alexandre Chapellon wrote: > Hi the list > > I have a setup with SpamAssassin version 3.0.3 running on Perl version > 5.8.4 (integrated with communigate pro). > > I would like SA to behave differently according to the score of the > mail. I mean I would like mails to be silently discarded if the mail get > an high score (e.g: 20) and only tag messages within the required_score > (e.g. 5) and the high score. I think I already setup such a behaviour in > an older release but I can't find out how I did it? > This is beyond SpamAssassin's power. Due to it's place in the mail chain, as a message pipe, SpamAssassin has no direct control over message delivery. Directly, all it can do is modify the message contents.
If SpamAssassin were to try to delete the message by not returning a message, most mail tools would assume it crashed, recover the original message, and deliver that. > Does anyone use this kind of setup or know how to achieve it? > Lots of folks do it, but this is done by the tool calling SA, not by SA itself. In fact, many tools designed to call SA have quite a lot of customization you can do in this regard. That said, I know very little about communigate, and nothing the features it provides to allow for this kind of thing. > >