SMTP example?
Closed this issue · 4 comments
Is there a good example config for the SMTP setup?
I've setup the ENV but can't get it to fire on a ban....
sendmail myuser@mydomain.com works fine though, so the wiring is correct, but my jail/f2b config is clearly "not right"
Pointers appreciated :)
Hi @ptruman,
I need more info (like logs). Please create a proper bug report. Thanks.
I was just after a config example like you had for traefik etc - i.e. ENV setup (I can see those examples) and an example in jail.d or actions.d and jail.local :)
I've had plenty of fun today getting this working with traefik 2,2.5 (only INPUT seems to work properly for me) and got stymied by fail2web not behaving, so it was just a request for sample configs - I can probably spot what I'm missing from those, rather than enabling DEBUG, restarting and poking it a bit :)
@ptruman There is an example in this section. Then you can use the SSMTP_*
env vars defined here.