的exim4-config脚本的自动化? [英] exim4-config script automated?

查看:132
本文介绍了的exim4-config脚本的自动化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在多台服务器上安装的exim4但是我想知道是否有可能创建一个脚本,将自动完成安装过程,并设置它的exim4上与我的主机?

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 on exim4 with my hostname?

须藤的dpkg-重新配置的exim4-配置

sudo dpkg-reconfigure exim4-config

第1步:顶部的选项(Internet站点,发送邮件,并通过SMTP直接收发

Step 1 : Top option (Internet site; mail is sent and received directly using SMTP

第2步:主机名(默认)

Step 2 : hostname (default)

第三步:127.0.0.1; :: 1(默认)

Step 3 : 127.0.0.1 ; ::1 (default)

第4步:主机名(默认)

Step 4 : hostname (default)

第五步:主机名

第六步:主机名

第7步:否

第8步:在/ var MBOX格式/邮件/

Step 8 : mbox format in /var/mail/

步骤9:没有

第10步:根主机

任何帮助非常AP preciated。
谢谢!

Any help greatly appreciated. Thanks!

推荐答案

有关Debian的正确的解决方案是的dpkg-重新配置前运行来填充你的选择debconf数据库。阅读 人的debconf-设置选项 了解详情。有一个HOWTO在<一个href=\"https://www.debian-administration.org/article/394/Automating_new_Debian_installations_with_$p$pseeding\" rel=\"nofollow\">https://www.debian-administration.org/article/394/Automating_new_Debian_installations_with_$p$pseeding

The proper solution for Debian is to populate the Debconf database with your choices before running dpkg-reconfigure. Read man debconf-set-selections for details. There is a howto at https://www.debian-administration.org/article/394/Automating_new_Debian_installations_with_preseeding

这篇关于的exim4-config脚本的自动化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆