Opendesk-v.1.1.2, dovecot: wrong path in scripts in configmaps for dovecot-lda binary
The quota-warning.sh and welcome.sh in the config map has a wrong path for dovecot-lda, see:
k8s-vm:~ # kubectl describe -n odesk-k8 configmaps dovecot | grep dovecot-lda cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcing"
It is not in /usr/lib/dovecot... I guess it should be /dovecot/libexec/dovecot/dovecot-lda
Looking in the pod:
root@dovecot-84cb847669-l8v7l:/etc/dovecot# grep -R dovecot-lda * quota-warning.sh:cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcing" welcome.sh:cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER
root@dovecot-84cb847669-l8v7l:/etc/dovecot# ls -al /usr/lib/dovecot ls: cannot access '/usr/lib/dovecot': No such file or directory
root@dovecot-84cb847669-l8v7l:/etc/dovecot# ls -al /dovecot/libexec/dovecot/dovecot-lda -rwxr-xr-x 1 root root 26768 Oct 29 2023 /dovecot/libexec/dovecot/dovecot-lda root@dovecot-84cb847669-l8v7l:/etc/dovecot#