Hello guys and gals,
I’m currently setting up a Speckle Server for testing on our VM hosted on Azure. It works like a charm except for the mail invites … the server is not able to send anything to the outside world. Also, I have double-checked for invites in the spam of the recipients … no invite mail there. I have also double-checked the other posts here quite intensively, but they also could not help me with my issue.
Maybe you can give me a hint, about what I forgot to think about … still trying to figure out the whole thing beginning with the ABC of everything .
Step 1:
I have opened the SMTP Port 587 for the VM and also checked the open port via telnet. Port on the VM is fine
azureuser@speckle2-dev:~/opt/speckle$ telnet smtp.office365.com 587
Trying 52.98.152.194...
Connected to HHN-efz.ms-acdc.office.com.
Escape character is '^]'.
220 FR0P281CA0012.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 16 Jul 2022 20:32:22 +0000
Step 2:
In order to invite users, I’ve added the Mail Services to the docker-compose.yml. I took care of the right indention … I believe it was 6 spaces
EMAIL: "true"
EMAIL_HOST: "smtp.office365.com"
EMAIL_PORT: "587"
EMAIL_USERNAME: "address@bollinger-grohmann.de"
EMAIL_PASSWORD: "xyz"
EMAIL_FROM: "address@bollinger-grohmann.de"
as this didn’t work so far, I thought that maybe the docker container of the server needs an open port 587 as well:
speckle-server:
image: speckle/speckle-server:2
restart: always
ports:
- "127.0.0.1:587:587"
I have added the localhost with port mapping.
and checked it in the “docker container ls”:
> bc3c1b82e6c7 speckle/speckle-server:2 "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 127.0.0.1:587->587/tcp speckle_speckle-server_1
sadly still no mail … maybe you have an idea, where this issue might be … or is this mail service attached to another service and not to the speckle-server? As there is already a port given in the environment variable … it should work without adding anything else to the yml.
Thanks in advance for your help on this matter