<sub>(2024)</sub> #Docker #Synology #Thunderbird ## Introduction Since we moved our email hosting off Microsoft's Office 365, I wanted a quick method to manage mail rules on one device only but have the rules apply to all of my devices. Office allows you to host server-side rules, but my new provider is IMAP only and all of the mail rules I have created are client-side. This meant that unless a client was logged in and running, my phone would get overwhelmed by system messages and SPAM (I did not want to manage mail rules on my phone). The solution to this is to run Thunderbird in a container on my Synology. I am going to assume that you already have configured [Container Manager on your Synology](https://kb.synology.com/en-us/DSM/help/ContainerManager/docker_desc?version=7). ### Create Persistent Storage for the Container - Create a folder on your NAS under the Docker folder: **thunderbird** (lowercase) - Create a sub-folder: **config** (lowercase) ![[thunderbird.png]] ### Configuring the Container - Launch Container Manager and create a new image: ![[thunderbird-1.png]] ![[thunderbird-2.png]] Type `jlesage/thunderbird:latest`, then download the image ![[thunderbird-4.png]] ![[thunderbird-5.png]] ![[thunderbird-6.png]] Select Container and then Create ![[thunderbird-7.png]] ![[thunderbird-8.png]] ![[thunderbird-9.png]] ![[thunderbird-10.png]] For the next step you will need to know your Group ID and your User ID on the NAS. Use this link to determine this: https://mariushosting.com/synology-find-uid-userid-and-gid-groupid-in-5-seconds/ ![[thunderbird-11.png]] ![[thunderbird-12.png]] Leave the rest of the settings default ![[thunderbird-13.png]] ### Logging in to Thunderbird Point your browser to http://192.168.1.88:8800 (obviously use the IP of your own NAS) ![[thunderbird-14.png]] Use the credentials you configured when creating your container. ### Configure Thunderbird ![[thunderbird-15.png]] After you have configured your email then configure your SPAM filters ![[thunderbird-16.png|400]] ![[thunderbird-17.png|400]] ## Troubleshooting Can't connect to your container? Check the following: - Is your firewall enabled on the Synology? Did you allow the port through? - Check the container ports that you configured, i.e. http://192.168.1.88:8800 (note it is http NOT https) ![[thunderbird-18.png|400]]