Cronjob Email not Sending

Tabmowtez

Dabbler
Joined
Nov 12, 2020
Messages
36
Hi,

New install of TrueNAS-12.0-U1 here and I cannot get any cronjob e-mails working.
They are simple scripts, which work fine when ran from the command line, and also when I test e-mail sending from the GUI also works.
When the cronjob fires I don't get any e-mails, the maillog looks like below.

Jan 9 00:00:00 truenas newsyslog[8329]: logfile turned over
Jan 9 00:30:01 truenas 1 2021-01-09T00:30:01.690848+11:00 truenas.local /find_alias_for_smtplib.py 9697 - - sending mail to -oi
To: my@email.here
Subject: SMART Status Report for TRUENAS
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===== MIME boundar
Jan 9 00:30:01 truenas 1 2021-01-09T00:30:01.815133+11:00 truenas.local /middlewared 216 - - Failed to send email to my@email.here: [Errno 32] Broken pipe
Jan 9 00:35:00 truenas 1 2021-01-09T00:35:00.675892+11:00 truenas.local /find_alias_for_smtplib.py 10185 - - sending mail to -oi
To: my@email.here
Subject: ZPool Status Report for TRUENAS
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===== MIME boundar
Jan 9 00:35:00 truenas 1 2021-01-09T00:35:00.808600+11:00 truenas.local /middlewared 216 - - Failed to send email to my@email.here: [Errno 60] Operation timed out

Is there anywhere else I should look for hints here?
Was the same issue using either Gmail OAuth or my own SMTP server, cron mail won't send but manual firing of the scripts would as well as 'Send Test Mail'.

Any help would be much appreciated.

- Terry
 
Top