-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi there... I'm using amavisd-new-20030616 with spamassassin 2.55 on freebsd 5.1 platform. My problem is, that spamassassin does not create or update bayes db. If i manually issue command spamassassin < mymail.txt bayes db is created in ~/.spamassassin directory successfully. Here is log of amavisd-new debug + SA debug turned on: debug: bayes: no dbs present, cannot scan: /export/data/amavisd/.spamassassin/bayes_toks debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=4.5 debug: running raw-body-text per-line regexp tests; score so far=6.8 debug: running uri tests; score so far=6.8 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=9.2 debug: all '*From' addrs: [EMAIL PROTECTED] [EMAIL PROTECTED] debug: all '*To' addrs: [EMAIL PROTECTED] debug: forged_rcvd_trail: entry 0: by=ath.cx from=(undef) mismatches=0 debug: forged_rcvd_trail: entry 1: by=najdi.si from=co.kr mismatches=0 debug: running meta tests; score so far=10 debug: auto-learn? safety=4, ham=-2, spam=15, body-hits=4.7, head-hits=5.3 debug: auto-learn: currently using scoreset 0. no need to recompute. debug: auto-learn? no: inside auto-learn thresholds or safety zone around required_hits debug: lock: 13338 created /export/data/amavisd/.spamassassin/auto-whitelist.lock.frost.lucky.si. 13338 debug: lock: 13338 trying to get lock on /export/data/amavisd/.spamassassin/auto-whitelist with 0 retries debug: lock: 13338 link to /export/data/amavisd/.spamassassin/auto-whitelist.lock: link ok debug: Tie-ing to DB file R/W in /export/data/amavisd/.spamassassin/auto-whitelist debug: auto-whitelist (db-based): [EMAIL PROTECTED]|ip=68.74 scores 1/10.6 debug: AWL active, pre-score: 10.6, mean: 10.6, originating-ip: 68.74.221.112 debug: add_score: New count: 2, new totscore: 21.2 debug: Post AWL score: 10.6 debug: DB addr list: untie-ing and unlocking. debug: DB addr list: file locked, breaking lock. debug: unlock: 13338 unlink /export/data/amavisd/.spamassassin/auto-whitelist.lock I have autowhitelisting turned on. as you can see, auto whitelisting database is successfully created, event it is in the same directory as bayes db should be. my local.cf: require_version 2.55 rewrite_subject 1 report_safe 0 always_add_report 1 use_bayes 1 auto_learn 1 allow_user_rules 1 auto_whitelist_file_mode 0600 bayes_file_mode 0600 bayes_use_hapaxes 1 bayes_expiry_min_db_size 1000000 use_razor1 0 use_razor2 0 use_dcc 0 use_pyzor 0 amavisd-new DOES NOT run in chroot. Here is amavisd-new log with bayes db created with sa-learn: debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=1.1 debug: bayes: 14323 tie-ing to DB file R/O /export/data/amavisd/.spamassassin/bayes_toks debug: bayes: 14323 tie-ing to DB file R/O /export/data/amavisd/.spamassassin/bayes_seen debug: bayes corpus size: nspam = 1742, nham = 759 debug: tokenize: header tokens for X-Envelope-From = "<[EMAIL PROTECTED]>" debug: tokenize: header tokens for X-Quarantine-id = "<spam-8636e8cca0ea1e15add3aae6dbdc5b3e-20030609-011422-44358-02-2>" debug: tokenize: header tokens for *F = "[EMAIL PROTECTED]" debug: tokenize: header tokens for *m = " qo08sm0uetswdta4 ripfbu57zu67z30dt4q aleksander stravs utushe com " debug: tokenize: header tokens for To = "[EMAIL PROTECTED]" debug: tokenize: header tokens for *c = "/html; charset="us-ascii"" debug: tokenize: header tokens for Importance = "Normal" debug: tokenize: header tokens for X-MSMail-Priority = "Normal" debug: tokenize: header tokens for *x = "Microsoft Outlook Express 6.00.2600.0000" debug: tokenize: header tokens for Content-Transfer-Encoding = "7BIT" .... and so on why is bayes DB tied read-only ? why is bayes db tied read-write when using spamassassin command? Any ideas? Best regards, Brane - ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ AMaViS-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ - ------------------------------------------------------- -----BEGIN PGP SIGNATURE----- iD8DBQE/CUMyfiC/E+t8hPcRApI2AJ90dAQaclbO1f+rt47fvro1ZmWPAgCeIyVq 3MjEpVgWlNAcwdMtIwxRPvc= =lqMF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk