aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2010-05-02 19:41:07 +0800
committerache <ache@FreeBSD.org>2010-05-02 19:41:07 +0800
commit0306ab1e234fe1f12e18e4e9cdb2cbc6479fc471 (patch)
treefa0b690c94d186486b18f190bd4a5454571818b4 /mail
parentedbb5acb402021bbeaa1e86f36661481bf7dbf13 (diff)
downloadfreebsd-ports-gnome-0306ab1e234fe1f12e18e4e9cdb2cbc6479fc471.tar.gz
freebsd-ports-gnome-0306ab1e234fe1f12e18e4e9cdb2cbc6479fc471.tar.zst
freebsd-ports-gnome-0306ab1e234fe1f12e18e4e9cdb2cbc6479fc471.zip
Run as group mailnull to assist postfix
Diffstat (limited to 'mail')
-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%%