SMTP Email Debugging in Chatwoot

TLDR rinndoge found a potential issue with SMTP's authentication setting in Chatwoot and changed it, but still faced email sending errors. sojan_official suggested checking if they could send emails successfully from console with the new settings.

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 03:07:33 UTC

Photo of sojan_official
sojan_official
Thu, 06 Apr 2023 12:16:08 UTC

please see if steps here helps ? : https://www.chatwoot.com/docs/self-hosted/faq/#how-to-debug-smtp-email-errors-in-chatwoot

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 16:42:11 UTC

Never tried 2nd step so I'll try that

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:14:33 UTC

sojan_official

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:14:36 UTC

Something occurred to me

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:14:37 UTC

# plain,login,cram_md5 SMTP_AUTHENTICATION=login

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:14:41 UTC

Perhaps it's login is the issue and I need to put plain instead?

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:54:22 UTC

Bingo! This might be the issue sojan_official

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:54:27 UTC

Requires PLAIN and I had it set to login

Photo of rinndoge
rinndoge
Thu, 06 Apr 2023 23:54:38 UTC

I'll test later and get back to you

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:18:35 UTC

Odd.

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:20:22 UTC

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:20:35 UTC

Still getting errors wtf (I restarted even)

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:27:10 UTC

Still having issues bruh'

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:40:55 UTC

No errors to go with those issues too

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:41:02 UTC

It errored above once

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:41:07 UTC

and then isn't erroring despite it not sending

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:43:59 UTC

It processes it

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:44:02 UTC

as I see it pop up in busy

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:44:05 UTC

doesnt send

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 01:44:10 UTC

but doesnt show in dead or retry

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:37:06 UTC

Net::SMTPFatalError: 551 5.7.1 Not authorised to send from this header address

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:37:08 UTC

sojan_official

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:46:34 UTC

I checked- it's the correct email address

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:46:52 UTC

DKIM & SPF is correct according to FastMail DNS Checker

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:47:00 UTC

wtf lol

Photo of rinndoge
rinndoge
Fri, 07 Apr 2023 23:47:09 UTC

Should I just reset the VPS and reinstall at this rate smhhhh sojan_official

Photo of sojan_official
sojan_official
Wed, 12 Apr 2023 09:02:40 UTC

rinndoge where you able to send an email successfully from console with the settings ? https://www.chatwoot.com/docs/self-hosted/faq/#step-2-validate-your-smtp-config-by-sending-an-email