Fix incorrect file name (/etc/apt/sources.lists -> sources.list).
This commit is contained in:
parent
1dda920917
commit
90544c0a87
|
@ -68,7 +68,7 @@ mx.example.com
|
|||
### Enable default official Debian/Ubuntu apt repositories
|
||||
|
||||
* iRedMail needs official Debian/Ubuntu apt repositories, please enable them in
|
||||
`/etc/apt/sources.lists`.
|
||||
`/etc/apt/sources.list`.
|
||||
* Install package `bzip2` so that you can uncompress downloaded iRedMail package.
|
||||
|
||||
```
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
## ChangeLog
|
||||
|
||||
* Jul 2, 2016: Fixed: SOGo-3.1.3 (and later releases) changed argument used by `sogo-tool` command
|
||||
* Jun 10, 2016: Fixed: Nginx doesn't forward real client IP address to SOGo.
|
||||
* Jun 8, 2016: Set correct file owner for config file of Roundcube password plugin.
|
||||
* Jun 8, 2016: Fixed: one incorrect HELO restriction rule in Postfix.
|
||||
|
@ -151,3 +152,16 @@ steps below to fix it.
|
|||
```
|
||||
|
||||
* Restart Nginx service.
|
||||
|
||||
### Fixed: SOGo-3.1.3 (and later releases) changed argument used by `sogo-tool` command
|
||||
|
||||
SOGo-3.1.3 (and late releases) changed `sogo-tool` argument `expire-autoreply`
|
||||
to `update-autoreply`, and it's used in a daily cron job. Please update SOGo
|
||||
cron job to fix it.
|
||||
|
||||
* Edit SOGo deamon user's cron job with command.
|
||||
* On Linux: ```crontab -e -u sogo```
|
||||
* On FreeBSD: ```crontab -e -u sogod```
|
||||
* On OpenBSD: ```crontab -e -u _sogo```
|
||||
|
||||
* Replace the argument `expire-autoreply` by `update-autoreply`.
|
||||
|
|
|
@ -88,7 +88,7 @@ mx.example.com
|
|||
|
||||
<h3 id="debianubuntu-apt">启用 Debian/Ubuntu 默认的官方 apt 软件源</h3>
|
||||
<ul>
|
||||
<li>iRedMail 依赖 Debian/Ubuntu 官方的 apt 软件源,请在 <code>/etc/apt/sources.lists</code>
|
||||
<li>iRedMail 依赖 Debian/Ubuntu 官方的 apt 软件源,请在 <code>/etc/apt/sources.list</code>
|
||||
文件里启用它们。</li>
|
||||
<li>安装 <code>bzip2</code> 程序用于解压缩文件:</li>
|
||||
</ul>
|
||||
|
|
|
@ -96,7 +96,7 @@ mx.example.com
|
|||
<h3 id="enable-default-official-debianubuntu-apt-repositories">Enable default official Debian/Ubuntu apt repositories</h3>
|
||||
<ul>
|
||||
<li>iRedMail needs official Debian/Ubuntu apt repositories, please enable them in
|
||||
<code>/etc/apt/sources.lists</code>.</li>
|
||||
<code>/etc/apt/sources.list</code>.</li>
|
||||
<li>Install package <code>bzip2</code> so that you can uncompress downloaded iRedMail package.</li>
|
||||
</ul>
|
||||
<pre><code># sudo apt-get install bzip2
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
<li><a href="#fixed-one-incorrect-helo-restriction-rule-in-postfix">Fixed: one incorrect HELO restriction rule in Postfix</a></li>
|
||||
<li><a href="#fixed-incorrect-file-owner-and-permission-of-config-file-of-roundcube-password-plugin">Fixed: incorrect file owner and permission of config file of Roundcube password plugin</a></li>
|
||||
<li><a href="#fixed-nginx-doesnt-forward-real-client-ip-address-to-sogo">Fixed: Nginx doesn't forward real client IP address to SOGo</a></li>
|
||||
<li><a href="#fixed-sogo-313-and-later-releases-changed-argument-used-by-sogo-tool-command">Fixed: SOGo-3.1.3 (and later releases) changed argument used by sogo-tool command</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -53,6 +54,7 @@ check <a href="../support.html">the details</a> and <a href="../contact.html">co
|
|||
</ul>
|
||||
<h2 id="changelog">ChangeLog</h2>
|
||||
<ul>
|
||||
<li>Jul 2, 2016: Fixed: SOGo-3.1.3 (and later releases) changed argument used by <code>sogo-tool</code> command</li>
|
||||
<li>Jun 10, 2016: Fixed: Nginx doesn't forward real client IP address to SOGo.</li>
|
||||
<li>Jun 8, 2016: Set correct file owner for config file of Roundcube password plugin.</li>
|
||||
<li>Jun 8, 2016: Fixed: one incorrect HELO restriction rule in Postfix.</li>
|
||||
|
@ -169,6 +171,23 @@ steps below to fix it.</p>
|
|||
|
||||
<ul>
|
||||
<li>Restart Nginx service.</li>
|
||||
</ul>
|
||||
<h3 id="fixed-sogo-313-and-later-releases-changed-argument-used-by-sogo-tool-command">Fixed: SOGo-3.1.3 (and later releases) changed argument used by <code>sogo-tool</code> command</h3>
|
||||
<p>SOGo-3.1.3 (and late releases) changed <code>sogo-tool</code> argument <code>expire-autoreply</code>
|
||||
to <code>update-autoreply</code>, and it's used in a daily cron job. Please update SOGo
|
||||
cron job to fix it.</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>Edit SOGo deamon user's cron job with command.</p>
|
||||
<ul>
|
||||
<li>On Linux: <code>crontab -e -u sogo</code></li>
|
||||
<li>On FreeBSD: <code>crontab -e -u sogod</code></li>
|
||||
<li>On OpenBSD: <code>crontab -e -u _sogo</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Replace the argument <code>expire-autoreply</code> by <code>update-autoreply</code>.</p>
|
||||
</li>
|
||||
</ul><div class="footer">
|
||||
<p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
||||
</div>
|
||||
|
|
|
@ -11,8 +11,12 @@ import commands
|
|||
import web
|
||||
import markdown
|
||||
|
||||
# https://github.com/FND/markdown-checklist
|
||||
from markdown_checklist.extension import ChecklistExtension
|
||||
|
||||
# Markdown extensions
|
||||
MD_EXTENSIONS = ['toc', 'meta', 'extra', 'footnotes', 'admonition', 'tables', 'attr_list']
|
||||
MD_EXTENSIONS = ['toc', 'meta', 'extra', 'footnotes', 'admonition',
|
||||
'tables', 'attr_list', ChecklistExtension()]
|
||||
|
||||
# Get file name
|
||||
filename = sys.argv[1]
|
||||
|
@ -31,7 +35,7 @@ for arg in args:
|
|||
cmd_opts[var] = value
|
||||
|
||||
# Get article title
|
||||
if not 'title' in cmd_opts:
|
||||
if 'title' not in cmd_opts:
|
||||
cmd_opts['title'] = commands.getoutput("""grep 'Title:' %s |awk -F'Title: ' '{print $2}'""" % filename)
|
||||
cmd_opts['title'] = cmd_opts['title'].strip()
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ mx.example.com
|
|||
|
||||
### 启用 Debian/Ubuntu 默认的官方 apt 软件源
|
||||
|
||||
* iRedMail 依赖 Debian/Ubuntu 官方的 apt 软件源,请在 `/etc/apt/sources.lists`
|
||||
* iRedMail 依赖 Debian/Ubuntu 官方的 apt 软件源,请在 `/etc/apt/sources.list`
|
||||
文件里启用它们。
|
||||
* 安装 `bzip2` 程序用于解压缩文件:
|
||||
|
||||
|
|
Loading…
Reference in New Issue