On Fri, Jun 04, 2004 at 04:00:58PM -0700, Patrick Morris wrote:
> >Its my understanding that spamd is more than a wrapper.
> >I understood it to be a C program that does the same thing
> >as the SA perl.
> 
> spamd is Perl (take a look at it). It's a bit more than a wrapper, but 
> not by much.

"spamd" is perl, it's not a wrapper per se (that implies that it calls
the "spamassassin" script), but a daemon that runs messages through
the SpamAssassin perl modules.  The short answer for what spamd does
is that it essentially performs the same function as "spamassassin",
but stays daemonized so that the time required for perl startup and rule
compilation is minimized.

spamd is typically called by "spamc", a lightweight C program which simply
takes the mail, does a very small amount of logic (is the message too big?
etc,) then passes it to spamd which does the real work.


This is a slightly different version than what is found in "man spamc"
and "man spamd". :)

-- 
Randomly Generated Tagline:
"It is easier to port a shell than a shell script."
              -- Larry Wall

Attachment: pgpWuZHzDqvkC.pgp
Description: PGP signature

Reply via email to