From: Randy S. <per...@vu...> - 2006-12-12 20:59:47
|
On 12/12/06, Gowranga <gow...@se...> wrote: > Hello, > > Thanks for your mail. I was able to get spamassassin detect the > blacklisted address by specifying the default_domain in sasql_conf.php. > However, with this setup, the Bayesian statistics suffers, does not reveal > spam and ham counts. Under the database, bayes_vars table show the counts > alright. I had commented out default_domain earlier to get this > statistics. > My server setup has one domain and a few virtual-domains, all under one > host, and allows "user" and not "user@domain" to login. Kindly hint on the > specific SA config that needs to be checked to get proper results. > Thanks You need to be sure that you are passing 'user' and not 'user@domain' to spamc. That must be consitant in all places in your system, from spamc -u 'user' to what the user logs in to SM with (for sasql) to the user name associated with each setting in your database. SA does not consider the user 'fred' to be the same as the user 'fr...@do...' even if your mail server treats them as the same user. > > -gowranga > > > On 12/11/06, Gowranga <gow...@se...> wrote: > >> Hello, > >> > >> I am running SM(1.4.9a), supported by SASQL(3.2.0)plugin and > >> spamassassin(3.1.7). I am using spam_buttons plugin to help > >> learn spam and not-spam mails, with the following two lines in > >> config.php: > >> > >> $is_spam_shell_command = 'sudo -u root /usr/bin/sa-learn --spam -u > >> ###USERNAME###'; > >> $is_not_spam_shell_command = 'sudo -u root /usr/bin/sa-learn --ham -u > >> ###USERNAME###'; > >> > >> I have setup sql for "bayes_store" and "awl", and observe the counts on > >> "spam" and "ham" get updated. While SASQL rewrites the > >> subject header for a blacklisted address before delivering mails to a > >> certain account (gowranga), it does not do so for any other account on > >> the > >> server. The filter spamass-milter is running without "-u" option. > > > > sasql does not do anything to any message. It just lets you set > > various options for SpamAssassin. Check your SA config and the docs. > > > > [snip] > > > >> > >> The "userpref" table shows proper "blacklist_from" preference-value > >> pair entries for all accounts. Kindly help me understand the mistake. > >> Thanks in advance > >> > >> -gowranga > > > > -- > > Randy Smith > > http://vuser.org/ > > http://perlstalker.vuser.org/ > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > squirrelmail-plugins mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squ...@li... > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- Randy Smith http://vuser.org/ http://perlstalker.vuser.org/ |