I was not able to get Dovecot to be able to use gss-proxy.
The problem is that the master dovecot process, running as root within dovecot_t runs the Dovecot authentication server as a separate process as the dovecot user within dovecot_auth_t. When the process transition occurs, the child process runs with the AT_SECURE flag set.
In this situation, secure_getenv(3) always returns 0, therefore the plugin never activates because it is not able to see the value of the GSS_USE_PROXY= environment variable.
I was not able to get Dovecot to be able to use gss-proxy.
The problem is that the master dovecot process, running as
rootwithindovecot_truns the Dovecot authentication server as a separate process as thedovecotuser withindovecot_auth_t. When the process transition occurs, the child process runs with theAT_SECUREflag set.In this situation, secure_getenv(3) always returns 0, therefore the plugin never activates because it is not able to see the value of the
GSS_USE_PROXY=environment variable.