djstevenson / songs-to-the-siren

A blog about songs
MIT License
0 stars 0 forks source link

Signups are borked! #364

Closed djstevenson closed 3 years ago

djstevenson commented 3 years ago

Maybe a Minion issue, but emails aren't being sent as far as I can see. Therefore, no-one can sign up.

djstevenson commented 3 years ago

Minion is working, it's authenticating to Hover mail that's the problem

"Auth failed: 535 5.7.8 Error: authentication failed: Authentication failed low05_8ec1190b4000f\n at /home/ytfc/html_songs/songs-to-the-siren/script/../lib/SongsToTheSiren/Task/SendMail.pm line 72.\n"

djstevenson commented 3 years ago

Installing sendemail is probably the best solution, then using that. I've tested it on my dev Mac and on the production Ubuntu box.

Basically, then I need to do something like:

cat :content: | sendemail -q -f admin@songstothesiren.com -t :recipient: -u :subject: -s mail.hover.com:587 -o tls=yes -xu admin@songstothesiren.com -xp 'password'

Might not work for every mail provider, but it works for Hover and seems faily uncontroversial.

I tried Mojolicious::Plugin::Mail but it won't talk TLS to hover.com and hasn't been updated in ages.

djstevenson commented 3 years ago

Fixed by PR #365

djstevenson commented 3 years ago

This is now in production, via 1.7.0 release.