[Dovecot] deliver is curious

Timo Sirainen tss at iki.fi
Mon Aug 3 04:27:48 EEST 2009


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
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090802/d29e20fb/attachment.bin 


More information about the dovecot mailing list