[Mimedefang] Running SA checks on specific users only

David F. Skoll dfs at roaringpenguin.com
Thu May 29 20:11:00 EDT 2003


On Thu, 29 May 2003, Kelson Vibber wrote:

> Of course, it would be even better if it only streamed the message if it
> was a *mix* of users who do and don't want SpamAssassin  This should be
> pretty easy, but I just haven't gotten around to it.

Plug here:  CanIt-PRO divides the list of recipients into "classes",
where each class has the same set of SA (and other) preferences.  It then
only streams by class.  In other words, if the ten recipients fall into
three different classes, it re-mails out three copies, with each copy's
recipients all being in the same class.

This is quite easy to code; look at the source for stream_by_domain
to give you ideas.  I'll leave it as an exercise for the reader, though. :-)

--
David.



More information about the MIMEDefang mailing list