Bug 5409 - Pure Java spamc client
Summary: Pure Java spamc client
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: unspecified
Hardware: All All
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard: Pending CLA for consideration of non-...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 18:11 UTC by Nick Radov
Modified: 2022-04-16 05:38 UTC (History)
3 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status
org.apache.spamassassin.spamc.Spamc text/plain None Nick Radov [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Radov 2007-04-06 18:11:02 UTC
It would be useful to have a pure Java spamc client that can communicate with a 
spamd server. For mail programs that are written in Java it is easier to call 
another Java class rather than launching an external process. I went ahead and 
wrote a basic client for use on another project, but I would like to have it 
eventually considered for inclusion in the standard SpamAssassin distribution. 
I will attach a file with the source code so that anyone can try it out and 
report problems.
Comment 1 Nick Radov 2007-04-06 18:13:04 UTC
Created attachment 3898 [details]
org.apache.spamassassin.spamc.Spamc

revision 1
Comment 2 Kim JunHo 2013-01-27 09:42:53 UTC
It's very useful!
I found a bug. ping function has bug.
got IllegalArgumentException

should add coundition like
if (!command.equals(Commands.PING) && message == null) {
	throw new IllegalArgumentException("Message contents not set");
}
Comment 3 Kevin A. McGrail 2013-01-28 13:42:31 UTC
It's nice to hear this is useful. Perhaps something good for a contribs dir with a caveat empor warning that it's not project maintained?

We would need a CLA from Nick Radov to consider this, though.  See http://www.apache.org/licenses/#clas for more information.
Comment 4 Henrik Krohns 2022-04-16 05:38:15 UTC
If it's not project maintained, then it does not belong in the project. Contrib makes no difference, what happens when it needs a security update etc? Third party stuff should be on github etc, closing.