mattermail
mattermail copied to clipboard
Mattermail is not working
Hi,
I want Mattermail to automatically send incoming messages to a Mattermost channel , but it doesn't work for me. My Mattermost server runs locally and is not accessible from the internet.
I get the following log outputs:
Mattermail Server Version: 4.0-dev
INFO Forumposts 09:07:03 Using Mattermost Api Version 4
DEBG Forumposts 09:07:03 Debug mode on
INFO Forumposts 09:07:03 Checking new emails
DEBG Forumposts 09:07:03 MailProviderImap.CheckNewMessage
DEBG Forumposts 09:07:03 MailProviderImap.CheckConnection: Dial
INFO Forumposts 09:07:03 Connected with "XXXXXXXXXXX:143"
DEBG Forumposts 09:07:03 ecoL7A LOGIN XXXXXXX XXXXXXX
DEBG Forumposts 09:07:03 MailProviderImap.selectMailBox: Select mailbox: INBOX
DEBG Forumposts 09:07:03 CuzPfQ EXAMINE INBOX
DEBG Forumposts 09:07:03 * 3 EXISTS
* 0 RECENT
* OK [UNSEEN 1] Message 1 is first unseen
DEBG Forumposts 09:07:03 * OK [UIDVALIDITY 1]
* FLAGS (\Answered \Seen \Recent \Flagged \Deleted \Draft)
* OK [PERMANENTFLAGS (\Answered \Seen \Recent \Flagged \Deleted \Draft \*)]
CuzPfQ OK [READ-ONLY] EXAMINE completed
DEBG Forumposts 09:07:03 5v1OGg CAPABILITY
DEBG Forumposts 09:07:03 * CAPABILITY IMAP4rev1 AUTH=CRAM-MD5 NAMESPACE ACL UIDPLUS ENABLE LIST-EXTENDED CHILDREN SPECIAL-USE CREATE-SPECIAL-USE METADATA
5v1OGg OK CAPABILITY completed
DEBG Forumposts 09:07:03 Im7c0Q CLOSE
DEBG Forumposts 09:07:03 Im7c0Q CLOSE succeeded
imap/client: 2018/10/12 09:07:03 response has not been handled: &{Im7c0Q [CLOSE succeeded]}
My config.json File looks like this:
{
"Directory": "./data/",
"Profiles": [
{
"Name": "Forumpost",
"Channels": ["#CHANNELNAME"],
"Email": {
"ImapServer": "XXXXXXX:143",
"Username": "USERNAME",
"Password": "PASSWORD"
},
"Mattermost": {
"Server": "http://XXXXXXXX:8065",
"Team": "test",
"User": "XXXXXXXX",
"Password": "XXXXXXXXX"
}
}
]
}
The data directory exists but nothing happens. Can anyone help me with this problem?
Doesn't anyone have any idea why it doesn't work? I'm thankful for any help.