Opened 16 years ago

Last modified 7 years ago

#16690 new enhancement

add db46 support for p5-mail-spamassassin

Reported by: 13z73rch3un9@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: p5-mail-spamassassin

Description

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...

Change History (5)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to simon@…

comment:2 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:3 Changed 14 years ago by simon@…

Owner: changed from simon@… to macports-tickets@…

comment:4 Changed 11 years ago by raimue (Rainer Müller)

Keywords: db46 spamassassin removed

comment:5 Changed 7 years ago by grumpybozo (Bill Cole)

This is not an installation/build issue, it is a configuration issue. See documentation of bayes_store_module in 'perldoc Mail::SpamAssassin::Conf'

Note: See TracTickets for help on using tickets.