On Mon, 29 Jan 2018, Palvelin Postmaster wrote:
On 26 Jan 2018, at 7:59, Bill Cole <sausers-20150...@billmail.scconsult.com>
wrote:
On 25 Jan 2018, at 4:54 (-0500), Palvelin Postmaster wrote:
Hi all,
I tried to install Mail::SpamAssassin via Perl CPAN on a relatively fresh
install of macOS 10.13.3 High Sierra. Make test stalls indefinitely. Can anyone
offer suggestions what I should do?
Be grateful, you dodged a bullet :)
Apple's idiosyncratic Perl installation has historically been intolerant of
user installation of additional modules or updates of existing modules. Maybe
High Sierra breaks with that tradition, but I doubt it.
Unfortunately I didn’t, it seems. :(
I have macOS High Sierra 10.13.3 using SpamAssassin 3.4.1 on Perl 5.24
installed via MacPorts. When running SA with bayes enabled, the
bayes.toks files grow indefinitely until the volume is full.
This thread suggests the issue may only occur on an APFS volume:
https://discussions.apple.com/thread/8203349
Trying to analyze the problem I noticed that the same situation occurs
when running 'make test' for Mail::SpamAssassin the bayesdbm.t. My guess
is that either SpamAssassin's Bayesdbm.pm module or one of it's
dependencies is the culprit.
Does anyone have suggestions as to how I should proceed in resolving
this? For me moving the bayes file to a HFS+ volume is not an option.
I assume you *are* running Bayes expires, and they complete successfully
but are not controlling the dbm file size growth?
If you export the database does the also grow without bound?
If not, perhaps this would be a workaround:
1) Export the bayes database
2) Wipe and recreate empty database
3) Import the exported data
Or: convert your bayes to redis?
You might also poke around in the db-utils package, that might be a
free-space recovery tool analogous to VACUUM that would recover space. If
that also didn't that might help isolate the cause of the problem.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
*Your* lack of self-control does not give you
the authority to dictate limitations on *my* freedom.
-----------------------------------------------------------------------
84 more days working to pay your (average) annual US tax bill
before you're finally working for yourself.