~/.local/distro-begin: distro-begin
distro-begin mail-setup
-~/.local/distro-end: distro-end distro-pkgs pkgs
+~/.local/distro-end: distro-end distro-pkgs pkgs primary-setup
distro-end
+++ /dev/null
-$ORIGIN .
-$TTL 60 ; 1 minute
-b8.nz IN SOA b8.nz. admin.b8.nz. (
- 25 ; serial
- 604800 ; refresh (1 week)
- 86400 ; retry (1 day)
- 2419200 ; expire (4 weeks)
- 60 ; minimum (1 minute)
- )
- NS n1.iankelling.org.
- NS n2.iankelling.org.
- A 73.249.108.7
## * Install packages
# light version of exim does not have sasl auth support.
-pi exim4-daemon-heavy spamassassin spf-tools-perl openvpn dnsmasq
+pi exim4-daemon-heavy spamassassin spf-tools-perl openvpn
# trisquel 8 = openvpn, debian stretch = openvpn-client
vpn_ser=openvpn-client
/a/exe/cedit mail /etc/dnsmasq-servers.conf <<'EOF' || [[ $? == 1 ]]
server=/mail.iankelling.org/127.0.1.1
EOF
- systemctl reload dnsmasq
+ if systemctl is-active dnsmasq >/dev/null; then
+ systemctl reload dnsmasq
+ fi
# I used to use debconf-set-selections + dpkg-reconfigure,
# which then updates this file