On Thu, Jul 03, 2003 at 09:25:25AM +0200, Martin Fahrendorf wrote:
Content-Description: signed data
Am Donnerstag, 3. Juli 2003 08:18 schrieb Michael Scherer:
> So you have to start a process for every single massage. That is wat
> I want to avoid. It is no problem while you are receiving only few
> messages per hour. But else, the overhead is to much. A daemon
> talking smtp is prefered (and that is waht amavisd-new does).
But, IIRC, amavis forks a new spamassasin in the backgroung for each
message, so, this is almost the same ?
No, amavisd-new runs as a daemon and is written in perl. It loads the
Mail::Spamassassin perl module at starttime. No external process is started
(besides the virus scanner not speaking smtp).
well,
this is not actually true if $bypass_decode_parts is not defined it does
run external programs to extract the mime content and pass it to the
antivirus.
I believe the heavier thing is that it runs file(1) on each part to
determine the filetype, but i believe this can be easily replaced by
File::MMagic perl module (if i am able to test it successfully will
forward a patch upstream)
Regards,
L.
--
Luca Berra -- [EMAIL PROTECTED]
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \