Dovecot doesn't start

60

First check syntax of all configuration files in /etc/dovecot/ and /etc/dovecot/conf.d/.

Then check /etc/dovecot/conf.d/10-ssl.conf for ssl_cert and ssl_key paths. Check the files that are given, If they're not exist, use mkcert.sh to create ssl key and certificate. You can find all information here. Download dovecot-openssl.cnf and modify values. Download mkcert.sh and run it. After that change 10-ssl.conf:

ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem

Restart dovecot.

Share:
60

Related videos on Youtube

Harsh Patel
Author by

Harsh Patel

Updated on September 18, 2022

Comments

  • Harsh Patel
    Harsh Patel over 1 year

    Consider the following data

    Non-removable Li-Po 2870 mAh battery
    Non-removable Li-Po 5910 mAh battery (A3-A20-K1AY)
    Non-removable Li-Po 1810 mAh battery (6.9 Wh)
    

    I would like to extract the mAh battery numeric value from this like below

    2870
    5910
    1810
    

    I tried using

    def func(x):
      # Split array
      ar = x.split(' mAh')
    

    but i dont get what do i need to return

    • Kondybas
      Kondybas over 9 years
      log excerpt is too short
    • Mohammad Mehdi Habibi
      Mohammad Mehdi Habibi over 9 years
      @Kondybas the rest of log is same,ierminates on startup, trys to respawn and loops.
    • douggro
      douggro over 9 years
      Most probable a syntax error in one of the config files you changed. See ubuntuforums.org/showthread.php?t=1655875
    • Mohammad Mehdi Habibi
      Mohammad Mehdi Habibi over 9 years
      @douggro Thanks man. My problem wasn't same, but I could find the solution anyway.
    • douggro
      douggro over 9 years
      If you found the solution to your problem, post it as an answer. Helps those that may experience the same problem down the road.
    • Mohammad Mehdi Habibi
      Mohammad Mehdi Habibi over 9 years
      @douggro done ;)
    • Harsh Patel
      Harsh Patel about 5 years
      Its a dataframe this is just a part of data
    • Wiktor Stribiżew
      Wiktor Stribiżew about 5 years
      If it is just a sample, what is the constant context here that can help detect the number? Is it always an integer value? Is there always Li-Po before the number? Is there always mAh after it? Note that meW's suggestion may overmatch while Jan's solution may undermatch, it depends on what requirements you want to meet here. Please be specific when it comes to regex questions.
    • Harsh Patel
      Harsh Patel about 5 years
      i know that its just the column had 1200 unique values i just needed some hint how would i be able to do this
    • Wiktor Stribiżew
      Wiktor Stribiżew about 5 years
      You have two below.
    • Harsh Patel
      Harsh Patel about 5 years
      yeah! used them both for the solution :)