in reply to Help with setting up spamc

You could use open()-for-IPC to accomplish what you say you need to do, but
you already have the code that uses Mail::SpamAssassin's "check_message_text" to perform that function - why would you want to call external code ?

        Profanity is the one language all programmers know best.

Replies are listed 'Best First'.
Re^2: Help with setting up spamc
by SteveTheTechie (Novice) on Jul 10, 2014 at 00:12 UTC
    Reason:

    Using Mail::SpamAssassin is very expensive on memory usage. Our server is getting hammered on Mondays when we get the most email volume... gets *very* slow.

    Google "spamd vs spamassassin"... for example, see : spamd vs spamassassin

    spamd is supposedly much faster than spamassassin

    spamc is just a command line interface to spamd that is written in c for speed.