summaryrefslogtreecommitdiff
path: root/mail/py-spf-engine/files/patch-spf__engine_milter__spf.py
blob: 27d525241b950663977909c12c7e0d105a733e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- spf_engine/milter_spf.py.orig	2023-01-11 14:35:12 UTC
+++ spf_engine/milter_spf.py
@@ -211,7 +211,7 @@ class spfMilter(Milter.Base):
 def main():
     # Ugh, but there's no easy way around this.
     global milterconfig
-    configFile = '/usr/local/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: pyspf-milter [<configfilename>]')