]> git.proxmox.com Git - dab-pve-appliances.git/commitdiff
add Proxmox Mailgateway appliance
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Mar 2019 14:52:00 +0000 (15:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Mar 2019 12:45:00 +0000 (13:45 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian-9.0-pmg-64/Makefile [new file with mode: 0644]
debian-9.0-pmg-64/dab.conf [new file with mode: 0644]

diff --git a/debian-9.0-pmg-64/Makefile b/debian-9.0-pmg-64/Makefile
new file mode 100644 (file)
index 0000000..06cabe3
--- /dev/null
@@ -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 's/^deb.*repo.proxmox.com\/staging.*$$//' ${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-9.0-pmg-64/dab.conf b/debian-9.0-pmg-64/dab.conf
new file mode 100644 (file)
index 0000000..6ddd5ea
--- /dev/null
@@ -0,0 +1,15 @@
+Suite: stretch
+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://repo.proxmox.com/staging/pmg/ SUITE pmg-5.0
+Architecture: amd64
+Name: proxmox-mailgateway-5.2-standard
+Version: 5.2-1
+Section: mail
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Infopage: https://www.proxmox.com/de/proxmox-mail-gateway
+Description: Proxmox Mailgateway 5.2
+ A full featured mail proxy for spam and virus filtering, optimized for
+ container environment.