Hi, Y'all,
I had two partitions on the same disk, one APFS and the other HFS. I typically do an update to macOS and macOS Server by shutting down all services and then using Carbon Copy Cloner to make a full backup of the drive to the other drive. I had a failed/stalled update (still don't know why) and ended up rebooting off the clone on the APFS partition. I made a successful update and all was well. Until it wasn't.
Shortly after that, my startup disk complained that it was getting full (like, a few megabytes free), the machine was running slowly, and I had no idea what was taking up all that space. Folder sizes were ordinary, but I was able to download Omni DiskSweeper et voilà! I saw that I had numerous bayes_toks.expire files of enormous (tens of GBs) size each in /var/root/.spamassassin. I deleted them, deleted the bayes_toks files in /Library/Server... everything. Did the sa_learn step... and they would come back less than 24 hours later.
After finding this thread, I investigated and discovered I'd rebooted to the APFS volume and that might be the source of the problem. I shut down services, made a CCC clone to the HFS partition, rebooted, and since then (two months ago), I have not seen my bayes* files grow in size to any abnormal size. The files in /var/root/.spamassassin haven't been touched since that day or so, and the files in /Library/Server... are of a reasonable size, ≈1MB for bayes_toks and 170K for bayes_seen.
Having changed nothing else that I am aware of, I must conclude that APFS is causing the problem.
If I were brave, I'd CCC to the APFS volume and observe, but there's a limit to my patience.
/Bill