[MacPorts] #16690: add db46 support for p5-mail-spamassassin

MacPorts noreply at macports.org
Mon Sep 29 01:08:48 PDT 2008


#16690: add db46 support for p5-mail-spamassassin
------------------------------------+---------------------------------------
 Reporter:  13z73rch3un9 at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  enhancement             |      Status:  new                                  
 Priority:  Normal                  |   Milestone:  Port Enhancements                    
Component:  ports                   |     Version:  1.6.0                                
 Keywords:  db46 spamassassin       |        Port:  p5-mail-spamassassin                 
------------------------------------+---------------------------------------
 It would be nice to have support for db46 support for bayesian filters db
 with spamassassin.

 How to reproduce:
  * copy $HOME/.spamassassin/bayes_toks from a reasonably up-to-date linux
 machine
  * file(1) should identify the file as "Berkeley DB (Hash, version 9,
 little-endian)"
  * running ``spamassassin < /dev/null'' will return the following:

 [2274] warn: bayes: cannot open bayes databases
 /Users/lester/.spamassassin/bayes_* R/O: tie failed: Inappropriate file
 type or format

 [2274] warn: bayes: cannot open bayes databases
 /Users/lester/.spamassassin/bayes_* R/O: tie failed: Inappropriate file
 type or format


 FYI, if you create the file (by running sa-learn and feed something to it)
 you will get a file in "Berkeley DB 1.85 (Hash, version 2, native byte-
 order)" format. Again, as reported by file(1). Seems this is created by
 using the Perl DB_File module...

-- 
Ticket URL: <http://trac.macports.org/ticket/16690>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list