[Dovecot] dovecot -n FATAL
Phil
phil at philfixit.info
Thu Feb 6 08:37:39 UTC 2014
On 6/02/2014 7:33 PM, Tom Hendrikx wrote:
> On 02/06/2014 09:29 AM, Phil wrote:
>> On 6/02/2014 6:23 PM, Steffen Kaiser wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On Thu, 6 Feb 2014, Phil wrote:
>>>
>>>> Im new to postfix-dovecot
>>> and Unix/Linux, too?
>>>
>> Technically yes! Less than 2 years experience running a live server . . .
>>
>>>> and im mystified by the following results
>>>> in ubuntu 10.04lts
>>>>
>>>> :~$ dovecot -n
>>>> # 1.2.9: /etc/dovecot/dovecot.conf
>>>> Error: ssl_key_file: Can't use /etc/ssl/private/ssl-mail.key:
>>>> Permission denied
>>>> Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
> looks like a non-root prompt ...
Well spotted Tom and many thanks i can pass the command successfully.
And apologies for the noob error . . .
>
>>>> ~$ sudo ls -dl /etc/ssl/private/ssl-mail.key
>>>> lrwxrwxrwx 1 root root 38 2013-11-27 08:35
>>>> /etc/ssl/private/ssl-mail.key -> /etc/ssl/private/ssl-cert-snakeoil.key
> using sudo here, so yes...
>
> Since doveconf reads the ssl cert, the user that runs doveconf needs
> access to the file too. Try again as root (or using sudo)...
>
> Regards,
> Tom
>
More information about the dovecot
mailing list