custom dovecot settings

Discussion in 'Installation/Configuration' started by bax, Apr 3, 2014.

  1. bax

    bax Member

    Hi!

    Is there a file I could save custom dovecot settings to that isn't being overwritten when I update / reconfigure ISPConfig?
    I would like to save settings for TLS-ciphers and plugins.

    Thank you!
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    To the best of my knowledge when we update ISPConfig it creates a self backup of all previous configurations. ISPConfig don't alter the previous configurations.

    Br//
    Srijan
     
  3. bax

    bax Member

    yes, I chose to create a backup when I let ISPConfig reconfigure.

    Now my altered configurations of dovecot are compressed in the /var/backup/ folder.

    But what I was wondering was if there was a special override file or similar.
    nginx.conf doesn't get altered.
    postfix' main.conf and master.conf also remained the same.
    Dovecot's dovecot.conf got completely rewritten.
    The content of dovecot's conf.d folder seem to be ignored by default (except if I add "!include conf.d/*.conf").
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can keep your custom config like this:

    Modify the config template from install/tpl/ in the ispconfig tar.gz and store the modified copy in /usr/local/ispconfig/server/conf-custom/install/
     
  5. bax

    bax Member

    This is useful!

    Thank you!
    I already got my old version from my backup to get FTS_solr and my "better crypto" cipher list back:

    Code:
    
    login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
    disable_plaintext_auth = yes
    ssl = required
    ssl_cipher_list = 'DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!CBC:!PSK:!SRP:!DSS:!SSLv2:!RC4'
    #ssl_cipher_list = 'EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA'
    #ssl_cipher_list = 'EDH+aRSA+AES256:EECDH+aRSA+AES256:!SSLv3'
    
    mail_plugins = $mail_plugins fts fts_solr
    
    protocol imap {
      mail_plugins = quota imap_quota fts fts_solr
    }
    
    plugin {
      quota = dict:user::file:/var/vmail/%d/%n/.quotausage
      sieve=/var/vmail/%d/%n/.sieve
      fts = solr
      fts_solr = break-imap-search url=http://localhost:8983/solr/
      # fts_autoindex = yes
    }
    
    
    I will think about editing the template for the future though!
     
    Last edited: Apr 4, 2014
  6. bax

    bax Member

Share This Page