Thanks for your reply.
I found where the backup actually runs on line 313:
Then I read the Duplicity manual and I would need to add additional --exclude options there, or maybe --exclude-filelist or --exclude-globbing-filelist.
That would imply changing lines in a file that is provided by the Mailinabox project.
I’m not afraid of doing that, it’s just a hassle. I’ll put it on my todo list and I’ll probably do it with Ansible.
Those lines haven’t changed in the last 9 years so the chance they’ll change upstream is very low. Which makes them a good candidate for my Ansible shenanigans.