1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh post_install() { # ensure correct permissions systemd-sysusers mailman.conf chown -R mailman:mailman /var/lib/mailman } post_remove() { userdel mailman }