Message contents and attachments sent through the API are stored in the same place, chosen in Administration › Storage.
1. The server's disk (default)
By default, with no settings, mail goes into the mail engine's Docker volume, API attachments into the product database, and everything is included in the backups. With 100 GB of NVMe, it is the right choice as long as the disk is not 80% full (monitoring warns you at 80% and then at 90%).
2. MinIO on a machine of your own
When the disk becomes too small, rather than a bigger server, you can move mail to S3-compatible storage. The cheapest is MinIO (free) installed on another machine of yours, with high-capacity disks. MinIO preset on the Storage page.
3. As a fallback, an S3 provider
Presets AWS S3, Cloudflare R2, Backblaze B2, Scaleway or other (any S3-compatible service). The bucket must be dedicated to mail and separate from the backups bucket.
Switch without losing anything
The Storage page guides the switch, step by step:
- Test the connection to the bucket;
- Copy mail to bucket while everything is running;
- Save; stop the engine (
docker compose stop enginein/srv/voaaro/deploy/compose), run the copy again for the latest messages, then restart it (docker compose start engine); - Verify switch: the console reads messages back from the bucket;
- if needed, also move the API attachments.
Back to disk:
cd /srv/voaaro/deploy/compose
sudo docker compose run --rm --user 2000:2000 voaaro storage migrate mail-to-diskOnce files are in a bucket, its address, name and prefix can no longer be changed from the console (so that nothing gets lost along the way).