Do you only have one domain? Maybe easiest would be to set auth_default_realm to that.
No, ~25.000
This is passdb configuration as a userdb, so it doesn't really work. Except directors don't use userdb, so it doesn't really break either.
oops! I see we have some more reading to do...
You had: pass_attrs = mail=user,userpassword=password
This should have changed the username always to same as "mail" field, which should standardize the usernames with director also.
I changed passdb from static to ldap and I think I got it working now
[root@dev-dir dovecot]# egrep 'username changed|started proxying' /var/log/maillog Feb 28 08:16:47 dev-dir-cloud dovecot: imap-login: proxy(webuser2@devwebmail.otenet.gr): started proxying to 83.235.66.71:143: user=webuser2@devwebmail.otenet.gr, method=PLAIN, rip=195.170.0.170, lip=83.235.66.70, session=<ECLs1cLWQADDqgCq> Feb 28 08:16:57 dev-dir-cloud dovecot: auth: Debug: auth(webuser2,195.170.0.170,<5dh51sLWUwDDqgCq>): username changed webuser2 -> webuser2@devwebmail.otenet.gr Feb 28 08:16:57 dev-dir-cloud dovecot: imap-login: proxy(webuser2@devwebmail.otenet.gr): started proxying to 83.235.66.71:143: user=webuser2@devwebmail.otenet.gr, method=PLAIN, rip=195.170.0.170, lip=83.235.66.70, session=<5dh51sLWUwDDqgCq> Feb 28 08:17:05 dev-dir-cloud dovecot: auth: Debug: auth(dovecottest@otenet.gr,195.170.0.170,<94T21sLWVADDqgCq>): username changed dovecottest@otenet.gr -> webuser2@devwebmail.otenet.gr Feb 28 08:17:05 dev-dir-cloud dovecot: imap-login: proxy(webuser2@devwebmail.otenet.gr): started proxying to 83.235.66.71:143: user=webuser2@devwebmail.otenet.gr, method=PLAIN, rip=195.170.0.170, lip=83.235.66.70, session=<94T21sLWVADDqgCq>
Thank you!
Dimos Alevizos