aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2010-05-02 11:41:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2010-05-02 11:41:07 +0000
commit05192e11ffdcd7979a06124e8df5489175ef2f42 (patch)
treeb5e0d6f5f1564ccbbf013c86237380b540d26a81 /mail/milter-greylist
parent93dfc64849b11234f80cb9517f3147cb5d0ecfaa (diff)
downloadports-05192e11ffdcd7979a06124e8df5489175ef2f42.tar.gz
ports-05192e11ffdcd7979a06124e8df5489175ef2f42.zip
Notes
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/Makefile2
-rw-r--r--mail/milter-greylist/files/milter-greylist.in2
-rw-r--r--mail/milter-greylist/files/patch-greylist.conf2
-rw-r--r--mail/milter-greylist/pkg-plist2
4 files changed, 4 insertions, 4 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 10916d989a9f..6f93f2c82a17 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -95,7 +95,7 @@ do-install:
post-install:
@${MKDIR} /var/milter-greylist
- @${CHOWN} -R mailnull /var/milter-greylist
+ @${CHOWN} -R mailnull:mailnull /var/milter-greylist
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/mail/milter-greylist/files/milter-greylist.in b/mail/milter-greylist/files/milter-greylist.in
index 72aeb3d65a97..5a6afb472c83 100644
--- a/mail/milter-greylist/files/milter-greylist.in
+++ b/mail/milter-greylist/files/milter-greylist.in
@@ -24,7 +24,7 @@ command="%%PREFIX%%/libexec/milter-greylist"
load_rc_config $name
miltergreylist_enable=${miltergreylist_enable-"NO"}
-miltergreylist_runas=${miltergreylist_runas-"mailnull"}
+miltergreylist_runas=${miltergreylist_runas-"mailnull:mailnull"}
miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
miltergreylist_sockfile=${miltergreylist_sockfile-"/var/milter-greylist/milter-greylist.sock"}
miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.conf"}
diff --git a/mail/milter-greylist/files/patch-greylist.conf b/mail/milter-greylist/files/patch-greylist.conf
index 6a0c17360e28..dcb88e3f6618 100644
--- a/mail/milter-greylist/files/patch-greylist.conf
+++ b/mail/milter-greylist/files/patch-greylist.conf
@@ -5,7 +5,7 @@
dumpfile "/var/milter-greylist/greylist.db" 600
dumpfreq 1
-user "smmsp"
-+user "mailnull"
++user "mailnull:mailnull"
# Log milter-greylist activity to a file
#stat ">>/var/milter-greylist/greylist.log" \
diff --git a/mail/milter-greylist/pkg-plist b/mail/milter-greylist/pkg-plist
index 41254f195013..d573f59c5e63 100644
--- a/mail/milter-greylist/pkg-plist
+++ b/mail/milter-greylist/pkg-plist
@@ -3,7 +3,7 @@ etc/mail/greylist.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/greylist.conf
@exec /bin/mkdir -p /var/milter-greylist
-@exec /usr/sbin/chown -R mailnull /var/milter-greylist
+@exec /usr/sbin/chown -R mailnull:mailnull /var/milter-greylist
@exec [ -f /var/db/milter-greylist/greylist.db ] && printf '\n\n************************************************************\n************************************************************\n** **\n** WARNING **\n** **\n** The default dump file location has changed. **\n** Please move greylist.db from /var/db/milter-greylist/ **\n** to /var/milter-greylist/ and update your greylist.conf **\n** accordingly. **\n** **\n************************************************************\n************************************************************\n' ||true
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%