ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
172 stars 32 forks source link

Small issue with SMTP Relay #44

Closed nitrousnic closed 2 years ago

nitrousnic commented 2 years ago

Hi there,

I have been using Power Mail-in-a-Box for a few weeks now and have been absolutely loving the experience (aside from the small issue I will discuss below).

A few days ago, I decided to start using Sendinblue as an SMTP relay to improve email deliverability. However, I encountered an issue where none of the sent emails from Roundcube was being received by Sendinblue. The status checks show that the SMTP configuration is successful (using STARTTLS).

After looking into the problem, I found the following error message in /var/log/syslog:

Feb 15 22:53:46 srv2 postfix/smtp[39474]: BBFC982148: to=redacted@gmail.com, relay=smtp-relay.sendinblue.com[redacted-IP]:587, delay=402, delays=401/0.18/1.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp-relay.sendinblue.com[185.107.232.248]: no mechanism available)

I managed to fix it by running "apt-get install libsasl2-modules" as root. I also checked if it was installed beforehand, and it wasn't.

Just thought I'd report this small issue (maybe installing libsasl2-modules during setup might be all it takes to fix it?).

Nonetheless, many thanks for your work on Power Mail-in-a-Box. Absolutely love it!

ddavness commented 2 years ago

Thanks for the report! Most likely yes - we need to include libsasl2-modules somewhere in the system installer. Hopefully I'll have time to test and release a fix today.

nitrousnic commented 2 years ago

No worries! Once again, thank you for your great work on Power Mail-in-a-Box. Good luck with the fix!

ddavness commented 2 years ago

I'll keep this issue open until the fix is out, if you don't mind. Just for the record and so that I don't forget 😄

nitrousnic commented 2 years ago

Ah sure! Sorry about that! I'm really new to GitHub and am not really familiar with how things are done around here yet 😄

ddavness commented 2 years ago

Should be fixed now: https://github.com/ddavness/power-mailinabox/releases/tag/v56.2