I use dovecot as an IMAP server for mail clients on my local machine. This worked fine in 11.3 but on 11.4 the authentication doesn’t seem to work - my mail client just can’t connect to the dovecot server.
I get errors like this in the /var/log/mail:
Mar 21 12:49:46 triton dovecot: dovecot: link(/var/lib/dovecot/ssl-parameters.dat, /var/run/dovecot/login/ssl-parameters.dat.tmp) failed: Permission denied
Mar 21 12:49:46 triton dovecot: dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while..
Mar 21 12:50:12 triton dovecot: ssl-build-param: SSL parameters regeneration completed
Mar 21 12:50:12 triton dovecot: dovecot: link(/var/lib/dovecot/ssl-parameters.dat, /var/run/dovecot/login/ssl-parameters.dat.tmp) failed: Permission denied
Mar 21 12:50:12 triton dovecot: dovecot: file_copy(/var/lib/dovecot/ssl-parameters.dat, /var/run/dovecot/login/ssl-parameters.dat) failed: No such file or directory
I found the problem - AppArmor. I used the AppArmor module in YAST to set everything to ‘complain’ (ie. log stuff but don’t block anything) and it worked.
On 2011-03-21 14:36, tk83 wrote:
>
> I found the problem - AppArmor. I used the AppArmor module in YAST to
> set everything to ‘complain’ (ie. log stuff but don’t block anything)
> and it worked.
On 2011-03-21 16:06, tk83 wrote:
>
> The profile wizard only creates rules very specific to my machine and
> the paths on it.
>
> The fact is that as shipped 11.4 can’t run dovecot because of a broken
> AppArmor profile, that’s a bug and should be fixed.
Are you sure the profile came from openSUSE? I have dovecot installed, an
earlier version, and I don’t see an AA profile.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)