[Mimedefang] How can mimedefang use spamc/spamd funcitonsofspamassassin?

Jan Pieter Cornet johnpc at xs4all.nl
Thu Apr 14 05:49:32 EDT 2005


On Tue, Apr 12, 2005 at 02:29:55PM -0700, John Nemeth wrote:
> } Hmmm... on further reflection, your original request was for per-user
> } SpamAssassin preferences.
> } 
> } I think your best bet is to turn OFF MIMEDefang's SpamAssassin
> } integration, and run it from procmail.
> 
>      No, it isn't.  This has quite a bit more overhead.  Also, you
> can't reject messages this way.  You either have to discard them, or
> bounce them.  Bouncing spam is a bad idea because it often has the
> address of an innocent third party as the return address.  Note the
>
> } Any MTA-integrated SpamAssassin calls are by their nature
> } user-independent (since a given piece of email can have multiple
> } recipients).  I think you're stuck with MUA calls only.
> 
>      MIMEDefang's stream_by_recipient() function takes care of this
> problem.

... but stream_by_recipient will cause you to send bounces instead
of rejecting the email, if the spam was sent to more than one recipient.

You cannot have per-user configurations, and reject spam based on 
spamassassin score, in a general way, because of limitations of the 
SMTP protocol. There is little that mimedefang can do about that.

I am trying to do the same thing though :) but I don't think per-user
scoring with the granularity that spamassassin offers, is scalable.
I'm aiming for a few classes of SA settings, and probably also dividing
remote hosts in spammishness-levels, and then selectively tempfailing
multiple recipients when you receive different "classed" users from
spammish remote hosts. But that's currently only in the "idea" stage...

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list