SOLVED Does Sendmail work?

TooMuchData

Contributor
Joined
Jan 4, 2015
Messages
188
I have a script that works in Core and results in sent email. I converted it to run in Scale, and have confirmed that the email file was properly constructed. However, no mail is received.

The /var/log/mail.log contains these lines each time I run the script:
Oct 23 17:31:40 truenas3 find_alias_for_smtplib.py[487888]: sending mail to
From: truenas3@redacted
To: jeff@redacted
Subject: Status Report for truenas3
MIME-Version: 1.0
Content-T

Any suggestions? Report as bug?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,691
Are you running 21.08 or Nightly?
 

TooMuchData

Contributor
Joined
Jan 4, 2015
Messages
188
21.08. Is there a known problem?

from Core cli
echo "Subject: sendmail test" | sendmail -v jeff@redacted
is delivered.
from Scale cli not delivered.
cat /var/log/mail.log =
Oct 24 07:40:39 truenas3 find_alias_for_smtplib.py[1285770]: sending mail to -v, jeff@redacted
Subject: sendmail test
truenas3#
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,691
Not sure, but I'd suggest testing with nightly or waiting for next release on Tuesday. If there is still a problem, report a bug.
There are hundreds of bug fixes in the new version.
 

TooMuchData

Contributor
Joined
Jan 4, 2015
Messages
188
I know the RC arrives tomorrow, but I would test a nightly if I could find them.
 

marmoset

Dabbler
Joined
Dec 18, 2020
Messages
27
FWIW sending mail works fine for me, 20.08-beta.2

Just in case, you did set up email in the UI, correct? It's in a super weird place (click on the alert bell in the upper right, hit the setting cog/gear, and select email).
 
Top