Hello Michael,
 
you stated that the development of bug# 1201 started. Because i'am very interested getting this feature i want to talk about the realization.
Now i already started the development of this feature by my own, as stated here before: http://bugzilla.spamassassin.org/show_bug.cgi?id=1201#c21
Pherhaps there are some intersections between my dev to your road map. 
In my DSCLearner (DomSpamC Learner module => SpamC part for Lotus Domino) i've planned to use the "int flags" variable to submit the LEARN command and i say "learn option". "learn option" specifies that the message will be learned or unlearned.
So the protocol could be for learn a spam message "LEARN SPAM SPAMC/1.3"
Pros for this would be that only a small change to the libspamc is needed.
Would a protocoll version change needed?
A code example of initial spamc part:

 g_DomSpamCConfiguration.flags |= SPAMC_LEARN | LEARN_SPAM;

    if ((ret = transport_setup(&g_DomSpamCConfiguration.trans, g_DomSpamCConfiguration.flags)) == EX_OK )
 {
  if (ret == EX_OK)
  {
   ret = message_filter(&g_DomSpamCConfiguration.trans, tempSendToUserName, g_DomSpamCConfiguration.flags, m);
   sprintf( strTemp, "Return-Code (ret) from SpamD: %i", ret );
   WriteToNotesLog( strTemp, 0 );
  }
    }
If you're interested i'll take the spamc-part!?
Best regards.
NicoP.

Reply via email to