At 09:49 PM 6/1/2005, Jeffrey N. Miller wrote:
I want to use Spamassassin with MIMEDefang and Sendmail as a SMTP Gateway. Can you use spamd/spamc with this method or does it just invoke the script method?
Neither, mimedefang invokes SA directly at the perl API level. Since Mimedefang is already running in perl, invoking a separate process to use spamc/spamd would be slower.
The direct API level call is the fastest way for persistent perl daemons to call on SA. Effectively, these tools act as their own spamd by keeping an instance of SA always loaded and ready. However, the efficiency gain of using the API only works for perl daemons.
Perl scripts that execute, scan mail, and exit are better off invoking spamc. If they implement the API, they're no better than the spamassassin script.