People ;

I have a spamassassin installation in my box , detail as follows

[star]$ spamassassin -V
SpamAssassin version 3.1.8
running on Perl version 5.8.8

I want to deny the spam mails to the mailing lists running in
this box , how to do that
my MTA is postfix , mailman is the mailing list manager ,

sure so many experts here using their own setups for doing this ,
hope some of you , help with some tips & advice

Thank You


Note : I have procmailrc file and in that I specified for the 3 local
lists in my server box

I have 3 local lists ( in this machine with users email ids such as
x@yahoo.com, y@gmail.com etc )

Here I am usin postfix MTA , this is the config parameter in
postfix/main.cf

mailbox_command=/usr/local/bin/procmail -a "$EXTENSION"

following is my /usr/local/etc/procmailrc files contents
[star ~]$ cat /usr/local/etc/procmailrc

###############################################
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR/

:0fw
| /usr/local/bin/spamc -u spamassassin -s 256000

DROPPRIVS=YES

:0
* ^X-Spam-Flag.*YES
$MAILDIR.Junk/

:0
* ^TOlists
!devel,users,release
##########################################



and in /etc/aliases I have lines as follows

lists: spamassassin
// to redirect all mails to lists (local lists ; not the
mailman lists ) to //the
user spamassassin and that I defined in procmailrc above

devel: userx@yahoo.com,userY@gmail.com
users: userX@hotmail.com,userY@yahoo.com
release: userZ@aol.com,userX@gmail.com
################################################## #########


Q 1 ) so please tell me How I can use the same setup for blocking
spams to mailman mailing lists (not only local lists such as
devel,users,release as in etc/aliases )

Q 2 ) Here in this box no local user mailboxes , so how to train
spamassassin by using sa-learn ?

hint : by copying spams from those users gmail/yahoo spam folders
as .txt files to a
temporay folder say BadMails in that server box

and do # sa-learn --spam ~/path to/BadMails folder right ?


any hints most appreciated :
Thank you