Tagged: Mail O365 SMTP
30. Juli 2021 at 10:48 #11782lukas-stelterParticipant
ive run into a problem concerning the integration of O365.
Im running OTOBO as a Docker, Version 10.
When trying to send a Email via OTOBO the following Message appears.
On the Firewall there is no Problem.
The Email-Address an Password are both correct.
Ive also tried using SMTPTLS:587, same thing.
31. Juli 2021 at 12:35 #11785A. FloraParticipant
Couple of thing you can try to figure out what is wrong:
- attach to the running web docker and check the logs shown on the console using command: docker attach otobo_web_1
- connect to the webserver docker using bash and check by using telnet if connection works to the office 365 servers from there using command: exec -it otobo_web_1 /bin/bash
- check dns settings if the office 365 server is reachable or use ping and telnet etc from the bash console stated above.
ps, use the docker commands from within the /opt/otobo folder otherwise it won’t work
if something comes up, update the forum ticket ;-)
31. Juli 2021 at 12:37 #11786A. FloraParticipant
one other thing, did you allow external connections in office 365 ? i believe you need to set something on office365 to allow smtp connections from external sources. Maybe check google on this one.
2. August 2021 at 15:40 #11792lukas-stelterParticipant
i was able to ping smtp.office365.com but the /opt/otobo folder doesnt exist on my otobo docker, therefore i cant try out the commands you recommended.
Am I doing something wrong?
6. August 2021 at 21:57 #11804herman-theronParticipant
For my Otobo installation, I configured Postfix to relay through O365. Otobo is configured to use the local Postfix mail server. I find this to be a more reliable way to manage mail sending (getting all the features of a full mail server – retry, easier to trace mail log files, etc).
Let me know if anybody is interested in the setup of Postfix to relay through O365.
- You must be logged in to reply to this topic.