From e96cd3ddd2877d6c3eb9138e83bdd57b2053fce3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 27 Aug 2019 12:27:36 +0200 Subject: [PATCH] add Proxmox Mailgatway 6.0 template Signed-off-by: Thomas Lamprecht --- debian-10.0-pmg-64/Makefile | 25 +++++++++++++++++++++++++ debian-10.0-pmg-64/dab.conf | 15 +++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 debian-10.0-pmg-64/Makefile create mode 100644 debian-10.0-pmg-64/dab.conf diff --git a/debian-10.0-pmg-64/Makefile b/debian-10.0-pmg-64/Makefile new file mode 100644 index 0000000..b309d8b --- /dev/null +++ b/debian-10.0-pmg-64/Makefile @@ -0,0 +1,25 @@ +BASEDIR:=$(shell dab basedir) + +all: info/init_ok + dab bootstrap --minimal + sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' ${BASEDIR}/etc/ssh/sshd_config + dab exec /bin/systemctl enable systemd-timesyncd.service + touch ${BASEDIR}/proxmox_install_mode + dab install libdbi-perl perl-openssl-defaults libcgi-pm-perl proxmox-mailgateway-container + rm ${BASEDIR}/proxmox_install_mode + sed -i '/^deb.*\.proxmox\.com\/.*$$/d;$${/^$$/d;}' ${BASEDIR}/etc/apt/sources.list + dab finalize + +info/init_ok: dab.conf + dab init + touch $@ + +.PHONY: clean +clean: + dab clean + rm -f *~ + +.PHONY: dist-clean +dist-clean: + dab dist-clean + rm -f *~ diff --git a/debian-10.0-pmg-64/dab.conf b/debian-10.0-pmg-64/dab.conf new file mode 100644 index 0000000..e1cb254 --- /dev/null +++ b/debian-10.0-pmg-64/dab.conf @@ -0,0 +1,15 @@ +Suite: buster +CacheDir: ../cache +Source: http://ftp.debian.org/debian SUITE main contrib +Source: http://ftp.debian.org/debian SUITE-updates main contrib +Source: http://security.debian.org SUITE/updates main contrib +Source: http://download.proxmox.com/debian/pmg/ SUITE pmg-no-subscription +Architecture: amd64 +Name: proxmox-mailgateway-6.0-standard +Version: 6.0-1 +Section: mail +Maintainer: Proxmox Support Team +Infopage: https://www.proxmox.com/de/proxmox-mail-gateway +Description: Proxmox Mailgateway 6.0 + A full featured mail proxy for spam and virus filtering, optimized for + container environment. -- 2.39.2