I'd like to send an email from a python3 process on a wmcs VPS to report errors.
I looked at https://wikitech.wikimedia.org/wiki/Help:Email_in_Cloud_VPS but could use some help.
sudo echo "Subject: sendmail test2" | /usr/sbin/sendmail -v <myemail> works.
When I try to send the equivalent from python smtplib I get a 221 error message.
Thanks,
Tim
wikitech-l@lists.wikimedia.org