Displaying 2 results from an estimated 2 matches for "dovecot_email_maps".
2010 May 04
3
Dovecot deliver LDA problem
...${sender} -d ${recipient}
In Dovecot dovecot.conf I have the following entries:
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb prefetch {
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
In Dovecot dovecot-sql.conf I have this:
user_query = SELECT maildir as mail FROM dovecot_email_maps WHERE email
= '%u'
password_query = SELECT user, password, userdb_uid, userdb_gid,
userdb_home, userdb_mail FROM dovecot_user_maps WHERE user = '%n'
After reloading postfix and restarting dovecot I'm getting this type of
warnings in dovecot.err log:
May 04 10:43:10 deliver(som...
2010 May 04
1
Where should I define mail_uid for deliver LDA?
...user3 at some_domain.com is missing UID (set mail_uid)
Where exactly should I define mail_uid?
Somewhere in Dovecot dovecot.conf file?
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'
But this apparently doesn't provide that mail_uid as I expected.
Could somebody please enlighten me on this issue.
Thank you in advance,
Alex