Hi all. I have been struggling trying to get dovecot docker to work as a email storage system. The struggle is really with certs etc.
Essentially this is the Goal:
Have dovecot running on my TrueNas box with copies of all my email in there for easy access. I currently have a Maildir with emails back to the 1990’s (lol i am a data hoarder). There is ZERO need for outside connections or sending emails etc. It is just a dump for old emails.
The Issue:
Ports are up and visible, can telnet in. However connecting via Thunderbird from windows (all in name network) gives a variety of problems. ie. It needs SSL certs etc. I do have swag running on my system to get letsencrypt certs for stuff thats visible to the outside eg. My SearXNG site so all certs work with reverse proxy etc. but nfi how to get it working with internal IP ie. 192.168.1.250
I have tried self-signed and trolled the internet for seting up a mail server, but most come with “complete packs” etc. and not just the basic stuff I need. Eventually I will use my nextcloud email to connect to it for “web access” from outside.
Anybody got some step by step guides for this. I am using the dovecot/dovecot docker image.
version: "3"
services:
dovecot:
image: dovecot/dovecot
container_name: dovecot
environment:
- TZ=Asia/Bangkok
ports:
- 110:110 #POP3 on 110, SSL 995
- 995:995 #POP3 on 110, SSL 995
- 143:143 #IMAP on 143, SSL 993
- 993:993 #IMAP on 143, SSL 993
#- 587:587 #Submission on 587
#- 24:24 #LMTP on 24
#- 4190:4190 #ManageSieve on 4190
volumes:
- /mnt/pond/appdata/dovecot:/etc/dovecot
- /mnt/lake/cloud/dovecot:/srv/mail
restart: unless-stopped
network_mode: host
#networks:
# - privatenetwork
#networks:
# privatenetwork:
# external: true
Currently at a loss in trying to get this thing working
Any help or direction would be appreciated.
PS. one of the reasons for using Thunderbird is so I can connect to gmail and drag the email accross to archive it. Aslo, dedupe and other fun stuff.