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

    Kopano-Gateway-nopass

    Kopano Groupware Core
    2
    3
    727
    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.
    • Coffee_is_life
      Coffee_is_life last edited by

      Hello Forum,

      since Zarafa, we are using an external mailarchiv. It will authenticate via a copied version of kopano-gateway.service, started with another konfig ("-F /etc/kopano/gateway-nopass") on another port with option “bypass_auth = yes” and another log-file.

      After about one week working without problems, the log will tell me:

      Fri Dec 29 16:00:06 2017: [error  ] [11294] M4LMsgServiceAdmin::ConfigureMsgService() MSGServiceEntry failed 80040111: logon failed
      Fri Dec 29 16:00:06 2017: [crit   ] [11294] CreateProfileTemp(): ConfigureMsgService failed 80040111: logon failed
      Fri Dec 29 16:00:06 2017: [warning] [11294] CreateProfileTemp failed: 80040111: logon failed
      Fri Dec 29 16:00:06 2017: [warning] [11294] Failed to login from <ip>:46726 with invalid username "mailarchiv" or wrong password. Error: 0x80040111
      

      i need to restart the service that everything is fine again. - But why does it even try to check username and/or password?

      There was an update in the past where this option (bypass_auth) was updated or implemented. it was around this time the error occured once.
      i’ve turned on the Info-Logging and will try to deliver more informations.

      coffee_is_life

      bosim 1 Reply Last reply Reply Quote 0
      • bosim
        bosim @Coffee_is_life last edited by

        @coffee_is_life said in Kopano-Gateway-nopass:

        After about one week working without problems, the log will tell me:

        Wonder if the logs are rotated there so the a kill -HUP is issued on the gateway, maybe leading it to reload the wrong configuration file? Just looked briefly in the code, it should load the same config file as it was started with, but maybe something got wrong. To test you could maybe set server_hostname_greeting in one of the config files to be true and false in the other.

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

          Hello @bosim,

          i will try that, but to mention that i changed the .service file (/etc/systemd/system/multi-user.target.wants/kopano-gateway-nopass.service) to:

          [Service]
          Type=simple
          Environment=LC_ALL=C LANG=C
          ExecStart=/usr/sbin/kopano-gateway-nopass -F -c /etc/kopano/gateway-nopass.cfg
          ExecReload=/bin/kill -HUP $MAINPID
          
          [Install]
          WantedBy=multi-user.target
          

          coffee_is_life

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