On 02.11.2010 16:49, Timo Sirainen wrote: > 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.
Hi Timo, thanks for pointing that new configuration variable out. I've backported your patch to v1.2 and it's working fine now. I guess this temporary file is needed for supporting mbox but why is it needed for maildir? thanks, / manuel