On 15/04/2019 13:43, Larry Rosenman via dovecot wrote:
Again, this doesn't help with doveadm running as the local user, and also doesn't help with the PAM authentication.
passdb { driver = pam #[session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=20] #[cache_key=<key>] [<service name>] args = failure_show_msg=yes session=yes max_requests=20 skip = authenticated }
How can I default the domain for PAM authentication? (I've set auth_default_realm and it doesn't help in this case).
Larry
I guess I don't understand enough about your setup or what is not now working.
My understanding was that everything is now working when logging in as user@domain, but that you would like to login as user and have dovecot treat that as though you had logged in as user@domain, but at this point I admit I may have misinterpreted your emails.
What's also not clear for me is the purpose in your setup of the three passdb methods (sql, static, and pam) and two userdb methods (sql and passwd-file). That's why I've pointed you to the docs and I'm hestitant to give specific advice that may leave you worse off. Others on the list may have more insights.
John