On 03.11.2010 11:31, Timo Sirainen wrote:
On 3.11.2010, at 10.16, Manuel Mausz wrote:
# Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. #mail_temp_dir = /tmp 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?
It's mainly needed for Sieve, which needs to be able to read the mail before it decides where it should be saved to. Hmm. I guess I could see about disabling it entirely when Sieve isn't used. Isn't storing the mail inside Maildir/tmp sufficient for sieve? And then just hardlink (or copy, depending on the configuration) the file to Maildir/new or whatever sieve rules decides.