Dovecot not listening when testing connection

B. Reino reinob at bbmk.org
Thu Apr 20 19:00:09 EEST 2017


On Thu, 20 Apr 2017, Alvaro Lacerda wrote:

>  ssl = yes
> ssl = required
> ssl_cert = /etc/exim/ssl/wildcard_cantella_com.crt.chained
> ssl_cipher_list = ALL:!LOW:!SSLv2:SSLv3:!EXP:!aNULL
> ssl_key = /etc/exim/ssl/wildcard_cantella_com.key
> verbose_ssl = yes

I guess you didn't read https://wiki2.dovecot.org/SSL/DovecotConfiguration

Change ssl_cert and ssl_key so it reads like:
ssl_cert = </etc/exim/ssl/wildcard_cantella_com.crt.chained
ssl_key = </etc/exim/ssl/wildcard_cantella_com.key

Notice the "<" before the path.

The rest (ssl, ssl_cipher_list) is OK (but check if in the end ssl is 
"yes" or "required" and pick one).

Good luck!
Bernardo.

>
>
>
> On 04/20/2017 11:27 AM, B. Reino wrote:
>> On Thu, 20 Apr 2017, Alvaro Lacerda wrote:
>> 
>>> These are my dovecot logs. It looks like this error pops up every time I 
>>> run "telnet localhost 143"
>>> 
>>> Apr 20 11:11:39 imap-login: Fatal: Couldn't parse private ssl_key: 
>>> error:0906D06C:PEM routines:PEM_read_bio:no start line: Expecting: ANY 
>>> PRIVATE KEY
>>> Apr 20 11:11:39 master: Error: service(imap-login): command startup 
>>> failed, throttling for 60 secs
>> 
>> OK. Can you post the output of
>> # doveconf -n|grep ssl
>> 
>> Cheers,
>> Bernardo.
>> 
>
>
>
> --
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential and/or privileged 
> material. Any review, retransmission, dissemination or other use of this 
> information by persons or entities other than the intended recipient is 
> prohibited. If you receive this in error, please contact the sender and 
> delete this material from any computer.
>
> Cantella does not permit execution of trades requested by email.  Please call 
> to ensure prompt execution of orders, as we are not responsible for orders 
> transmitted through email.
>
> Investing involves risk and you may incur a profit or a loss. Please 
> carefully consider investment objectives, risks, charges, and expenses before 
> investing.  Cantella & Co., Inc. does not provide legal or tax advice. For 
> legal or tax advice, please seek the services of a qualified professional. 
> The performance data featured represents past performance, which is no 
> guarantee of future results.  Mutual funds and UITs are sold by prospectus 
> only. Please carefully consider the fund's investment objective, risks, 
> charges and expenses applicable to a continued investment in the fund before 
> investing. For this and other information, call or write for a free 
> prospectus, or view one online. Read it carefully before you invest or send 
> money. 
> Fixed income is subject to availability and change in price.  Bonds are 
> subject to market and interest rate risk if sold prior to maturity.  Interest 
> rate increases can cause the price of a debt security to decrease.  Interest 
> income may be subject to federal, state, local, and/or alternative minimum 
> tax.
>
> In accordance with industry regulations, all messages are retained and are 
> subject to monitoring. 
> This message has been scanned for viruses and dangerous content and is 
> believed to be clean. 
> Securities offered through Cantella & Co., Inc., Member FINRA/SIPC. Home 
> Office: 28 State St 40th Floor, Boston, MA 02109
> Telephone: (800)652-8358
>
>


More information about the dovecot mailing list