aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/nullmailer/pkg-plist28
1 files changed, 5 insertions, 23 deletions
diff --git a/mail/nullmailer/pkg-plist b/mail/nullmailer/pkg-plist
index 51963d4106cf..1a4e00069053 100644
--- a/mail/nullmailer/pkg-plist
+++ b/mail/nullmailer/pkg-plist
@@ -1,14 +1,10 @@
libexec/nullmailer/smtp
libexec/nullmailer/qmqp
-libexec/nullmailer/mailq
-@exec chmod u+s %D/libexec/nullmailer/mailq
-@exec chown %%NULLMAIL_USER%% %D/libexec/nullmailer/mailq
+@(%%NULLMAIL_USER%%,,2555) libexec/nullmailer/mailq
libexec/nullmailer/sendmail
bin/nullmailer-inject
bin/nullmailer-smtpd
-sbin/nullmailer-queue
-@exec chmod u+s %D/sbin/nullmailer-queue
-@exec chown %%NULLMAIL_USER%% %D/sbin/nullmailer-queue
+@(%%NULLMAIL_USER%%,,2555) sbin/nullmailer-queue
sbin/nullmailer-send
man/man1/nullmailer-inject.1.gz
man/man1/sendmail.1.gz
@@ -17,20 +13,6 @@ man/man8/nullmailer-queue.8.gz
man/man8/nullmailer-send.8.gz
%%ETCDIR%%/me.sample
%%ETCDIR%%/remotes.sample
-@dirrm libexec/nullmailer
-@dirrmtry %%ETCDIR%%
-@cwd /
-@exec mkdir -p %%LOCALSTATEDIR%%/nullmailer/queue
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer
-@exec chmod 700 %%LOCALSTATEDIR%%/nullmailer/queue
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/queue
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer/queue
-@exec mkdir -p %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec chmod 700 %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/tmp
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer/tmp
-@exec mkfifo %%LOCALSTATEDIR%%/nullmailer/trigger
-@exec chmod 600 %%LOCALSTATEDIR%%/nullmailer/trigger
-@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/trigger
-@unexec rm -f %%LOCALSTATEDIR%%/nullmailer/trigger
-@dirrmtry %%LOCALSTATEDIR%%/nullmailer
+@dir(%%NULLMAIL_USER%%,%%NULLMAIL_USER%%,700) %%LOCALSTATEDIR%%/nullmailer/queue
+@dir(%%NULLMAIL_USER%%,%%NULLMAIL_USER%%,700) %%LOCALSTATEDIR%%/nullmailer/tmp
+@dir %%LOCALSTATEDIR%%/nullmailer