#docker #synology #thunderbird https://github.com/jlesage/docker-thunderbird ## Introduction Since we moved our email hosting off of 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 an running my phone would get overwhelmed by system messages and SPAM (I did not want to mange 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 won NAS) ![[thunderbird-14.png]] Your credentials are the credentials you used 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? - 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]]