Viewing 1 reply thread
  • Author
    Posts
    • #16008
      Stefano Grespan
      Participant

        Hello,

        two or three times in a day I see these error messages in system log:

        Wed Nov 22 17:17:01 2023 (Europe/Rome) error OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: ERROR: OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 Perl: 5.34.0 OS: linux Time: Wed Nov 22 16:16:59 2023

        Wed Nov 22 17:17:00 2023 (Europe/Rome) error OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 CommunicationLog(ID:30543,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34279)::Kernel::System::MailQueue => Temporary problem returned from server, requeuing message for sending. Message: SMTPCode: 421, ErrorMessage: Could not send message to server: 421, [Net::SMTP] Timeout!

        Wed Nov 22 17:17:00 2023 (Europe/Rome) error OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 CommunicationLog(ID:30543,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34279)::Kernel::System::MailQueue => Message could not be sent! Error message: Could not send message to server: 421, [Net::SMTP] Timeout!

        Wed Nov 22 17:16:59 2023 (Europe/Rome) error OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 CommunicationLog(ID:30543,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34279)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::SMTPTLS'.

        Wed Nov 22 17:16:59 2023 (Europe/Rome) error OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 CommunicationLog(ID:30543,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34279)::Kernel::System::Email::SMTP => Could not send message to server: 421, [Net::SMTP] Timeout!

        I also receive email notification with more details:

        ERROR: OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 Perl: 5.34.0 OS: linux Time: Wed Nov 22 16:18:45 2023

         Message: CommunicationLog(ID:30546,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34283)::Kernel::System::Email::SMTP => Could not send message to server: 421, [Net::SMTP] Timeout!

         Traceback (365944):
           Module: Kernel::System::CommunicationLog::_LogError Line: 563
           Module: Kernel::System::CommunicationLog::ObjectLog Line: 321
           Module: Kernel::System::Email::SMTP::Send Line: 358
           Module: Kernel::System::Email::SendExecute Line: 762
           Module: Kernel::System::MailQueue::Send Line: 711
           Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Send Line: 206
           Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Run Line: 155
           Module: (eval) Line: 480
           Module: Kernel::System::Console::BaseCommand::Execute Line: 474
           Module: (eval) Line: 155
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 134
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 243
           Module: (eval) Line: 386
           Module: main::Start Line: 386
           Module: /opt/otobo/bin/otobo.Daemon.pl Line: 164

        ERROR: OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 Perl: 5.34.0 OS: linux Time: Wed Nov 22 16:18:50 2023

         Message: CommunicationLog(ID:30546,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34283)::Kernel::System::Email => Error sending message using backend 'Kernel::System::Email::SMTPTLS'.

         Traceback (365944):
           Module: Kernel::System::CommunicationLog::_LogError Line: 563
           Module: Kernel::System::CommunicationLog::ObjectLog Line: 321
           Module: Kernel::System::Email::SendExecute Line: 772
           Module: Kernel::System::MailQueue::Send Line: 711
           Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Send Line: 206
           Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Run Line: 155
           Module: (eval) Line: 480
           Module: Kernel::System::Console::BaseCommand::Execute Line: 474
           Module: (eval) Line: 155
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 134
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 243
           Module: (eval) Line: 386
           Module: main::Start Line: 386
           Module: /opt/otobo/bin/otobo.Daemon.pl Line: 164

        ERROR: OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 Perl: 5.34.0 OS: linux Time: Wed Nov 22 16:18:50 2023

         Message: CommunicationLog(ID:30546,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34283)::Kernel::System::MailQueue => Message could not be sent! Error message: Could not send message to server: 421, [Net::SMTP] Timeout!

         Traceback (365944):
           Module: Kernel::System::CommunicationLog::_LogError Line: 563
           Module: Kernel::System::CommunicationLog::ObjectLog Line: 321
           Module: Kernel::System::MailQueue::_SendError Line: 867
           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: 155
           Module: (eval) Line: 480
           Module: Kernel::System::Console::BaseCommand::Execute Line: 474
           Module: (eval) Line: 155
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 134
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 243
           Module: (eval) Line: 386
           Module: main::Start Line: 386
           Module: /opt/otobo/bin/otobo.Daemon.pl Line: 164

        ERROR: OTOBO-otobo.Console.pl-Maint::Email::MailQueue-86 Perl: 5.34.0 OS: linux Time: Wed Nov 22 16:18:50 2023

         Message: CommunicationLog(ID:30546,AccountType:-,AccountID:-,Direction:Outgoing,Transport:Email,ObjectLogType:Message,ObjectLogID:34283)::Kernel::System::MailQueue => Temporary problem returned from server, requeuing message for sending. Message: SMTPCode: 421, ErrorMessage: Could not send message to server: 421, [Net::SMTP] Timeout!

         Traceback (365944):
           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: 155
           Module: (eval) Line: 480
           Module: Kernel::System::Console::BaseCommand::Execute Line: 474
           Module: (eval) Line: 155
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 134
           Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 243
           Module: (eval) Line: 386
           Module: main::Start Line: 386
           Module: /opt/otobo/bin/otobo.Daemon.pl Line: 164

        Error:
        Could not send message with ID '2885'! Please refer to the log.
        Error: Failed.

        Since our customer is still evaluating if put Otobo in production we need to know if these error could have an impact or if timeout messages will just be resent. Moreover, do you know if there is any setting I can adjust to avoid this problem?

        Thanks!

      • #16015
        Stefan Abel
        Moderator

          Hello Stefano,

          Well, it seems to be a Timeout when trying to connect to your SMTP-Server:
          https://sendgrid.com/en-us/blog/smtp-server-response-codes-explained
          “Your message was temporarily deferred by the recipient server. This is usually a result of too many connections in a short timeframe or too many messages.”

          I hope, this helps.

          Cheers
          Stefan

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.