Am Mittwoch, 2. Juli 2003 16:13 schrieb magic:
> Martin Fahrendorf wrote:
> >>   Actually, spamassassin as setup runs as a deamon (spamd), and hooks
> >>into Postfix as a filter.
> >
> >So how do you feed the mails from postfix into spamd and how does spamd
> >handles the mail back to postfix?
>
> I am not going to pretend I understand everything, but he's my (over
> simplified) explaination:
>
>    Postfix gets an email (inbound)
>    Postfix content filter (spamfilter.sh) passes email to spamd, using
> spamc (spamc is a light-weight client for spamd).
>    Upon completion, the processed email is reinjected into postfix
> (through another content filter) for delivery.
>
>    The content filters are configured in /etc/postfix/master.cf:
>
> # SpamAssassin-start
> spamfilter unix - n n - - pipe
> user=spamfilter argv=/etc/mail/spamfilter.sh -f ${sender} -- ${recipient}
> smtp inet n - y - - smtpd
> -o content_filter=spamfilter:
> smtp unix - - y - - smtp
> -o content_filter=spamfilter:
> # SpamAssassin-end
>
>
>    Hope this helps!
>
>    S

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).

Martin
-- 
------------------------------------------------------------
H E L I X Gesellschaft f�r Software & Engineering mbH
------------------------------------------------------------
Hanauer Landstrasse 52              Telefon (069) 4789 35-30
D-60314 Frankfurt am Main           Telefax (069) 4789 35-44
------------------------------------------------------------
http://www.helix-gmbh.net                [EMAIL PROTECTED]
------------------------------------------------------------

Attachment: pgp00000.pgp
Description: signature

Reply via email to