[Dovecot] Where should I define mail_uid for deliver LDA?

Timo Sirainen tss at iki.fi
Wed May 26 19:00:32 EEST 2010


On Tue, 2010-05-04 at 16:04 -0700, Alex wrote:

> May 04 14:57:19 deliver(user1 at some_domain.com): Error: User
> user1 at some_domain.com is missing UID (set mail_uid)

If you didn't figure this out yet, ..

> Where exactly should I define mail_uid?
> Somewhere in Dovecot dovecot.conf file?

Yeah.

> I tried to set mail_uid in dovecot-sql.conf in user_query as follows:
> user_query = SELECT maildir as mail, 51 as userdb_uid, 51 as userdb_gid,
> 51 as mail_uid FROM dovecot_email_maps WHERE email = '%u'

That should work too, as long as you call deliver with -d parameter.



More information about the dovecot mailing list