Daniel D Jones wrote:
>
>I'd like all posts from non-members discarded and posts from members to be 
>spam checked and held if they appear to be spam.  Is this possible without 
>hacking the source code?


It is possible by rearranging the global pipeline. This can be done in
mm_cfg.py.

The Default pipeline is in part:

    ...
    'SpamDetect',
    'Approve',
    'Replybot',
    'Moderate',
    'Hold',
    ...

Discarding non-member posts is done by Moderate and processing
header_filter_rules is done by SpamDetect. Approve should be before
Moderate and Hold or it won't be possible to pre-approve posts, so it
seems the best order to do what you want is to move SpamDetect to the
position between Moderate and Hold.

If this is your installation, and you control mm_cfg.py, you can
accomplish this by adding the following two lines to mm_cfg.py

GLOBAL_PIPELINE.remove('SpamDetect')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Hold'), 'SpamDetect')

and restarting Mailman.  If this is a hosted Mailman, you'll have to
convince the host to do it for you which may be difficult as it will
affect all lists in the installation.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to