Closed MenchenFive closed 3 years ago
I am such an idiot. At first I thought it was some sort of DNS issue, so I changed my config to:
image: kostyaesmukov/smtp_to_telegram
container_name: telegram_smtp
restart: always
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- 52525:2525
environment:
- ST_TELEGRAM_CHAT_IDS=POTATO
- 'ST_TELEGRAM_BOT_TOKEN=POTATO'
It still didn't work; but, a lightbulb shined above my head, and so I then tried setting up the user (1000:100, which is my docker user for openmediavault); and fixed it completely.
image: kostyaesmukov/smtp_to_telegram
container_name: telegram_smtp
restart: always
user: 1000:100
ports:
- 52525:2525
environment:
- ST_TELEGRAM_CHAT_IDS=POTATO
- 'ST_TELEGRAM_BOT_TOKEN=POTATO'
Hope this helps somebody in the future. Closing the issue. PBCAK error
Trying to set this up on my OpenMediaVault NAS, in order to tunnel all email notifications (OMV, torrent, etc...) to telegram. However, whenever I try to send a test email, the whole thing just enters in an endless loop, prompting the following messages over and over again in a really fast manner:
and on an on...
My config is the following. I assume the bug is due to the network_mode : host, but I need to set it up this way so I can send emails from OMV itself.