[Dovecot] deliver + quota
Manuel Mausz
mm at udmedia.de
Wed Oct 27 20:52:52 EEST 2010
Hi list,
can someone please explain me the following behaviour of deliver in
combination with fs-quota and reading from stdin:
> # repquota -a | grep ud_3p5
> ud_3p5 -- 4464 10240 12288 10 0 0
> # stat -c "%s" /tmp/mymail
> 4524853
so there's enough space for this mail
> # su ud_3p5 -s/bin/sh -c "cat /tmp/mymail | /usr/libexec/dovecot/deliver -e; echo \$?"
> sda6: warning, user block quota exceeded.
> sda6: write failed, user block limit reached.
> Not enough disk space
> 77
vs.
> # su ud_3p5 -s/bin/sh -c "/usr/libexec/dovecot/deliver -p /tmp/mymail -e; echo \$?"
> 0
Must have something to do with create_raw_stream inside deliver.c
System is running Dovecot v1.2.13
Thanks,
/ manuel
More information about the dovecot
mailing list