LowellObservatory / Ultimonitor

A job/print monitor for the Ultimaker 3 Extended (or any printer supporting that style API), that takes snapshots and emails about them as well as manages statistics gathering
Mozilla Public License 2.0
1 stars 0 forks source link

SMTP setup is fragile #3

Closed astrobokonon closed 4 years ago

astrobokonon commented 4 years ago

Since I'm not running printzini in a container during debugging, and restricted the dirtymail net to the docker subnet and lowell subnet, I can't reliably figure out a way to reference the damn server in the configuration file. Super annoying.

astrobokonon commented 4 years ago

One solution is to just run printzini in a container, and reference the SMTP server via the container name alias...but I'm not ready for that yet.

astrobokonon commented 4 years ago

Another option is to just ditch the SMTP server entirely, because it's fiddly and a spam target and it's probably easier to just use a @lowell.edu email. I'll start working on that.

astrobokonon commented 4 years ago

Could at least just set up the mail container with a static (private, docker) IP address too.

astrobokonon commented 4 years ago

Decided to ditch it all and just use gmail + authentication. Too easy to screw up with the relay I had going to create a spam vector. Initial changes occured around 42fc1eae0620ef024a51e67089fa6124c1b595e1 but it's wrapped up in the general async temperature logging changes too.