I have a requirement to send emails from various shell scripts. I've installed the postfix plugin but there's no commandline email client e.g. 'mail' to use in scripts. How do I install that? Apologies if this is a stupid question...
OPNsense is mostly PHP according to Github. https://github.com/opnsense/core
Have you tried its mail function? https://www.w3schools.com/php/func_mail_mail.asp
Bart...
This or postfix provides a tool as well.
Thanks, what's the postfix option please?
There is no postfix solution, there are many. It is a full featured MTA (that can work in standalone mode, satellite mode,... ) and has utilities like sendmail.