* Fix runtime error of pyspf-milter that happens when either 'UMask' or 'IntHosts' is set in configuration file. * Stop installing backup files. * Make miscellaneous paths consistent between library files, man pages, pkg-message and rc.d script. * Remove CONFLICTS as mail/postfix-policyd-spf-python is removed from ports tree MFH: 2022Q3
11 lines
450 B
Python
11 lines
450 B
Python
--- spf_engine/policyd_spf.py.orig 2022-09-05 15:47:42 UTC
|
|
+++ spf_engine/policyd_spf.py
|
|
@@ -46,7 +46,7 @@ def main():
|
|
|
|
# load config file {{{1
|
|
# Default location:
|
|
- configFile = '/etc/python-policyd-spf/policyd-spf.conf'
|
|
+ configFile = '%%PREFIX%%/etc/python-policyd-spf/policyd-spf.conf'
|
|
if len(sys.argv) > 1:
|
|
if sys.argv[1] in ( '-?', '--help', '-h' ):
|
|
print('usage: policyd-spf [<configfilename>]')
|