problem with quota warning script execution, error 75

Ximo Mira ximo at openmomo.com
Mon Oct 10 08:49:52 UTC 2016


Hi, 

Im quite new to dovecot and im trying to run quota warning script with no success. Using "quota = count:User quota" and this script: 
________________________ 
#!/bin/sh 
PERCENT=$1 
USER=$2 
cat << EOF | /usr/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcing" 
From: support at company.com 
To: $USER 
Subject: Quota alert 

Quota usage is $PERCENT% 
Bye 

EOF 
________________________ 

If I run the script manually from command line it works and message is delivered. If user reaches first configured limit (85%) Im getting this error. 

Oct 10 10:38:01 auth: Error: userdb(USER at DOMAIN.com): client doesn't have lookup permissions for this user: userdb reply doesn't contain uid (to bypass this check, set: service auth { unix_listener /var/run/dovecot/auth-userdb { mode=0777 } }) 
Oct 10 10:38:01 lda(USER at DOMAIN.com): Error: user USER at DOMAIN.com: Auth USER lookup failed 
Oct 10 10:38:01 lda: Fatal: Internal error occurred. Refer to server log for more information. 
Oct 10 10:38:01 quota-warning: Fatal: master: service(quota-warning): child 24515 returned error 75 

Auth is LDAP based. 


More information about the dovecot mailing list