hi martin, i have the same setup as you ... easiest way that i found was to create 2 shared mailboxes on the imap server -- one for ham-learn, and one for spam-learn. in cron, i have fetchmail that retrieves these messages and feeds them to sa-learn. fetchmail -a -s -n --folder 'Spam' -m 'sa-learn --spam' fetchmail -a -s -n --folder 'Ham' -m 'sa-learn --ham' there are probably much better solutions, but this works for me ... cheers charles On Tue, 2006-06-20 at 10:33 +0200, Martin Schiøtz wrote: > Hi > > I have installed Postfix, Cyrus, Cyrus-sasl, web-cyradm. Every thing > is using postgres for storing usernames, passwords etc. I'm using lmtp > for local delivery from Postfix/smtp to Cyrus. All mailboxes are > virtual. > > My next step is to install Spam control. My plan is to use > Spamassassin with dcc, razor, pyzor and bayes system. A want mail > users to be able to disable and enable spam control. I also wan't mail > users that has enabled spam control to train (sa-laern) and keep their > own bayes database. > > I have configured a similar system that does these things but with > sendmail, uw-imap and procmail. But How can I do this with > postfix/cyrus and virtual bailboxes? > > I can see a lot docs about postfix, cyrus and amavisd-new but can > amavis-new work with personal bayes db and sa-learn etc.? > > Best regards, > Martin > ---- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- "simplified chinese" is not nearly as easy as they would have you believe ... a superlative oxymoron" --anonymous ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html