Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    [Fixed] Critical bug core-8.4.0~273: Dagent not delivering mails if plugin-manager is enabled.

    Kopano Groupware Core
    dagent plugin-manager bug python
    4
    15
    5296
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fbartels
      fbartels Kopano @umgfoin last edited by

      @umgfoin did you also update python-kopano?

      Regards Felix

      Resources:
      https://kopano.com/blog/how-to-get-kopano/
      https://documentation.kopano.io/
      https://kb.kopano.io/

      Support overview:
      https://kopano.com/support/

      Balaji 1 Reply Last reply Reply Quote 0
      • umgfoin
        umgfoin last edited by

        @fbartels
        yes,

        cd  core-8.4.0~301_64.1-RHEL_6_PHP_56-x86_64
        yum update *.rpm
        ...
        Untersuche python-kopano-8.4.0~301-64.1.x86_64.rpm: python-kopano-8.4.0~301-64.1.x86_64
        python-kopano-8.4.0~301-64.1.x86_64.rpm: aktualisiert installierte Pakete nicht.
        ...
        
        1 Reply Last reply Reply Quote 0
        • Balaji
          Balaji @fbartels last edited by Balaji

          @fbartels Hi Felix,

          Even after disabling dagent plugin, mails are not delivering. This is on CentOS 7.3

          Apr 18 23:45:55 kcn postfix/local[5299]: B980B60D72CF: to=, relay=local, delay=485, delays=485/0.03/0/0.06, dsn=4.3.0, status=deferred (temporary failure. Command output: [ 5300] [error  ]   Python type: (null) [ 5300] [error  ]   Python error: 'module' object has no attribute 'DAgentPluginmanager' [ 5300] [crit   ] K-1732: Unable to initialize the dagent plugin manager: Unknown error code (1). )![alt text](image url)
          
          
          [root@kcn kopano]# grep -i ^plugin_enabled dagent.cfg 
          plugin_enabled = no
          
          [root@kcn kopano]# rpm -qa | egrep -i 'kopano-server|python-kopano'
          kopano-server-8.4.0~344-71.1.x86_64
          kopano-server-packages-8.4.0~344-71.1.x86_64
          python-kopano-8.4.0~344-71.1.x86_64
          [root@kcn kopano]#
          1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano last edited by

            Since I had a Centos 7 machine up to test something else, I decided to give this another try. But still no luck in reproducing this.

            Kopano Core 8,4,0,344
            CentOS Linux release 7.3.1611 (Core)

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            Balaji 2 Replies Last reply Reply Quote 0
            • Balaji
              Balaji @fbartels last edited by

              @fbartels

              • I followed the installation procedure from here
              • Its the exact same version of CentOS Linux release 7.3.1611 (Core)
              • postfix config are basic.
              1 Reply Last reply Reply Quote 0
              • Balaji
                Balaji @fbartels last edited by

                Hi @fbartels ,

                I was using below settings in main.cf which was the issue. I commented it out

                mail_command = /usr/sbin/kopano-dagent "$USER" 
                

                Instead I started using below and it worked.

                mailbox_transport = lmtp:127.0.0.1:2003
                
                fbartels 1 Reply Last reply Reply Quote 0
                • fbartels
                  fbartels Kopano @Balaji last edited by

                  Ok, thanks to your additional information I was finally able to reproduce this issue and it seems to indeed only happen, when delivering via pipe. I have created https://jira.kopano.io/browse/KC-642 to followup on this issue.

                  Regards Felix

                  Resources:
                  https://kopano.com/blog/how-to-get-kopano/
                  https://documentation.kopano.io/
                  https://kb.kopano.io/

                  Support overview:
                  https://kopano.com/support/

                  1 Reply Last reply Reply Quote 0
                  • mcostan
                    mcostan last edited by

                    I guess this also solves:

                    https://forum.kopano.io/topic/191/kopano-dagent-not-working-core-8-4-0-344/6

                    umgfoin 1 Reply Last reply Reply Quote 0
                    • umgfoin
                      umgfoin @mcostan last edited by

                      @fbartels
                      Great, you discovered that!
                      Just changed my postfix-config from PIPE to LMTP transport and can confirm your findings for Centos 6.9/ Python 2.7:
                      No dagent-plugin problem with LMTP transport - the issue seems to concern piped connections, only.
                      ++umgfoin.

                      1 Reply Last reply Reply Quote 0
                      • umgfoin
                        umgfoin last edited by umgfoin

                        …fixed with commit c699e000835 .

                        Thanks,
                        ++umgfoin.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post