On Tue, 2010-05-04 at 16:04 -0700, Alex wrote: > May 04 14:57:19 deliver(us...@some_domain.com): Error: User > us...@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.
