ports/mail/py-spf-engine/files/patch-data_share_man_man1_policyd-spf.1
Yasuhiro Kimura f32e5a0b50 mail/py-spf-engine: Update to 3.0.3
* Since 3.0.0 spf-engine uses flit-core as build backend. So switch to
  use 'USE_PYTHON=pep517'.
* Add entry to UPDATING as default configuration file path of
  pyspf-milter has changed.

ChangeLog:	https://git.launchpad.net/spf-engine/tree/CHANGES?h=3.0.3
2023-02-27 10:45:15 +09:00

48 lines
2.2 KiB
Groff

--- data/share/man/man1/policyd-spf.1.orig 2022-11-30 16:39:53 UTC
+++ data/share/man/man1/policyd-spf.1
@@ -144,12 +144,12 @@ $ policyd-spf (Start using installed config file)
$ policyd-spf \-h (Display usage message)
-$ policyd-spf /etc/policyd-spf/policyd-spf.conf (Config file name to use)
+$ policyd-spf %%PREFIX%%/etc/policyd-spf/policyd-spf.conf (Config file name to use)
Configuration options are described in the sample configuration file provided
with the package (policyd-spf.conf.commented) and in policyd-spf.conf(5). The
the configuration file provided with the package can generally be found in
-/usr/local/etc/policyd-spf/, but installation location varies depending on
+%%PREFIX%%/etc/policyd-spf/, but installation location varies depending on
installtion method.
Additionally, whitelisting certain IP addresses or IP addresses used by listed
@@ -187,7 +187,7 @@ script is smoothed over time
The default policy_time_limit is 1000 seconds. This may be too short for some
SMTP transactions to complete. As recommended in SMTPD_POLICY_README, this
should be extended to 3600 seconds. To do so, set "policy_time_limit = 3600"
-in /etc/postfix/main.cf.
+in %%PREFIX%%/etc/postfix/main.cf.
Messages that get a Fail SPF result will be rejected. Messages that get a
Permerror are, by default, treated as if they had no SPF record. Messages
@@ -245,10 +245,10 @@ followed by a empty line:
.SH "POSTFIX INTEGRATION"
- 1. Add the following to /etc/postfix/master.cf:
+ 1. Add the following to %%PREFIX%%/etc/postfix/master.cf:
policyd-spf unix - n n - 0 spawn
- user=policyd-spf argv=/usr/bin/policyd-spf
+ user=policyd-spf argv=%%PREFIX%%/bin/policyd-spf
NOTE: Check the path to both the installed Python 3 interpreter and
policyd-spf. These vary from system to system. To use non-default
@@ -256,7 +256,7 @@ followed by a empty line:
policyd-spf.conf(5) for details). Python and Python 3 versions
prior to 3.3 are not supported.
- 2. Configure the Postfix policy service in /etc/postfix/main.cf:
+ 2. Configure the Postfix policy service in %%PREFIX%%/etc/postfix/main.cf:
smtpd_recipient_restrictions =
...