OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: creysson on November 13, 2023, 11:52:59 PM

Title: Sending email by CLI
Post by: creysson on November 13, 2023, 11:52:59 PM
Hi,

I'm new to opnsense and coming from openwrt I have lot of scripts that send email using postfix.
I tried to configure postfix to send email, however, mail esxecutable is not installed.

Also tried with mailutils, but my .mail was unable to be parsed correctly.

Is there a tutorial anywehere that explains how to configure opnsense to be able to send emails by CLI?
Title: Re: Sending email by CLI
Post by: creysson on November 14, 2023, 02:41:13 AM
I ended up using this python script:
https://forum.opnsense.org/index.php?topic=6709.0