mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 01:15:00 +02:00
deploy: a0ee472501
This commit is contained in:
parent
07afd2c901
commit
4d20a99272
46 changed files with 847 additions and 862 deletions
|
@ -6,7 +6,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<meta name="description" content="A fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) using Docker.">
|
||||
<meta name="description" content="A fullstack but simple mail-server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) using Docker.">
|
||||
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
<link rel="canonical" href="https://docker-mailserver.github.io/docker-mailserver/edge/contributing/coding-style/">
|
||||
|
||||
<link rel="icon" href="../../assets/logo/favicon-32x32.png">
|
||||
<meta name="generator" content="mkdocs-1.2.2, mkdocs-material-7.2.6">
|
||||
<meta name="generator" content="mkdocs-1.2.2, mkdocs-material-7.2.8">
|
||||
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../assets/stylesheets/main.802231af.min.css">
|
||||
<link rel="stylesheet" href="../../assets/stylesheets/main.92558b1b.min.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../assets/stylesheets/palette.3f5d1f46.min.css">
|
||||
|
@ -1028,7 +1028,7 @@
|
|||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../examples/tutorials/mailserver-behind-proxy/" class="md-nav__link">
|
||||
Mailserver behind Proxy
|
||||
Mail-Server behind a Proxy
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
@ -1079,7 +1079,7 @@
|
|||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../examples/uses-cases/forward-only-mailserver-with-ldap-authentication/" class="md-nav__link">
|
||||
Forward-Only Mailserver with LDAP
|
||||
Forward-Only Mail-Server with LDAP
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
@ -1525,7 +1525,7 @@
|
|||
</code></pre></div>
|
||||
<h3 id="comments-descriptiveness-an-example"><a class="toclink" href="#comments-descriptiveness-an-example">Comments, Descriptiveness & An Example</a></h3>
|
||||
<p>Comments should only describe non-obvious matters. Comments should start lowercase when they aren't sentences. Make the code <strong>self-descriptive</strong> by using meaningful names! Make comments not longer than approximately 80 columns, then wrap the line.</p>
|
||||
<p>A positive example, which is taken from <code>start-mailserver.sh</code>, would be</p>
|
||||
<p>A positive example, which is taken from <code>setup-stack.sh</code>, would be</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">function</span> _setup_postfix_aliases
|
||||
<span class="o">{</span>
|
||||
_notify <span class="s1">'task'</span> <span class="s1">'Setting up Postfix Aliases'</span>
|
||||
|
@ -1551,11 +1551,11 @@
|
|||
<span class="nv">UNAME</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> <span class="s2">"</span><span class="si">${</span><span class="nv">FROM</span><span class="si">}</span><span class="s2">"</span> <span class="p">|</span> cut -d @ -f1<span class="k">)</span>
|
||||
<span class="nv">DOMAIN</span><span class="o">=</span><span class="k">$(</span><span class="nb">echo</span> <span class="s2">"</span><span class="si">${</span><span class="nv">FROM</span><span class="si">}</span><span class="s2">"</span> <span class="p">|</span> cut -d @ -f2<span class="k">)</span>
|
||||
|
||||
<span class="c1"># if they are equal it means the line looks like: "user1 other@domain.tld"</span>
|
||||
<span class="c1"># if they are equal it means the line looks like: "user1 other@example.com"</span>
|
||||
<span class="o">[[</span> <span class="s2">"</span><span class="si">${</span><span class="nv">UNAME</span><span class="si">}</span><span class="s2">"</span> !<span class="o">=</span> <span class="s2">"</span><span class="si">${</span><span class="nv">DOMAIN</span><span class="si">}</span><span class="s2">"</span> <span class="o">]]</span> <span class="o">&&</span> <span class="nb">echo</span> <span class="s2">"</span><span class="si">${</span><span class="nv">DOMAIN</span><span class="si">}</span><span class="s2">"</span> >> /tmp/vhost.tmp
|
||||
<span class="k">done</span> < <<span class="o">(</span>grep -v <span class="s2">"^\s*</span>$<span class="s2">\|^\s*\#"</span> /tmp/docker-mailserver/postfix-virtual.cf <span class="o">||</span> <span class="nb">true</span><span class="o">)</span>
|
||||
<span class="k">else</span>
|
||||
_notify <span class="s1">'inf'</span> <span class="s2">"Warning 'config/postfix-virtual.cf' is not provided. No mail alias/forward created."</span>
|
||||
_notify <span class="s1">'inf'</span> <span class="s2">"Warning '/tmp/docker-mailserver/postfix-virtual.cf' is not provided. No mail alias/forward created."</span>
|
||||
<span class="k">fi</span>
|
||||
|
||||
...
|
||||
|
@ -1644,10 +1644,10 @@
|
|||
<div class="md-dialog" data-md-component="dialog">
|
||||
<div class="md-dialog__inner md-typeset"></div>
|
||||
</div>
|
||||
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.tabs", "navigation.top", "navigation.expand", "navigation.instant"], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing", "select.version.title": "Select version"}, "search": "../../assets/javascripts/workers/search.409db549.min.js", "version": {"provider": "mike"}}</script>
|
||||
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.tabs", "navigation.top", "navigation.expand", "navigation.instant"], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing", "select.version.title": "Select version"}, "search": "../../assets/javascripts/workers/search.94ec81fe.min.js", "version": {"provider": "mike"}}</script>
|
||||
|
||||
|
||||
<script src="../../assets/javascripts/bundle.756773cc.min.js"></script>
|
||||
<script src="../../assets/javascripts/bundle.48dfec6c.min.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue