[Dovecot] 2.0.5: quota warning failing

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Oct 6 17:48:16 EEST 2010


* Timo Sirainen <tss at iki.fi>:
> On Wed, 2010-10-06 at 15:29 +0100, Timo Sirainen wrote:
> > > > protocol lmtp {
> > > >   local_ip 127.0.0.1 {
> > > >     plugin {
> > > >       quota = maildir:user:noenforcing
> > > >     }
> > > >   }
> > > > }
> > > 
> > > Ugh.
> > 
> > You're already using dovecot-lda to deliver the out-of-quota mails? How
> > do you do this there then?
> 
> Oh, another simpler idea:
> 
> service lmtp-noquota {
>   executable = lmtp -o plugin/quota=maildir:user:noenforcing
>   unix_listener lmtp-noquota {
>     mode = 0660
>     group = ..
>   }
> }
> 

Right now I have:

Oct  6 16:38:54 postamt dovecot: lda(ghinrich): save: box=INBOX, uid=993, msgid=<20101006143814.GP19213 at 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.GP19213 at charite.de>: saved mail to INBOX

# groups ghinrich
ghinrich : users

But what is uid=993 ?

# grep :993: /etc/passwd
yields no result

The socket:
srw-rw-rw- 1 vmail users 0 Okt  6 16:44 /usr/dovecot-2/var/run/dovecot/quota-warning

service quota-warning {
  executable = script /usr/local/scripts/quota-warning2
  user = root
  unix_listener quota-warning {
    mode = 0666
    user = vmail
    group = users
  }
}

The permissions are ok:

drwxr-xr-x 4 root root 4096 Okt  6 16:44 /usr/dovecot-2/var/run/dovecot
drwxr-xr-x 3 root root 4096 Okt  5 23:52 /usr/dovecot-2/var/run
drwxr-xr-x 4 root root 4096 Okt  5 23:52 /usr/dovecot-2/var
drwxr-xr-x 11 root root 4096 Okt  5 23:52 /usr/dovecot-2
drwxr-xr-x 16 root root 4096 Okt  5 21:13 /usr
drwxr-xr-x 23 root root 4096 Sep  9 12:49 /

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the dovecot mailing list