c5cf5fc490
Policy Delegation Protocol implementing an ACL (Access Control List) system, making very easy to improve and create nice controls on your e-mail traffic. You can use it to verify SPF records too. WWW: http://www.apolicy.org PR: ports/129162 Submitted by: Chifeng QU <chifeng at gmail.com>
20 lines
732 B
Text
20 lines
732 B
Text
--- src/apolicy/config.py.orig 2008-11-24 07:53:32.000000000 +0000
|
|
+++ src/apolicy/config.py 2008-11-24 07:53:53.000000000 +0000
|
|
@@ -22,7 +22,7 @@
|
|
import pwd
|
|
from ConfigParser import ConfigParser
|
|
|
|
-config_path = "/etc/apolicy/main.conf"
|
|
+config_path = "/usr/local/etc/apolicy/main.conf"
|
|
|
|
if "APOLICY_CONFIG_PATH" in os.environ:
|
|
config_path = os.environ["APOLICY_CONFIG_PATH"]
|
|
@@ -42,7 +42,7 @@
|
|
config.set("main", "timeout", "5")
|
|
|
|
if not config.has_option("main", "policy_path"):
|
|
- config.set("main", "policy_path", "/etc/apolicy/policy.conf")
|
|
+ config.set("main", "policy_path", "/usr/local/etc/apolicy/policy.conf")
|
|
|
|
user = pwd.getpwnam(config.get("main", "user"))
|
|
config.set("main", "uid", str(user[2]))
|