I’ve sucessfully set up my own nextcloud installation, added security features according to the guide, etc.
I’ve also set up exim so that Nextcloud can send system emails (Send mode: ‘Sendmail’). That seems to work: when in the admin panel clicking on ‘Send email’ (to test email settings) I do receive an email.
I would like to set up a cron job to send a notification to my email address in case my RPi reboots. I’ve tried
echo “This is a test.” | mail -s Testing firstname.lastname@example.org
But that doesn’t do anything. So, now I’m wondering how exactly does nextcloud send its emails, what code is used?
Also, is it possible to adjust Nextcloud’s sender name? Currently it’s just the unindicative ‘raspberrypi’.