Update release tag in fail2ban.sql.html.
This commit is contained in:
parent
62b6deb1c3
commit
8e7f3c5297
|
@ -17,7 +17,7 @@
|
|||
</a>
|
||||
// <a href="./index.html">Document Index</a></div><div class="admonition note">
|
||||
<p class="admonition-title">This tutorial is available in other languages. <a href="https://github.com/iredmail/docs">Help translate more</a></p>
|
||||
<p><a href="./allow.user.to.send.email.without.authentication.html">English</a> / <a href="./allow.user.to.send.email.without.authentication-zh_CN.html">简体中文</a> /</p>
|
||||
<p><a href="./allow.user.to.send.email.without.authentication-zh_CN.html">简体中文</a> /</p>
|
||||
</div>
|
||||
<h1 id="abilitare-utente-ad-inviare-mail-senza-lautenticazione-smtp">Abilitare utente ad inviare mail senza l'autenticazione smtp</h1>
|
||||
<p>Create questo file di testo: <code>/etc/postfix/accepted_unauth_senders</code>, elencandoci tutti gli indirizzi mail degli utenti abilitati ad inviare posta senza l'autenticazione smtp. Verrà usato l'indirizzo <code>user@example.com</code> come esempio:</p>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</a>
|
||||
// <a href="./index.html">Document Index</a></div><div class="admonition note">
|
||||
<p class="admonition-title">This tutorial is available in other languages. <a href="https://github.com/iredmail/docs">Help translate more</a></p>
|
||||
<p><a href="./allow.user.to.send.email.without.authentication.html">English</a> / <a href="./allow.user.to.send.email.without.authentication-it_IT.html">Italiano</a> /</p>
|
||||
<p><a href="./allow.user.to.send.email.without.authentication-it_IT.html">Italiano</a> /</p>
|
||||
</div>
|
||||
<h1 id="_1">允许用户无需身份验证发送邮件</h1>
|
||||
<h2 id="postfix">Postfix</h2>
|
||||
|
|
|
@ -93,7 +93,7 @@ also a SQL user <code>fail2ban</code>.</p>
|
|||
<li>Run commands below as <code>root</code> user:</li>
|
||||
</ul>
|
||||
<pre><code>cd /tmp
|
||||
wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/sql/fail2ban.mysql
|
||||
wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.mysql
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
|
@ -131,7 +131,7 @@ also a SQL user <code>fail2ban</code>.</p>
|
|||
<code>postgres</code> and connect to SQL server:</li>
|
||||
</ul>
|
||||
<pre><code>cd /tmp
|
||||
wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/sql/fail2ban.pgsql
|
||||
wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/sql/fail2ban.pgsql
|
||||
su - postgres
|
||||
psql -d template1
|
||||
</code></pre>
|
||||
|
@ -163,10 +163,10 @@ ALTER DATABASE fail2ban OWNER TO fail2ban;
|
|||
|
||||
<h2 id="add-required-fail2ban-config-file-and-script">Add required Fail2ban config file and script</h2>
|
||||
<p>On Linux, run commands below as <code>root</code> user:</p>
|
||||
<pre><code>wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/action.d/banned_db.conf
|
||||
<pre><code>wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/action.d/banned_db.conf
|
||||
mv banned_db.conf /etc/fail2ban/action.d/
|
||||
|
||||
wget https://github.com/iredmail/iRedMail/raw/master/samples/fail2ban/bin/fail2ban_banned_db
|
||||
wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
|
||||
mv fail2ban_banned_db /usr/local/bin/
|
||||
chmod 0550 /usr/local/bin/fail2ban_banned_db
|
||||
</code></pre>
|
||||
|
|
Loading…
Reference in New Issue