Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Timo Sirainen : > On Wed, 2010-10-06 at 17:14 +0200, Ralf Hildebrandt wrote: > > > Oct 6 17:06:24 postamt dovecot: quota-warning: Error: lda: Fatal: Unknown > > argument: plugin/quota=maildir:User quota:noenforcing > > This looks as if it's missing -o parameter.. > > > The actual dovecot-lda

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Timo Sirainen
On Wed, 2010-10-06 at 17:14 +0200, Ralf Hildebrandt wrote: > Oct 6 17:06:24 postamt dovecot: quota-warning: Error: lda: Fatal: Unknown > argument: plugin/quota=maildir:User quota:noenforcing This looks as if it's missing -o parameter.. > The actual dovecot-lda invocation is: > ${BIN_CAT} << EO

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > The actual dovecot-lda invocation is: > ${BIN_CAT} << EOF | /usr/dovecot-2/libexec/dovecot/dovecot-lda -d $USER -o > "plugin/quota=maildir:User quota:noenforcing" > some text > EOF > > dovecot.conf says: > quota = maildir > so should I just use "plugin/quota=maildir:noenfo

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > > 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". > > FCK. Ok, better. Not working, but bette

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Timo Sirainen : > 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): E

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Timo Sirainen
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/l

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Timo Sirainen : > 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 d

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Timo Sirainen
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 yo

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Timo Sirainen : > On Wed, 2010-10-06 at 16:19 +0200, Ralf Hildebrandt wrote: > > > Yeah, you can make the service user=root, but give only vmail user > > > permission to it so only processes running as vmail can connect to it. > > > > Good. The question is: which user will connect to the socket?

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Timo Sirainen
On Wed, 2010-10-06 at 16:19 +0200, Ralf Hildebrandt wrote: > > Yeah, you can make the service user=root, but give only vmail user > > permission to it so only processes running as vmail can connect to it. > > Good. The question is: which user will connect to the socket? > > dovecot-lda will assum

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Timo Sirainen : > On Wed, 2010-10-06 at 15:33 +0200, Ralf Hildebrandt wrote: > > > service quota-warning { > > > executable = script /usr/bin/quota-warning.sh > > > user = vmail > > The process is run as this user. > > > > unix_listener quota-warning { > > > mode = 0660 > > > user

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Timo Sirainen
On Wed, 2010-10-06 at 15:33 +0200, Ralf Hildebrandt wrote: > > service quota-warning { > > executable = script /usr/bin/quota-warning.sh > > user = vmail The process is run as this user. > > unix_listener quota-warning { > > mode = 0660 > > user = vmail > > group = vmail This i

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
* Daniel Luttermann : > Personally I use this: > > service quota-warning { > executable = script /usr/bin/quota-warning.sh > user = vmail > unix_listener quota-warning { > mode = 0660 > user = vmail > group = vmail > } > } What is the meaning of the "unix_listener"? Can I run

Re: [Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Daniel Luttermann
Ralf Hildebrandt wrote on 06.10.2010: >>From the log: > Oct 6 09:54:10 postamt dovecot: imap(hkunte): Error: quota: > connect(/usr/local/scripts/quota-warning2) failed: Permission denied >>From the config: > quota = maildir > quota_rule = INBOX.Trash:storage=+2048M > quota_warning = storage=99

[Dovecot] 2.0.5: quota warning failing

2010-10-06 Thread Ralf Hildebrandt
>From the log: Oct 6 09:54:10 postamt dovecot: imap(hkunte): Error: quota: connect(/usr/local/scripts/quota-warning2) failed: Permission denied >From the config: quota = maildir quota_rule = INBOX.Trash:storage=+2048M quota_warning = storage=99%% /usr/local/scripts/quota-warning2 99 %u quota_w