Hi,
I updated to Alpine 3.23 and noticed that after the update, Dovecot fails to start, with the output:
```
doveconf: Error: safe_mkstemp(/tmp/doveconf.) failed: Permission denied
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Failed to write binary config file
```
I am able to run `mktemp` as both a normal user and as root just fine. Output of `ls -ld /tmp`:
```
drwxrwxrwt 4 root root 80 Dec 4 12:54 /tmp
```
Is anyone else having the same problem? Any ideas how to resolve this?
Thanks!
> Hi,
>
> I updated to Alpine 3.23 and noticed that after the update, Dovecot fails to start, with the output:
>
> `doveconf: Error: safe_mkstemp(/tmp/doveconf.) failed: Permission denied doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Failed to write binary config file`
>
> I am able to run `mktemp` as both a normal user and as root just fine. Output of `ls -ld /tmp`:
>
> `drwxrwxrwt 4 root root 80 Dec 4 12:54 /tmp`
>
> Is anyone else having the same problem? Any ideas how to resolve this?
>
> Thanks!
Resolved: the upgrade added back Dovecot apparmor profiles I removed. Removing the Dovecot AppArmor profiles allows Dovecot to start again.