Just installed a fresh instance of ncp v1.50.3 with a Raspi Image. All good. I set up email notification via nextcloud and smtp. This works great. At the ncp ui, I activated notification emails for fail2ban. They fail.
I believe the smtp settings are not correctly passed over to postfix.
my mail.log shows they are still trying to send from the default. (email@example.com). I believe the sender credentials are not passed over to postfix.
I have no idea where to set them.
Please help. Thanks!
I’m unable to check this directly on a ncp instance at the moment, sorry, if I’m not completely mistaken you can find it in the files at the locations written here
Thanks! I looked thrue there and googled around, but was not really able to change the default.
Is it correct to create sendmail-whois-lines.local
Destination/Addressee of the mail
dest = firstname.lastname@example.org
Sender of the mail
sender = email@example.com
? Sorry if this is a silly question.
I anybody could hint me to a good guide where and how to set the defaults for sendmail, I´d be very thankful. Ideally It would be great to set this in th ncp web-ui.
The wiki for fail2ban sendmail configuration can be found here I don’t know but I think it’s the bottom part you need