Topic Resolution: Answered
Viewing 6 reply threads
  • Author
    Posts
    • #11782
      Answered
      lukas-stelter
      Participant

      Hello everyone,

      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.

      Any ideas?

      Thanks.

       

       

    • #11785
      A. Flora
      Participant

      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 ;-)

       

    • #11786
      A. Flora
      Participant

      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.

    • #11792
      lukas-stelter
      Participant

      Hi again,

      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?

    • #11804
      herman-theron
      Participant

      Hi there

      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.

       

      • #13157
        Volker Badziong
        Participant

        Hello,

        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. )

      • #13443
        Ayodele Olafare
        Participant

        Hello,

        Please I am interested. Could you please provide me with the details?

    • #13177
      Stefan Rother
      Keymaster

      Good morning,

      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.

      Best wishes from Germany,

      Stefan Rother

      Team OTOBO

    • #13363
      Best Answer
      lukas-stelter
      Participant

      The Problem was that the Otobo-docker was initially set up as HTTP.

      I reconfigured it that when it started working.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.