• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü
Ansicht von 8 Antwort-Threads
  • Autor
    Beiträge
    • 23. September 2025 um 19:08 Uhr - Views: 1907 #36047
      Fabio Macchia
      Teilnehmer

        ello,

        My Otobo installation cannot send outgoing emails. The system log shows Can’t connect to smtp.gmail.com: !, but the server itself can connect to Google’s SMTP without any issues.

         

        Summary of Tests:

        Here is what we have confirmed is working correctly on the server:

        telnet smtp.gmail.com 587 -> Connects successfully.
        openssl s_client … -> Handshake completes successfully (Verify return code: 0 (ok)). The server trusts the certificate.
        sudo -u otobo dig smtp.gmail.com -> DNS resolves correctly for the otobo application user.
        otobo.CheckModules.pl –all -> All required Perl modules for mail (Net::SMTP, IO::Socket::SSL, etc.) are installed and ok.
        SELinux/AppArmor -> Checked and confirmed they are not blocking the connection.
        The Core Problem: Even though all underlying system and dependency checks pass, the Otobo application log still shows a Can’t connect error.

        We also noticed that a single otobo.Daemon.pl start command launches 6-7 separate daemon processes at once, which seems abnormal.

        Question: Why would the Otobo Perl environment fail to connect when all system-level tools work perfectly? What could be the cause of the multiple daemon processes?

        Any ideas for deeper debugging would be greatly appreciated. Thank you.

      • 24. September 2025 um 11:59 Uhr #36053
        Arnold
        Administrator

          Hi Fabio,

          the OTOBO Deamon starting multiple processes is by design. It has multiple assignments to complete concurrently.

          I think the wording of error message might be a bit misleading. Connecting to a host might not be the same as connecting a service.

          Have you configured an application password for your OTOBO?
          Are you using OAuth?
          Does fetching emails work correctly?

          You may get more information from the command line by running

          ./otobo.Console.pl Maint::Email::MailQueue --send --verbose

          for fetching emails you may run:

          ./otobo.Console.pl Maint::PostMaster::MailAccountFetch --debug

          Best regards,
          Arnold

        • 24. September 2025 um 18:07 Uhr #36095
          Fabio Macchia
          Teilnehmer

            Hi Arnold,

            Thank you so much for your help and for providing that excellent diagnostic command. It has given us much more information.

            To answer your questions:

            Yes, we have configured and double-checked the 16-character Google App Password.

            No, we are not using OAuth. We are using the standard SMTPTLS backend with username and password.

            Regarding email fetching, we haven’t tested it yet. Our primary and critical problem is with sending emails, so we have focused all diagnostics on that first.

            When I run the verbose console command to send mail, it fails with „Bad file descriptor“ and „Can’t connect“. I have the full log from that command.

          • 24. September 2025 um 18:10 Uhr #36096
            Fabio Macchia
            Teilnehmer

              Here is the full output from the verbose command sudo -u otobo /opt/otobo/bin/otobo.Console.pl Maint::Email::MailQueue --send --verbose:

              Traceback (399216) :
              Module: Kernel: : System: : CommunicationLog ::_ LogError Line: 563
              Module: Kernel: : System: : CommunicationLog: : ObjectLog Line: 321
              Module: Kernel: : System: : MailQueue ::_ SendError Line: 966
              Module: Kernel: : System: : MailQueue :: Send Line: 721
              Module: Kernel: : System: : Console: : Command: : Maint : : Email : : MailQueue: : Send Line:
              206
              Module: Kernel: : System: : Console: : Command: : Maint : : Email : : MailQueue: : Run Line:

              Module: (eval) Line: 480
              Module: Kernel: : System: : Console: : BaseCommand: : Execute Line: 474
              Module: Kernel: : System: : Console: : InterfaceConsole: : Run Line: 88
              Module: /opt/otobo/bin/otobo. Console.pl Line: 35

              Error:
              Could not send message with ID ‚18220‘! Please refer to the log.

              Sending has Failed.

              No messages available for sending.
              Error: Failed.

              root@otrs-otobo:/opt/otobo/var/log/Daemon# _

            • 25. September 2025 um 15:09 Uhr #36127
              Mike Thumes
              Teilnehmer

                Hi Fabio,

                there should be a little more info in the /opt/otobo/var/log/otobo.log about what exactly went wrong when trying to send email. You might have to turn on full debugging by setting the System Configuration Variable ‚MinimumLogLevel‘ to ‚debug‘ in the Admin UI.

                Hopes are this to shed some more light on the issue !?

                kind regards,
                -mike

              • 25. September 2025 um 16:27 Uhr #36129
                Fabio Macchia
                Teilnehmer

                  I can’t post the command output on the forum for you to help me because it says the message is spam.

                  How can I send it to you?

                • 25. September 2025 um 16:28 Uhr #36130
                  Fabio Macchia
                  Teilnehmer

                    ERROR: OTOBO-otobo. Console.pl-Maint : : Email: : MailQueue-19 Perl: 5.34.0 OS: linux
                    Time: Thu Sep 25 14:22:43 2025

                    Message: CommunicationLog (ID: 41067, Account Type :- , AccountID: -, Direction: Outgoing
                    , Transport : Email, ObjectLogType : Message, ObjectLogID : 72686) : : Kernel : : System: : MailQ
                    ueue => Temporary problem returned from server, requeuing message for sending. M
                    essage: SMTPCode: -, ErrorMessage: Can’t connect to smtp.gmail.com: !

                    Traceback (432358) :
                    Module: Kernel: : System: : CommunicationLog: : _LogError Line: 563
                    Module: Kernel: : System: : CommunicationLog: : ObjectLog Line: 321
                    Module: Kernel: : System: : MailQueue: : _SendError Line: 966
                    Module: Kernel: : System: : MailQueue: : Send Line: 721
                    Module: Kernel: : System: : Console: : Command: : Maint : : Email : : MailQueue: : Send Line:
                    206

                  • 26. September 2025 um 11:17 Uhr #36132
                    Arnold
                    Administrator

                      Hi Fabio,

                      after a little research I can not find one successful attempt to configure OTOBO against gmail.
                      I am very interested in the correct configuration if you are able to figure it out.

                      Godspeed!
                      Arnold

                    • 30. September 2025 um 11:04 Uhr #36379
                      Mike Thumes
                      Teilnehmer

                        Hi Fabio,

                        after asking around a bit I got the following steps from a community member who has a working GMail setup for Otobo:

                        prerequisite: you have a valid gmail account with emailaddress and a password.

                        1) generate GMail app password:

                        • login to your gmail account
                        • goto  https://myaccount.google.com/apppasswords
                        • create a new app password one. name it anything you want, perhaps GMAIL ?

                        further info: https://support.google.com/accounts/answer/185833?hl=en

                         

                        2) OTOBO Postmaster Setting IMAP

                        • Type: IMAPS
                        • username: full email address from gmail
                        • password: the app password from step 1)
                        • host: imap.gmail.com
                        • IMAP Folder: INBOX

                         

                        3) OTOBO Admin UI Email Addresses

                        change email address to your full gmail email address to use for outgoing email

                         

                        4) OTOBO SMTP: SysConfig -> Core -> Email

                        • SendmailModule: SMTPS
                        • AuthPassword: the app password from step 1)
                        • AuthUser: full email address from gmail
                        • Host: smtp.gmail.com
                        • Port: 465

                        Do not forget to deploy the changes to System Configuration!

                        Please let us know how if this works for you.

                        kind regards,
                        -mike

                        • Diese Antwort wurde vor 10 Monaten, 3 Wochen von Mike Thumes geändert.
                    • Autor
                      Beiträge
                    Ansicht von 8 Antwort-Threads
                    • Du musst angemeldet sein, um auf dieses Thema antworten zu können.

                    Foren durchsuchen

                    Anmeldung

                    Anmeldung

                    Konto erstellen
                    Passwort vergessen?

                    Login via Social

                    Profil

                    Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

                    Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

                    Letzte Aktivitäten

                    • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
                    • Dynamische Felder in AgentTicketNote mit ACL verstecken
                    • Benachrichtigung „Ticket wurde mir entzogen“ möglich?
                    • Statistik Anzahl Tickets pro Agent
                    • Docker: Ändern des redis Hosts

                    Unternehmen

                    Über uns
                    Karriere
                    Stellenbörse
                    Partner werden
                    Kontakt
                    Newsletter

                    OTOBO | Simplify work and create exceptional service experiences.

                    Die Source Code Owner und Maintainer hinter OTOBO.

                    Software

                    Service Management-Plattform
                    OTOBO Demo
                    OTOBO Download
                    OTOBO Dokumentation

                    Security-Problem melden:
                    security@otobo.org

                    Services

                    Support-Portal
                    Beratung
                    Training
                    Support
                    Managed Services
                    Erweiterung
                    OTRS Migration
                    Partner finden

                    Community

                    Open Source
                    Community Forum
                    Mitmachen
                    OTOBO Developer
                    OTOBO@GitHub

                    © 2026 Rother OSS GmbH | All rights reserved.
                    • Cookie-Einstellungen
                    • Impressum
                    • Datenschutz
                    • Haftungsausschluss
                    Nach oben scrollen Nach oben scrollen Nach oben scrollen