On Fri, 7 May 2010 17:38:38 +0100 Martin Wheldon <mwhel...@googlemail.com> wrote:
> Hi, > Hello Martin, > I've been following this thread with extreme interest as I am > currently designing a solution containing DSPAM. After reading and re > reading the README I hadn't realised that the following was possible. > > > Look it from that point: Something like ClamAV is able to work in > > client/server mode. You can open a socket to the >ClamAV daemon and send > > stuff to it and it will respond if the message is OK or not. DSPAM offers > > the same. It is >capable to tell you if a message is SPAM or not. > > Could some one point me in the right direction on how it is implemented. > you mean the client/server thing in DSPAM? You can talk directly to the DSPAM socket or TCP address and port (if you don't use ServerDomainSocketPath). Here an example with TCP against a DSPAM server that has "auto" as ServerMode: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= nyx ~ # telnet localhost 24 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 DSPAM LMTP GIT Ready LHLO myident 250-nyx.vunet.local 250-PIPELINING 250-ENHANCEDSTATUSCODES 250-DSPAMPROCESSMODE 250-8BITMIME 250 SIZE MAIL FROM: <mypassw...@myident> DSPAMPROCESSMODE="--client --classify --deliver=innocent,spam" 250 2.1.0 OK RCPT TO: <ste...@bajic.ch> 250 2.1.5 OK DATA 354 Enter mail, end with "." on a line by itself Testing something... nothing important. . X-DSPAM-Result: ste...@bajic.ch; result="Innocent"; class="Innocent"; probability=0.0807; confidence=1.00; signature=N/A . QUIT 221 2.0.0 OK Connection closed by foreign host. nyx ~ # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Read the README how to setup DSPAM in daemon mode and configure dspam.conf and add an ident and a password for that ident. You can ad as many ident/password combinations as you like. The communication to the DSPAM daemon in client/server mode is using DLMTP (this is DSPAM-proprietary LMTP dialect). > Best Regards > -- Kind Regards from Switzerland, > Martin > Stevan Bajić ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user