initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

23
postgrey/postgrey.install Normal file
View File

@@ -0,0 +1,23 @@
post_install() {
if ! getent group postgrey &>/dev/null; then
groupadd -r postgrey >& /dev/null
fi
if ! getent passwd postgrey &>/dev/null; then
useradd -r -d /var/spool/postfix/postgrey -g postgrey -s /bin/false postgrey
fi
chown postgrey:postgrey /var/lib/postgrey
}
post_upgrade() {
post_install $1
}
post_remove() {
if getent passwd postgrey &>/dev/null; then
userdel postgrey >/dev/null
fi
if getent group postgrey &>/dev/null; then
groupdel postgrey >/dev/null
fi
}