JojiiOfficial / Matrix-EmailBridge

A bridge written in Golang to receive and write emails in matrix
BSD 2-Clause "Simplified" License
122 stars 14 forks source link

name of bridge #35

Closed bendschs closed 3 years ago

bendschs commented 3 years ago

I can not figure out the name of to bridge to invite.

it starts correctly with

./emailbridge 
logged into matrix successfully

do i have to register a new user for the bridge?

JojiiOfficial commented 3 years ago

You have to register a new user on your home server. You have to add this user to the config file. Then you start the bridge and invite this user into a private room.

bendschs commented 3 years ago

ok did that, the user is invited and online but does not seem to accept the invitation or reply. what is wrong here?

Bildschirmfoto 2021-01-17 um 13 04 38
bendschs commented 3 years ago

i actually noticed, that the bridge gives a successful login message even when it is started with fresh, unedited config file, so that is a bit misleading ...

./emailbridge 
logged into matrix successfully
@m:matrix.org
bendschs commented 3 years ago

so since i have no possibility to check if the configuration is right, i am posting my config file here (actual domain and token edited out). Can anybody tell me if it looks right?

{
  "allowed_servers": [
    "matrix.myserver.com,"
  ],
  "defaultmailcheckinterval": 30,
  "htmldefault": false,
  "markdownenabledbydefault": true,
  "matrixaccesstoken": „mytoken",
  "matrixserver": "matrix.myserver.com",
  "matrixuserid": "@emailbot:matrix.myserver.com"
}
JojiiOfficial commented 3 years ago

Your config looks fine. This issue is very likely related to #36

JojiiOfficial commented 3 years ago

38 should've fixed this issue. On further issues, reopen this one or create a new one.