[Wikitech-l] Re: send mail in python

2023-05-16 Thread Bryan Davis
On Tue, May 16, 2023 at 7:07 AM Tim Moody wrote: > > Thanks. That got me closer. I was not using ssl. When I took your code and > tried to connect to localhost I got > > STARTTLS extension not supported by server *nod* The local relay is bound to localhost, so I guess we never worried about

[Wikitech-l] Re: send mail in python

2023-05-16 Thread Tim Moody
Thanks. That got me closer. I was not using ssl. When I took your code and tried to connect to localhost I got STARTTLS extension not supported by server when I connected to mx-out03.wmcloud.org I got (220, b'TLS go ahead') But when I then do server.sendmail("nore...@wikimedia.org",

[Wikitech-l] Re: send mail in python

2023-05-15 Thread Bryan Davis
On Mon, May 15, 2023 at 2:57 PM Tim Moody wrote: > > 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" |