Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
CBpolicyD on Postfix for Tetra Relay Servers
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Configurations == vi /etc/policyd/cluebringer.conf Change the following DSN=DBI:mysql:database=policyd;host=localhost Username=root Password=Tetra321 '''For Web Access''' vi /etc/policyd/webui.conf #$DB_DSN="sqlite:////tmp/cluebringer.sqlite"; $DB_DSN="mysql:host=localhost;dbname=policyd"; $DB_USER="root"; $DB_PASS="Tetra321"; vi /etc/httpd/conf.d/cluebringer.conf Change the following Alias /cluebringer /usr/share/cluebringer/webui <Directory /usr/share/cluebringer/webui> # Comment out the following 3 lines to make web ui accessible from anywhere AllowOverride AuthConfig Order Deny,Allow #Deny from all Allow from all </Directory> '''Create Web Access protections with username and password''' vi /usr/share/cluebringer/webui/.htaccess Add following in new file AuthUserFile /usr/share/cluebringer/webui/.htpasswd AuthGroupFile /dev/null AuthName "user and password" AuthType Basic # <LIMIT GET> require valid-user </LIMIT> '''Create user''' htpasswd -c /usr/share/cluebringer/webui/.htpasswd tetra_service password: System_0099? systemctl status httpd systemctl enable httpd systemctl start httpd systemctl restart cbpolicyd systemctl enable cbpolicyd ''' Configuration at Postfix for integration''' vi /etc/postfix/main.cf change the line to smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, check_sender_access hash:/etc/postfix/sender_access, permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_unauth_destination systemctl restart postfix tail -f /var/log/cbpolicyd.log tail -f /var/log/maillog
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)