SOURCES: policyd.init - uh, the spaces are important in main.cf
glen
glen at pld-linux.org
Tue Dec 26 21:08:20 CET 2006
Author: glen Date: Tue Dec 26 20:08:20 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- uh, the spaces are important in main.cf
---- Files affected:
SOURCES:
policyd.init (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SOURCES/policyd.init
diff -u SOURCES/policyd.init:1.7 SOURCES/policyd.init:1.8
--- SOURCES/policyd.init:1.7 Tue Dec 26 21:07:32 2006
+++ SOURCES/policyd.init Tue Dec 26 21:08:15 2006
@@ -56,33 +56,34 @@
}
init() {
- cat <<-'EOF'
+ cat <<'EOF'
- You must login as mysql administrator and setup policyd user as follows:
+You must login as mysql administrator and setup policyd user as follows:
- mysql> GRANT ALL ON policyd.* TO policyd at localhost IDENTIFIED BY 'secret_password';
- mysql> GRANT USAGE ON *.* TO policyd at localhost IDENTIFIED BY 'secret_password';
+mysql> GRANT ALL ON policyd.* TO policyd at localhost IDENTIFIED BY 'secret_password';
+mysql> GRANT USAGE ON *.* TO policyd at localhost IDENTIFIED BY 'secret_password';
- Next create database structure:
+Next create database structure:
- $ zcat /usr/share/doc/policyd-*/DATABASE.mysql.gz | mysql -p -u policyd
+$ zcat /usr/share/doc/policyd-*/DATABASE.mysql.gz | mysql -p -u policyd
- After database is fully configured edit ``policyd.conf'' and set correct
- mysql username and password. Example configuration for postfix from
- ``main.cf'' file:
+After database is fully configured edit ``policyd.conf'' and set correct
+mysql username and password. Example configuration for postfix from
+``main.cf'' file:
- smtpd_recipient_restrictions =
- permit_mynetworks
- permit_sasl_authenticated
- reject_unauth_destination
- reject_unlisted_recipient
- check_policy_service inet:127.0.0.1:10031
+smtpd_recipient_restrictions =
+ permit_mynetworks
+ permit_sasl_authenticated
+ reject_unauth_destination
+ reject_unlisted_recipient
+ check_policy_service inet:127.0.0.1:10031
- Start policyd daemon and then reload postfix configuration:
+Start policyd daemon and then reload postfix configuration:
+
+# service policyd start
+# postfix reload
- # service policyd start
- # postfix reload
EOF
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/policyd.init?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list