dagent log error - Client disconnected



  • Hello Forum,

    after updating to 8.5.4.0 from offical stable repo, my dagent is delivering as usual, but just logs errors like

    Wed Mar  7 08:44:10 2018: [error  ] [15541] Autoresponder failed
    Wed Mar  7 08:44:19 2018: [error  ] [15566] Client disconnected
    Wed Mar  7 08:45:19 2018: [error  ] [15894] Client disconnected
    Wed Mar  7 08:45:19 2018: [error  ] [15936] Client disconnected
    Wed Mar  7 08:45:20 2018: [error  ] [15931] Client disconnected
    Wed Mar  7 08:49:38 2018: [error  ] [16799] Autoresponder failed
    

    my dagent.cfg says its in info-logging:

    # DAGENT LOG SETTINGS
    
    # Logging method (syslog, file)
    log_method      =       file
    
    # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
    log_level       = 5
    
    # Logfile for log_method = file, use '-' for stderr
    log_file = /var/log/kopano/dagent.log
    
    # Log timestamp - prefix each log line with timestamp in 'file' logging mode
    log_timestamp   =       1
    
    # Log raw message to a file
    log_raw_message = no
    

    and it SHOULD log something like:

    Mon Mar  5 03:45:03 2018: [info   ] [18353] Delivered message to "postmaster", Subject: "Logwatch for ftp001.domain.de (Linux)", Message-Id: <20180305024503.2BC75F3211@ftp001.domain.de>, size 4134
    Mon Mar  5 03:45:03 2018: [info   ] [18353] Finished processing message
    Mon Mar  5 03:45:03 2018: [info   ] [18353] LMTP thread exiting
    Mon Mar  5 04:00:02 2018: [info   ] [10000] Accepted connection from 127.0.0.1:52082
    Mon Mar  5 04:00:02 2018: [info   ] [19728] Starting worker for LMTP request pid 19728
    Mon Mar  5 04:00:02 2018: [notice ] [19728] Resolved recipient mailarchiv@domain.de as user mailarchiv
    Mon Mar  5 04:00:02 2018: [notice ] [19728] Resolved recipient postmaster@domain.de as user postmaster
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * Loading plugins started
    Mon Mar  5 04:00:02 2018: [info   ] [19728] ** Checking plugins in /var/lib/kopano/dagent/plugins
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * Loading plugins done
    Mon Mar  5 04:00:02 2018: [info   ] [19728] Mail will be delivered in Inbox
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * PostConverting processing started
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * PostConverting processing done
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * PreDelivery processing started
    Mon Mar  5 04:00:02 2018: [info   ] [19728] * PreDelivery processing done
    

    any suggestions?

    coffee_is_life



  • Update: Just did some editing and changed the startup-action from kopano-dagent.service

    previous: /usr/sbin/kopano-dagent -l
    now: /usr/sbin/kopano-dagent -l -c /etc/kopano/dagent.cfg
    

    this did the trick - no default cfg in normal startup?

    coffee_is_life


Log in to reply