On Mon, 31 Aug 2009 18:17:51 -0400 MySQL Student <mysqlstud...@gmail.com> wrote:
> Hi all, > > I'm trying to understand how shortcircuit works to ease some of the > load on the severs. First, does anyone have any recommended metas that > they use in their environment that might help? > > Can I add shortcircuit to an existing rule, or does the rule have to > be designed to be used with shortcircuit? In other words, I have a > meta that combines spamcop with spamhaus: > > meta META_HAUS_COP (RCVD_IN_BL_SPAMCOP_NET && > RCVD_IN_XBL) describe META_HAUS_COP Contains SPAMHAUS XBL > and SPAMCOP score META_HAUS_COP 0 4.0 0 4.0 > shortcircuit META_HAUS_COP spam Does that actually work? RCVD_IN_BL_SPAMCOP_NET is a deep check, but RCVD_IN_XBL runs only on the last-external, so it rarely hits anything if the MX server is rejecting on zen. > In order for it to be actually shortcircuited, however, I have to make > the score 100, correct? I don't think so, it's just that if you don't define a score, a short-circuited rule scores +/- 100 by default. see perldoc Mail::SpamAssassin::Plugin::Shortcircuit