]> diplodocus.org Git - mdeliver/commit
Add a sample processor. This talks to spamassassin spamd to find out
authorepg <>
Thu, 30 Mar 2006 02:28:59 +0000 (02:28 +0000)
committerepg <>
Thu, 30 Mar 2006 02:28:59 +0000 (02:28 +0000)
commiteefa3c3bdf7230652826a39c5f7586ad3b672016
treeea5f0b367bbad118b1c7feda7d345948890d60d2
parente497634c7431527c093d230a8464cac4c54d2080
Add a sample processor.  This talks to spamassassin spamd to find out
if a message is spam.  If so, it moves it to maildir/spam, else it
moves it to maildir/new.

{libspamc,utils}.[ch] are icky, icky bits from spamassassin's spamc.
The only substantial change is to make libspamc.c:_message_read_raw
mmap the message instead of reading the entire thing into memory (wtf
were they thinking?!).
Makefile
libspamc.c [new file with mode: 0644]
libspamc.h [new file with mode: 0644]
processor.c [new file with mode: 0644]
utils.c [new file with mode: 0644]
utils.h [new file with mode: 0644]