summaryrefslogtreecommitdiff
path: root/community/opendkim/opendkim.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/opendkim/opendkim.install
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/opendkim/opendkim.install')
-rw-r--r--community/opendkim/opendkim.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/opendkim/opendkim.install b/community/opendkim/opendkim.install
new file mode 100644
index 000000000..a1f16f6ca
--- /dev/null
+++ b/community/opendkim/opendkim.install
@@ -0,0 +1,11 @@
+post_install() {
+ useradd -r -g mail -d / opendkim
+ chown -R opendkim:mail etc/opendkim
+ cat <<EOF
+>>> Check and modify /etc/opendkim/opendkim.conf before starting
+EOF
+}
+
+post_remove() {
+ userdel opendkim
+}