[Dovecot] deliver + quota

Timo Sirainen tss at iki.fi
Tue Nov 2 17:49:29 EET 2010


On Wed, 2010-10-27 at 19:52 +0200, Manuel Mausz wrote:
> > # su ud_3p5 -s/bin/sh -c "cat /tmp/mymail | /usr/libexec/dovecot/deliver -e; echo \$?"
..
> > # 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

Yeah. With v1.2 without -p parameter it's first creating a temporary
file into the user's home dir, which increases quota. In v2.0 /tmp is
again the default, but it's now configurable:

# Directory in which LDA/LMTP temporarily stores incoming mails >128 kB.
#mail_temp_dir = /tmp

The reason why it was moved away from /tmp in the first place was
because someone complained that their /tmp was too small for it.




More information about the dovecot mailing list