dkim keys removed from /etc/amavisd.conf

Discussion in 'Installation/Configuration' started by Steffan, Jun 29, 2017.

  1. Steffan

    Steffan Member

    After every update if ispconfig all dkim key lines are removed from /etc/amavisd.conf

    The last line of the file is
    @dkim_signature_options_bysender_maps = (
    { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } );
    1; # insure a defined return

    All lines after that are gone
    Why is this happening... and how to prevent this :)

    Centos 7.3 mailserver only
     
  2. Taleman

    Taleman Member

    I found old snippet about how to store custom settings so that upgrading ispconfig does not remove them:
    That is from this thread: https://www.howtoforge.com/community/threads/custom-dovecot-settings.65438/
     
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You should not add the dkim-keys to a conf-custom (or update this file every time you change / create dkim-keys). I'm pretty sure, that there is a "non-used" amavis-config somewhere on the cent-os server. IIRC they made sme changes on centos a while ago and changed the location / configs for amavis.
     

Share This Page