On Wed, 2010-10-06 at 16:48 +0200, Ralf Hildebrandt wrote: > Right now I have: > > Oct 6 16:38:54 postamt dovecot: lda(ghinrich): save: box=INBOX, uid=993, > msgid=<20101006143814.gp19...@charite.de>, size=11165930 > Oct 6 16:38:54 postamt dovecot: lda(ghinrich): Error: quota: > connect(/usr/local/scripts/quota-warning2) failed: Permission denied > Oct 6 16:38:56 postamt dovecot: lda(ghinrich): > msgid=<20101006143814.gp19...@charite.de>: saved mail to INBOX > > # groups ghinrich > ghinrich : users > > But what is uid=993 ?
Yeah, it's a bit confusing to have both IMAP and UNIX UIDs referred to as only UIDs. So the 993 above means the message's IMAP UID. > The socket: > srw-rw-rw- 1 vmail users 0 Okt 6 16:44 > /usr/dovecot-2/var/run/dovecot/quota-warning Note that above it's trying to connect to /usr/local/scripts/quota-warning2, which is a completely different directory. So your quota_warning setting shouldn't have the executable path, but only "quota-warning".