I have installed PostFix and sendmail both,
and then try to set cron for a python script and want to send an email by cron.
My cron schedule like:
MAILTO=test@example.com
*/2 * * * * python3 /var/test.py >> /var/log/test.log 2>&1
Still Cron is not sending any email.
Please help what i need to do more.