#support

Issue Setting Up Email Integration on Chatwoot

TLDR enigma619_12590 is having trouble setting up email integration on Chatwoot and receives an error. sojan_official advises replacing 1 with the actual account id.

Powered by Struct AI
Oct 06, 2023 (1 month ago)
enigma619_12590
Photo of none
enigma619_12590
12:42 PM
Hi,

i've installed chatwoot on my self hosting.
Chat is OK i can receive messages and answer.
I want to use now email integration.
To be sure: with email integration, if someone send me and email on [email protected] (if configured on chatwoot) messages should come on chatwoot, right?

I've set MAILER_INBOUND_EMAIL_DOMAIN=myserver_hostname.net RAILS_INBOUND_EMAIL_SERVICE=relay


i've configured postfix on my server, if i send an email to [email protected] with telnet it's OK with my test.

I've configured integration on chatwoot, with [email protected] and at the end i've a: c781f82b1f0f264491f679500758282d@myserver_hostname.net as forward to email

I tried to use : https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/setup with

account = Account.find(1) account.enabled_features // This would list enabled features. account.enable_features('channel_email') account.save!

But:

3.2.2 :001 > account = Account.find(1) /usr/local/rvm/gems/ruby-3.2.2/gems/activerecord-7.0.8/lib/active_record/core.rb:284:in find': Couldn't find Account with 'id'=1 (ActiveRecord::RecordNotFound)`


I'm not sure of what to do and if i miss some things to do?
(I've re read documentation some times but no success)
And to add dome precision for the moment if i send an email with telnet to c781f82b1f0f264491f679500758282d@myserver_hostname.net no message come on chatwoot and on my postfix log i can see Recipient address rejected: User unknown in local recipient table (logical in fact)
Thanks for help
Oct 17, 2023 (1 month ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
12:52 AM
enigma619_12590 you need to replace the 1 with your actual account id.