- Update to 1.7.1 - Convert the startup script to rcNG - Create a bogomilter user Moreover: - Use ${LOCALBASE}/bin/bogofilter rather than /usr/local/bin/bogofilter - Fix the configuration file path in bogom.8 - Fix the packing list when NOPORTDOCS is defined PR: ports/81417 [1] Submitted by: maintainer [1]
17 lines
294 B
Bash
17 lines
294 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-INSTALL" ]
|
|
then
|
|
exit 0;
|
|
fi
|
|
|
|
# check if bogomilter user exists
|
|
pw user show bogomilter > /dev/null 2>&1
|
|
|
|
if [ $? != 0 ]
|
|
then
|
|
echo "===> Adding user bogomilter"
|
|
pw useradd bogomilter -u 174 -c "milter-bogom"
|
|
else
|
|
echo "===> Using existing user bogomilter"
|
|
fi
|