e8da354a45
- rename [files/milter-greylist.sh -> files/milter-greylist.in, pkg-message -> files/pkg-message.in] - Bump PORTREVISION - drop 5.x support - use SUB_FILES for pkg-message processing - make use of @dirrmtry in pkg-plist PR: ports/125657 Approved by: araujo (mentor, implicit)
11 lines
1.1 KiB
Text
11 lines
1.1 KiB
Text
bin/milter-greylist
|
|
etc/mail/greylist.conf.sample
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/greylist.conf
|
|
@exec /bin/mkdir -p /var/milter-greylist
|
|
@exec /usr/sbin/chown smmsp /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/ **\n*** **\n************************************************************\n************************************************************\n' ||true
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
|
@dirrmtry etc/mail
|
|
@unexec [ -f /var/milter-greylist/greylist.db ] || /bin/rmdir /var/milter-greylist || true
|