Sendmail issue

mow4cash

Contributor
Joined
Jan 20, 2017
Messages
132
If I send a simple test message it shows up in mail log but the message never reaches my email. I have smtp set up correctly along with a root user email. I receive all Freenas built in email notices and tests fine. I am unable to send this message or use and custom scripts
echo "Subject:Hello \n\n I would like to buy a hamburger\n" | sendmail email@example.com

Code:
Jan  8 13:09:59 freenas /find_alias_for_smtplib.py[35827]: sending mail to myrealemailhere@gmail.com
Subject:Hello

 I would like to buy a hamburger
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
If I send a simple test message it shows up in mail log but the message never reaches my email. I have smtp set up correctly along with a root user email. I receive all Freenas built in email notices and tests fine. I am unable to send this message or use and custom scripts
echo "Subject:Hello \n\n I would like to buy a hamburger\n" | sendmail email@example.com

Code:
Jan  8 13:09:59 freenas /find_alias_for_smtplib.py[35827]: sending mail to myrealemailhere@gmail.com
Subject:Hello

I would like to buy a hamburger
Is this in the new 11.2 version of FreeNAS?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Top