NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Rspamd] Fix examples for global white/blacklist

e02c51b1
andryyy <[email protected]> 8 years ago
data/conf/rspamd/custom/global_from_blacklist.map |  2 +-
 data/conf/rspamd/custom/global_from_whitelist.map |  2 +-
 data/conf/rspamd/custom/global_rcpt_blacklist.map |  2 +-
 data/conf/rspamd/custom/global_rcpt_whitelist.map |  2 +-
 data/conf/sogo/plist_ldap                         | 28 +++++++++++++++++++++++
 5 files changed, 32 insertions(+), 4 deletions(-)
 create mode 100644 data/conf/sogo/plist_ldap

Diff

diff --git a/data/conf/rspamd/custom/global_from_blacklist.map b/data/conf/rspamd/custom/global_from_blacklist.map
index 926c6b32..3c872889 100644
--- a/data/conf/rspamd/custom/global_from_blacklist.map
+++ b/data/conf/rspamd/custom/global_from_blacklist.map
@@ -1 +1 @@
-# /.*@example.com/i
+# /.+example\.com/i
diff --git a/data/conf/rspamd/custom/global_from_whitelist.map b/data/conf/rspamd/custom/global_from_whitelist.map
index 926c6b32..3c872889 100644
--- a/data/conf/rspamd/custom/global_from_whitelist.map
+++ b/data/conf/rspamd/custom/global_from_whitelist.map
@@ -1 +1 @@
-# /.*@example.com/i
+# /.+example\.com/i
diff --git a/data/conf/rspamd/custom/global_rcpt_blacklist.map b/data/conf/rspamd/custom/global_rcpt_blacklist.map
index 926c6b32..3c872889 100644
--- a/data/conf/rspamd/custom/global_rcpt_blacklist.map
+++ b/data/conf/rspamd/custom/global_rcpt_blacklist.map
@@ -1 +1 @@
-# /.*@example.com/i
+# /.+example\.com/i
diff --git a/data/conf/rspamd/custom/global_rcpt_whitelist.map b/data/conf/rspamd/custom/global_rcpt_whitelist.map
index 926c6b32..3c872889 100644
--- a/data/conf/rspamd/custom/global_rcpt_whitelist.map
+++ b/data/conf/rspamd/custom/global_rcpt_whitelist.map
@@ -1 +1 @@
-# /.*@example.com/i
+# /.+example\.com/i
diff --git a/data/conf/sogo/plist_ldap b/data/conf/sogo/plist_ldap
new file mode 100644
index 00000000..d585a494
--- /dev/null
+++ b/data/conf/sogo/plist_ldap
@@ -0,0 +1,28 @@
+                <!--
+                <example>
+                    <key>canAuthenticate</key>
+                    <string>YES</string>
+                    <key>id</key>
+                    <string>${line}_ldap</string>
+                    <key>isAddressBook</key>
+                    <string>NO</string>
+                    <key>IDFieldName</key>
+                    <string>mail</string>
+                    <key>UIDFieldName</key>
+                    <string>uid</string>
+                    <key>bindFields</key>
+                    <array>
+                        <string>mail</string>
+                    </array>
+                    <key>type</key>
+                    <string>ldap</string>
+                    <key>bindDN</key>
+                    <string>cn=admin,dc=example,dc=local</string>
+                    <key>bindPassword</key>
+                    <string>password</string>
+                    <key>baseDN</key>
+                    <string>ou=People,dc=example,dc=local</string>
+                    <key>hostname</key>
+                    <string>ldap://1.2.3.4:389</string>
+                </example>
+                -->