On 15/06/2020 12.11, Per Jessen wrote:
Carlos E. R. wrote:
On 15/06/2020 11.56, Anton Aylward wrote:
On 12/06/2020 12:45, Carlos E. R. wrote:
However, I'm afraid you can't then tell cron to use mailx in the "MAILTO=" line.
That can be taken care of outside of CRON. CRON will invoke some mailer and you simply link that to mailx.
I understand cron invokes /usr/sbin/sendmail directly.
CRON(8) System Administration CRON(8)
...
-m This option allows you to specify a shell command to use for sending Cron mail output instead of using sendmail(8)
Way too much ado about nothing - just install postfix, the problem would have been solved three days back :-)
Yes, absolutely :-) Although, worth a look to see if raspian has ssmtp available. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)