On Sun, Oct 29, 2006 at 06:15:12PM -0700, Alan Fullmer wrote:
> I have a question.  I'm not sure If it's a setting in Postfix or if
> something needs to be set with my wrapper script.
> 
> Currently I have Postfix doing virtual lookups by mysql tables.  From that
> point, I have this:
> Master.cf
> --------------------------
> smtp      inet  n       -       -       -       -       smtpd -o
> content_filter=spamassassin:dummy
> 
> spamassassin unix - n n - - pipe
>   flags=Rq user=spamassassin argv=/data/scripts/spamfilter.sh -f ${sender}
> -- ${recipient}
> 
> -----------------end

  It's generally far preferable to use an smtp filter such as
amavisd-new.

  It can work correctly though less efficiently with a pipe, but your
spamfilter.sh wrapper script would need to be considerably more complex
to work correctly; in particular, it needs to pass all of the
recipients to the reinjection step.

  -- Clifton

  P.S. Please don't crosspost to lists with disjoint memberships; I'm
trimming the postfix list as I'm not currently subscribed.

-- 
    Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

Reply via email to