I've looked under /etc/mail with no luck. I'm trying to use sendmail from command line. Would I be using the existing configurations in place for the system emails? Where can I find those?
Typical UNIX mail is a complete subsystem, involving processing, queueing, and routing, something FreeNAS would not want, need, or use. Last I looked, FreeNAS was using one of the common mail-on-a-webserver micromailers to establish outbound SMTP to a real outgoing mailserver.
Yeah, I actually went down the OP's path in the past.
The mail system on the FreeNAS appliance is completely handled by python scripts that are part of the Django GUI, I believe. There is no "sendmail" or any of the typical daemons/service for that. I found this confusing myself when I began poking around.
Thank you for the responses. So how can I send emails from scripts? I'm not too familiar with Django. I can figure out Python if I have a place to look as a sample.
Well, /usr/bin/sendmail does exist--it's just a symlink to mailwrapper, which I didn't follow any further. @pcloadetter, I have scripts that send mail using things like "
sendmail -t < /var/cover". The server configuration is however it's set through the web GUI.
Well, /usr/bin/sendmail does exist--it's just a symlink to mailwrapper, which I didn't follow any further. @pcloadetter, I have scripts that send mail using things like "
sendmail -t < /var/cover". The server configuration is however it's set through the web GUI.