Paul J Stevens wrote:
Tom Allison wrote:
Paul J Stevens wrote:
If you only want to read the Public/Spam box, why do you want to read
the box through SQL? Use fetchmail I'd say.
I don't have pop configured and I am not sure about the next question:
who do you authenticate as in order to access PUBLIC folders? I'll
assume this depends on who has rights (ACL) to the folder.
Who's talking about POP. Fetchmail talks imap fluently.
Setup a user 'spamadmin' who has full access to the Public/Spam folder.
Subscribe all users to Public/Spam.
Setup a fetchmailrc that feeds the contents to sa-learn daily.
These are some great scripts, thanks.
(minor corrections for me to sort out:
bogofilter instead of sa-learn,
postgresql instead of mysql
but the concept is all there in technicolor!)
I think I started on the wrong foot.
I set up a system user for the ownership of bogofilter's wordlist.db.
Unfortunately, I can't actually run anything as that user...
So, I can either set the /etc/passwd shell from /bin/false to /bin/(something)
or change the user to a non-system user...
Thoughts?