Perl Monk, Perl Meditation | |
PerlMonks |
Mail::SpamAssassin::CmdLearn hackingby submersible_toaster (Chaplain) |
on Jun 26, 2003 at 01:55 UTC ( [id://269084]=perlquestion: print w/replies, xml ) | Need Help?? |
submersible_toaster has asked for the wisdom of the Perl Monks concerning the following question: brothers and sisters in perl , It seems while spamc and spamd have options for sql stored bayes_dbs or virtual user directories, sa-learn has a completly different syntax for specifying configuration and user_prefs locations. Having seen posts on the sa-talk mailing list regarding this collect zero responses, I decided to have a bash getting sa-learn to use virtual config directories in the manner of spamd. After browsing the source for a minute, making this hack to CmdLearn.pm allowed me to use the option username and virtual-config-dir , combining them to pass user_dir to Mail::Spamassassin::new. With SA 2.53, Mail::SpamAssassin::CmdLearn Has anyone else come across this while using spam assassin, no users have system accounts on the server I am configuring. More to the point, has anybody made this work already? thanks -toaster I can't believe it's not psellchecked
Back to
Seekers of Perl Wisdom
|
|