Trying to learn Stalwart #550
Replies: 3 comments 4 replies
-
I figured out what the problem was with the directory storage. The value is the name of the directory, not the store, so in my case it should be:
That's a bit confusing considering the rest of the values are the store names. But anyway, the issue with |
Beta Was this translation helpful? Give feedback.
-
Another curiosity is that Stalwart also creates a bunch of other tables in the directory sqlite database:
When looking at their schemas they're all for blob storage. I didn't set up sqlite for blob storage. It's for directory storage. I don't see why it should be creating tables that I didn't specify in the configuration. |
Beta Was this translation helpful? Give feedback.
-
I've taken my time with this making sure I have things configured correctly, and I made the switch today. I have some additional questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi. I currently run a mail server for myself and have been interested in Stalwart for a while now. I decided to start poking around. I'm running the docker container. Currently using postfix I have a sqlite database and have it configured to query that database for almost everything pertaining to accounts and auth. I was hoping to replicate that somewhat in Stalwart. I'm nowhere near that point yet. Mostly, I've just been digging through the configuration and trying things out. I've sort of run into a snag just playing around with the different storage types:
I created a separate store for each storage. I know that's unconventional, but I'm just exploring. Everything's lifted almost verbatim from the documentation with only the names of the stores being different. This configuration, however, doesn't work. The log shows this:
As far as I can tell both are configured in the config.toml file. The folders were created in
/opt/stalwart-mail/storage
. The sqlite database was created by Stalwart in/opt/stalwart-mail/storage/directory.db
and the tables were even created as specified in the init section. However, Stalwart insists they are not there. It seems that if I set any storage to a store that is something other than rocksdb it won't accept it. What am I doing wrong?Beta Was this translation helpful? Give feedback.
All reactions