You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/02/29 00:14:18 UTC

[Bug 3109] New: RFE: really simple "this is ham" shortcircuiting

http://bugzilla.spamassassin.org/show_bug.cgi?id=3109

           Summary: RFE: really simple "this is ham" shortcircuiting
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: jm@jmason.org


There are a number of situations where you can take a look at a message and know
 immediately that it should not be scanned. e.g.

1. message is too big
2. message has travelled entirely via trusted hosts (ALL_TRUSTED rule)
3. user is in all_spam_to
4. bug 2385
5. caller has other ways of determining that the message came from internal hosts

Currently we recommend that this "do not scan at all" short-circuiting be done
in the .procmailrc file before SA is called.  However, that doesn't apply for
products that call SA like Amavisd, MailScanner, et al; so all of those products
have to be aware of this, add their own code to take care of it, etc. And in the
case of bug 2385, that just isn't really an option!

I suggest we add a new rule type explicitly for *immediate* shortcircuiting,
applied before most/all of the time-consuming rules.   This way, new
whitelist/blacklist rules that are guaranteed unforgeable can be applied
immediately and the message can immediately be marked.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.