On 2020/11/19 14:50, Mike Fischer wrote:
> Hi Stuart,
> 
> Here it is:
> # cat /var/run/rc.d/postgrey
> daemon_class=daemon
> daemon_flags=--inet=10023
> daemon_rtable=0
> daemon_timeout=30
> daemon_user=root
> pexp=perl: /usr/local/libexec/postgrey -d --inet=10023
> # 
> 
> Thanks!

This will fix things (I've just committed it to -current). You'll need
to rm /var/run/rc.d/postgrey to get it to notice the changed pexp value.

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/postgrey/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    31 Aug 2019 15:55:55 -0000      1.25
+++ Makefile    19 Nov 2020 14:02:00 -0000
@@ -3,6 +3,7 @@
 COMMENT=       postfix greylist daemon
 
 DISTNAME=      postgrey-1.37
+REVISION=      0
 CATEGORIES=    mail
 
 HOMEPAGE=      https://postgrey.schweikert.ch/
Index: pkg/postgrey.rc
===================================================================
RCS file: /cvs/ports/mail/postgrey/pkg/postgrey.rc,v
retrieving revision 1.4
diff -u -p -r1.4 postgrey.rc
--- pkg/postgrey.rc     11 Jan 2018 19:27:04 -0000      1.4
+++ pkg/postgrey.rc     19 Nov 2020 14:02:00 -0000
@@ -7,6 +7,6 @@ daemon_flags="--inet=10023"
 
 . /etc/rc.d/rc.subr
 
-pexp="perl: ${daemon}${daemon_flags:+ ${daemon_flags}}"
+pexp="perl: ${daemon}${daemon_flags:+ ${daemon_flags}}.*"
 
 rc_cmd $1


Reply via email to