summaryrefslogtreecommitdiff
path: root/community/opendkim/opendkim.install
blob: c7b8e519d410427fcc62b232b4eb7f4f20c1c714 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    useradd -r -g mail -d / -s /sbin/nologin opendkim
    chown -R opendkim:mail etc/opendkim
    cat <<EOF
>>>  Check and modify /etc/opendkim/opendkim.conf before starting
EOF
}

post_remove() {
    userdel opendkim
}