[Dovecot] dovecot -n FATAL
Tom Hendrikx
tom at whyscream.net
Thu Feb 6 08:33:53 UTC 2014
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 ...
>>>
>>> ~$ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140206/67388ab4/attachment.bin>
More information about the dovecot
mailing list