On Mon, 2009-08-03 at 01:03 +0200, Sven Strickroth wrote:
How comes that deliver doesn't use the mail_location but the real home-directory (from ldap, it doesn't exist on the mailserver) of that user in this case?
When mail size exceeds 128 kB, it writes a temporary file. If user's home directory is provided, it uses it for creating the temp file.
Aug 3 00:57:40 mailsrv dovecot: deliver(th): Home dir not found: /home/daten/user/lehrer/th
If you don't want Dovecot to use home dirs, don't tell Dovecot about them. Change your userdb to not return home. For example if you're using userdb passwd you can use:
userdb passwd { args = home }
Or since you use Maildir/ in your directory names, probably best to set:
userdb passwd { args = home=/var/spool/imap/users/%u }