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 ;-)
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.
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.
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.
if you happen to have a few notes how to set this up, i would gladly take a look at it.
I am currently testing a 10.1.4 setup based on debian 11, getting SMTPTLS to work is currently my problem…. I am getting „Could not connect to host ’smtp.office365.com‘. ErrorMessage: Resource temporarily unavailable“ (yet networking and DNS works fine, also IMAPTLS works fine. )
yes it’s possible to use a own mailserver on OTOBO side, but it’s definitely possible to connect to O365, I have already connected several systems to it without problems.
Lukas, on a docker system you need to change first inside the container, then you are already in /opt/otobo:
docker> docker exec -it otobo_web_1 bash
Now please check if O365 is really reliable:
telnet smtp.office365.com 587 (or test the other smtp ports like 25)
Default setting in O365 is SMTPTLS, not insecure SMTP.
If Office365 and the SMTP Settings in OTOBO is configured correctly, it works.
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: