![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
1·
1 year agoNot directly to your exact question, but do you have something like rspamd set up? I would consider doing some filtering with rspamd modules. It’s a lot of learning to go through, but has some good defaults. It can filter outgoing mail as well as incoming.
Are you using docker compose? You can set the container hostname for telegraf, https://community.influxdata.com/t/incorrect-hostname-picked-up-by-telegraf-docker-container/24469/6