Simplify steps of changing sogo settings.

This commit is contained in:
Zhang Huangbin 2018-09-06 17:48:46 +08:00
parent 2f7bb07b52
commit 178497fc5d
2 changed files with 19 additions and 29 deletions

View File

@ -114,11 +114,14 @@ http {
}
```
## Change upload file size in SOGo-3.x
## Change file size limits in SOGo
SOGo-3.x introduces parameter `WOMaxUploadSize` to limit upload file size, you
can add it in SOGo config file `/etc/sogo/sogo.conf` with a proper attachment
size.
SOGo config file is `/etc/sogo/sogo.conf` (Linux/OpenBSD) or
`/usr/local/etc/sogo/sogo.conf` (FreeBSD), 2 settings are relevant to message size:
* SOGo-3.x introduces parameter `WOMaxUploadSize` to limit upload file size.
* SOGo-3.2.5 introduces parameter `SOGoMaximumMessageSizeLimit` to limit single
message size.
```
// set the maximum allowed size for content being sent to SOGo using a PUT or
@ -128,17 +131,7 @@ size.
// - The value is in kilobyte.
// - By default, the value is 0, or disabled so no limit will be set.
WOMaxUploadSize = 102400;
```
Restarting SOGo service is required.
## Change message size in SOGo-3.x
SOGo-3.2.5 introduces parameter `SOGoMaximumMessageSizeLimit` to limit message
size, you can add it in SOGo config file `/etc/sogo/sogo.conf` with a proper
size:
```
// Parameter used to set the maximum allowed email message size when
// composing a mail.
// The value is in kilobytes. By default, the value is 0, or disabled so
@ -146,7 +139,7 @@ size:
SOGoMaximumMessageSizeLimit = 102400;
```
Restarting SOGo service is required.
Restarting SOGo service is required if you changed any setting in SOGo config file.
## Change attachment size limit in Microsoft Outlook

View File

@ -30,8 +30,7 @@
</ul>
</li>
<li><a href="#change-upload-file-size-in-nginx">Change upload file size in Nginx</a></li>
<li><a href="#change-upload-file-size-in-sogo-3x">Change upload file size in SOGo-3.x</a></li>
<li><a href="#change-message-size-in-sogo-3x">Change message size in SOGo-3.x</a></li>
<li><a href="#change-file-size-limits-in-sogo">Change file size limits in SOGo</a></li>
<li><a href="#change-attachment-size-limit-in-microsoft-outlook">Change attachment size limit in Microsoft Outlook</a></li>
</ul>
</li>
@ -135,10 +134,14 @@ php_value post_max_size 100M
}
</code></pre>
<h2 id="change-upload-file-size-in-sogo-3x">Change upload file size in SOGo-3.x</h2>
<p>SOGo-3.x introduces parameter <code>WOMaxUploadSize</code> to limit upload file size, you
can add it in SOGo config file <code>/etc/sogo/sogo.conf</code> with a proper attachment
size.</p>
<h2 id="change-file-size-limits-in-sogo">Change file size limits in SOGo</h2>
<p>SOGo config file is <code>/etc/sogo/sogo.conf</code> (Linux/OpenBSD) or
<code>/usr/local/etc/sogo/sogo.conf</code> (FreeBSD), 2 settings are relevant to message size:</p>
<ul>
<li>SOGo-3.x introduces parameter <code>WOMaxUploadSize</code> to limit upload file size.</li>
<li>SOGo-3.2.5 introduces parameter <code>SOGoMaximumMessageSizeLimit</code> to limit single
message size.</li>
</ul>
<pre><code> // set the maximum allowed size for content being sent to SOGo using a PUT or
// a POST call. This can also limit the file attachment size being uploaded
// to SOGo when composing a mail.
@ -146,21 +149,15 @@ size.</p>
// - The value is in kilobyte.
// - By default, the value is 0, or disabled so no limit will be set.
WOMaxUploadSize = 102400;
</code></pre>
<p>Restarting SOGo service is required.</p>
<h2 id="change-message-size-in-sogo-3x">Change message size in SOGo-3.x</h2>
<p>SOGo-3.2.5 introduces parameter <code>SOGoMaximumMessageSizeLimit</code> to limit message
size, you can add it in SOGo config file <code>/etc/sogo/sogo.conf</code> with a proper
size:</p>
<pre><code> // Parameter used to set the maximum allowed email message size when
// Parameter used to set the maximum allowed email message size when
// composing a mail.
// The value is in kilobytes. By default, the value is 0, or disabled so
// no limit will be set.
SOGoMaximumMessageSizeLimit = 102400;
</code></pre>
<p>Restarting SOGo service is required.</p>
<p>Restarting SOGo service is required if you changed any setting in SOGo config file.</p>
<h2 id="change-attachment-size-limit-in-microsoft-outlook">Change attachment size limit in Microsoft Outlook</h2>
<p>Outlook has its own attachment size limit, and will raise error like <code>The
attachment size exceeds the allowable limit.</code></p>