Hi,
ClamAV and SpamAssassin both provide a protocol which to talk to their respective daemon processes (spamd/clamd). I couldn't find anything similar in DSPAM world, which would make a library difficult to write -- i.e. how do you 'communicate' with DSPAM?
Regards,
Shane.
Hi Shane,
I'm looking through Readme file at
http://dspam.nuclearelephant.com/text/README-3.6.7.txt
and it looks like there is a library libdspam available as well as client app dspam and dspamc. Also, this is a communication example from the Readme file:
SERVER> 220 DSPAM DLMTP 3.4.0 Authentication Required
CLIENT> LHLO Relay1
SERVER> 250-PIPELINING
SERVER> 250-ENHANCEDSTATUSCODES
SERVER> 250-DSPAMPROCESSMODE
SERVER> 250 SIZE
CLIENT> MAIL FROM: <secret@Relay1> DSPAMPROCESSMODE="--deliver=innocent -d %u"
SERVER> 250 2.1.0 OK
CLIENT> RCPT TO: dick
SERVER> 250 2.1.5 OK
CLIENT> RCPT TO: jane
SERVER: 250 2.1.5 OK
CLIENT> DATA
SERVER> 354 Enter mail, end with "." on a line by itself
CLIENT> Subject: Cheap Viagra!
CLIENT>
CLIENT> Click Here: http://www.cheapviagra.com
CLIENT> .
SERVER> 250 2.0.0 <dick> Message accepted for delivery: INNOCENT
SERVER> 250 2.0.0 <jane> Message accepted for delivery: SPAM
Cheers,
d.