exim4-config script automated?

后端 未结 3 1048
借酒劲吻你
借酒劲吻你 2021-01-06 15:32

I need to setup exim4 on multiple servers however I was wondering if it\'s possible to create a script that will automatically go through the install process and set it up o

3条回答
  •  囚心锁ツ
    2021-01-06 16:23

    You need to create /etc/exim4/update-exim4.conf.conf with your local values and then install Exim4 non-interactively, as suggested by @Dogsbody:

    export DEBIAN_FRONTEND=noninteractive
    apt-get install -y exim4-daemon-light
    

    If you already have Exim4 installed, you need to edit the config file and then execute the following, as suggested here:

    dpkg-reconfigure -fnoninteractive exim4-config
    

提交回复
热议问题