[Dovecot] Master user creds for proxy stored statically/locally?
Timo Sirainen
tss at iki.fi
Mon Mar 21 21:20:45 EET 2011
On 21.3.2011, at 20.52, Edward Carraro wrote:
> script-login: Fatal: execvp(/usr/local/bin/postlogin.sh) failed: Permission
> denied
>
> I tried with user = $default_internal_user (which is dovecot) and then with
> it set to vmail
> I changed the perms on the actual file to 777 and owned by vmail and dovecot
> but again, same thing.
Well, that's a bit strange. What's your doveconf -n output now? Do you have something like SELinux enabled?
> also to change the master user, its just the following?
>
> cat postlogin.sh
> #!/bin/sh
>
> =master_user = %u
No, you need something like:
#!/bin/sh
export MASTER_USER=$USER
export USERDB_KEYS="$USERDB_KEYS master_user"
exec "$@"
More information about the dovecot
mailing list