2 new pages: allow.insecure.pop3.imap.connection.html, change.mail.attachment.size.html.

This commit is contained in:
Zhang Huangbin 2014-10-01 08:19:50 +08:00
parent 2a805ee202
commit 07901c836d
9 changed files with 247 additions and 17 deletions

View File

@ -8,6 +8,7 @@ We're working on migrating [old wiki documents](http://www.iredmail.org/wiki) to
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](src/default/howto/1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](src/default/howto/1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Quarantining](src/default/howto/1-quarantining.md)
* [Allow insecure POP3/IMAP connection without STARTTLS](src/default/howto/2-allow.insecure.pop3.imap.connection.md)
* [Allow user to send email without authentication](src/default/howto/allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](src/default/howto/configure.thunderbird.md)
* [Ignore Trash folder in mailbox quota](src/default/howto/ignore.trash.folder.in.quota.md)

View File

@ -1816,3 +1816,148 @@
* [Turn on debug mode in OpenLDAP](turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](why.append.timestamp.in.maildir.path.md)
# Install iRedMail
* [Perform silent/unattended iRedMail installation](unattended.iredmail.installation.md)
# How to
* [Change mail attachment size](0-change.mail.attachment.size.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](0-completely.disable.amavisd.clamav.spamassassin.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](0-enable.smtps.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Quarantining](1-quarantining.md)
* [Allow user to send email without authentication](allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](configure.thunderbird.md)
* [Ignore Trash folder in mailbox quota](ignore.trash.folder.in.quota.md)
* [LDAP: Add an alias domain](ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](ldap.user.mail.forwarding.md)
* [Monitor incoming and outgoing mails with BCC](monitor.incoming.and.outgoing.mails.with.bcc.md)
* [Pipe incoming email for certain user to external script ](pipe.incoming.email.for.certain.user.to.external.script.md)
* [Force Dovecot to recalculate mailbox quota](recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](store.spamassassin.bayes.in.sql.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [Migrate iRedAdmin open source edition to iRedAdmin-Pro](migrate.or.upgrade.iredadmin.md)
* [Migrate old iRedMail server to the latest stable release](migrate.to.new.iredmail.server.md)
* [Password hashes](password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Cluebringer](turn.on.debug.mode.in.cluebringer.md)
* [Turn on debug mode in Dovecot](turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](why.append.timestamp.in.maildir.path.md)
# Install iRedMail
* [Perform silent/unattended iRedMail installation](unattended.iredmail.installation.md)
# How to
* [Change mail attachment size](0-change.mail.attachment.size.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](0-completely.disable.amavisd.clamav.spamassassin.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](0-enable.smtps.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Quarantining](1-quarantining.md)
* [Allow user to send email without authentication](allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](configure.thunderbird.md)
* [Ignore Trash folder in mailbox quota](ignore.trash.folder.in.quota.md)
* [LDAP: Add an alias domain](ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](ldap.user.mail.forwarding.md)
* [Monitor incoming and outgoing mails with BCC](monitor.incoming.and.outgoing.mails.with.bcc.md)
* [Pipe incoming email for certain user to external script ](pipe.incoming.email.for.certain.user.to.external.script.md)
* [Force Dovecot to recalculate mailbox quota](recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](store.spamassassin.bayes.in.sql.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [Migrate iRedAdmin open source edition to iRedAdmin-Pro](migrate.or.upgrade.iredadmin.md)
* [Migrate old iRedMail server to the latest stable release](migrate.to.new.iredmail.server.md)
* [Password hashes](password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Cluebringer](turn.on.debug.mode.in.cluebringer.md)
* [Turn on debug mode in Dovecot](turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](why.append.timestamp.in.maildir.path.md)
# Install iRedMail
* [Perform silent/unattended iRedMail installation](unattended.iredmail.installation.md)
# How to
* [Change mail attachment size](0-change.mail.attachment.size.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](0-completely.disable.amavisd.clamav.spamassassin.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](0-enable.smtps.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Quarantining](1-quarantining.md)
* [Allow user to send email without authentication](allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](configure.thunderbird.md)
* [Ignore Trash folder in mailbox quota](ignore.trash.folder.in.quota.md)
* [LDAP: Add an alias domain](ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](ldap.user.mail.forwarding.md)
* [Monitor incoming and outgoing mails with BCC](monitor.incoming.and.outgoing.mails.with.bcc.md)
* [Pipe incoming email for certain user to external script ](pipe.incoming.email.for.certain.user.to.external.script.md)
* [Force Dovecot to recalculate mailbox quota](recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](store.spamassassin.bayes.in.sql.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [Migrate iRedAdmin open source edition to iRedAdmin-Pro](migrate.or.upgrade.iredadmin.md)
* [Migrate old iRedMail server to the latest stable release](migrate.to.new.iredmail.server.md)
* [Password hashes](password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Cluebringer](turn.on.debug.mode.in.cluebringer.md)
* [Turn on debug mode in Dovecot](turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](why.append.timestamp.in.maildir.path.md)
# Install iRedMail
* [Perform silent/unattended iRedMail installation](unattended.iredmail.installation.md)
# How to
* [Change mail attachment size](0-change.mail.attachment.size.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](0-completely.disable.amavisd.clamav.spamassassin.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](0-enable.smtps.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](1-amavisd.no.x-spam.headers.md)
* [Disable spam virus scanning for outgoing mails](1-disable.spam.virus.scanning.for.outgoing.mails.md)
* [Quarantining](1-quarantining.md)
* [Allow insecure POP3/IMAP connection without STARTTLS](2-allow.insecure.pop3.imap.connection.md)
* [Allow user to send email without authentication](allow.user.to.send.email.without.authentication.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](configure.thunderbird.md)
* [Ignore Trash folder in mailbox quota](ignore.trash.folder.in.quota.md)
* [LDAP: Add an alias domain](ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](ldap.user.mail.forwarding.md)
* [Monitor incoming and outgoing mails with BCC](monitor.incoming.and.outgoing.mails.with.bcc.md)
* [Pipe incoming email for certain user to external script ](pipe.incoming.email.for.certain.user.to.external.script.md)
* [Force Dovecot to recalculate mailbox quota](recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](store.spamassassin.bayes.in.sql.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [Migrate iRedAdmin open source edition to iRedAdmin-Pro](migrate.or.upgrade.iredadmin.md)
* [Migrate old iRedMail server to the latest stable release](migrate.to.new.iredmail.server.md)
* [Password hashes](password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Cluebringer](turn.on.debug.mode.in.cluebringer.md)
* [Turn on debug mode in Dovecot](turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](why.append.timestamp.in.maildir.path.md)

View File

@ -1,5 +1,7 @@
# Change mail attachment size
[TOC]
To change mail attachment size, we have to change 3 settings.
## Change message size limit in postfix
@ -34,7 +36,7 @@ ok to sent large attachment with above setting.
If you have webmail, you have to change two more settings:
1. Change PHP setting to allow to upload large attachment
### Change PHP setting to allow to upload large attachment
You should change `memory_limit`, `upload_max_filesize` and `post_max_size` in
PHP config file `/etc/php.ini`
@ -52,7 +54,7 @@ upload_max_filesize = 100M;
post_max_size = 100M;
```
2. Change Roundcube webmail settings to allow large attachment
### Change Roundcube webmail settings to allow large attachment
Change same settings in file `.htaccess` under roundcube root directory:
@ -62,9 +64,9 @@ Change same settings in file `.htaccess` under roundcube root directory:
* on OpenBSD, it's `/var/www/roundcubemail/.htaccess`
```
php_value memory_limit 200M
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value memory_limit 200M
```
Restart Apache or Nginx web server to make it work.

View File

@ -0,0 +1,31 @@
# Allow insecure POP3/IMAP connection without STARTTLS
With default iRedMail setting, all clients are forced to use IMAPS and POPS (via
STARTTLS) for better security by default. If your mail clients try to access
mailbox via protocol POP3 (port 110) or IMAP (port 143) without TLS support,
you will get error message like below:
```
Plaintext authentication disallowed on non-secure (SSL/TLS) connections
```
If you want to enable POP3/IMAPS without STARTTLS for some reason (again, not
recommended), please update below two parameters in Dovecot config file
`dovecot.conf` and restart Dovecot service:
* on Linux and OpenBSD, it's `/etc/dovecot/dovecot.conf`
* on FreeBSD, it's `/usr/local/etc/dovecot/dovecot.conf`
```
disable_plaintext_auth=no
ssl=yes
```
Again, it's strongly recommended to use only POP3S/IMAPS for better security.
Default and recommended setting configured by iRedMail is:
```
disable_plaintext_auth=yes
ssl=required
```

View File

@ -0,0 +1,36 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Allow insecure POP3/IMAP connection without STARTTLS</title>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<div id="navigation">
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
// <a href="./index.html">Document Index</a>
</div><h1 id="allow-insecure-pop3imap-connection-without-starttls">Allow insecure POP3/IMAP connection without STARTTLS</h1>
<p>With default iRedMail setting, all clients are forced to use IMAPS and POPS (via
STARTTLS) for better security by default. If your mail clients try to access
mailbox via protocol POP3 (port 110) or IMAP (port 143) without TLS support,
you will get error message like below:</p>
<pre><code>Plaintext authentication disallowed on non-secure (SSL/TLS) connections
</code></pre>
<p>If you want to enable POP3/IMAPS without STARTTLS for some reason (again, not
recommended), please update below two parameters in Dovecot config file
<code>dovecot.conf</code> and restart Dovecot service:</p>
<ul>
<li>on Linux and OpenBSD, it's <code>/etc/dovecot/dovecot.conf</code></li>
<li>on FreeBSD, it's <code>/usr/local/etc/dovecot/dovecot.conf</code></li>
</ul>
<pre><code>disable_plaintext_auth=no
ssl=yes
</code></pre>
<p>Again, it's strongly recommended to use only POP3S/IMAPS for better security.</p>
<p>Default and recommended setting configured by iRedMail is:</p>
<pre><code>disable_plaintext_auth=yes
ssl=required
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p></body></html>

View File

@ -11,6 +11,19 @@
// <a href="./index.html">Document Index</a>
</div><h1 id="change-mail-attachment-size">Change mail attachment size</h1>
<div class="toc">
<ul>
<li><a href="#change-mail-attachment-size">Change mail attachment size</a><ul>
<li><a href="#change-message-size-limit-in-postfix">Change message size limit in postfix</a></li>
<li><a href="#change-upload-file-size-in-webmail">Change upload file size in webmail</a><ul>
<li><a href="#change-php-setting-to-allow-to-upload-large-attachment">Change PHP setting to allow to upload large attachment</a></li>
<li><a href="#change-roundcube-webmail-settings-to-allow-large-attachment">Change Roundcube webmail settings to allow large attachment</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<p>To change mail attachment size, we have to change 3 settings.</p>
<h2 id="change-message-size-limit-in-postfix">Change message size limit in postfix</h2>
<p>Postfix is MTA, so we have to change its setting to transfer mail with large
@ -35,9 +48,7 @@ like below:</p>
ok to sent large attachment with above setting.</p>
<h2 id="change-upload-file-size-in-webmail">Change upload file size in webmail</h2>
<p>If you have webmail, you have to change two more settings:</p>
<ol>
<li>Change PHP setting to allow to upload large attachment</li>
</ol>
<h3 id="change-php-setting-to-allow-to-upload-large-attachment">Change PHP setting to allow to upload large attachment</h3>
<p>You should change <code>memory_limit</code>, <code>upload_max_filesize</code> and <code>post_max_size</code> in
PHP config file <code>/etc/php.ini</code></p>
<ul>
@ -53,9 +64,7 @@ upload_max_filesize = 100M;
post_max_size = 100M;
</code></pre>
<ol>
<li>Change Roundcube webmail settings to allow large attachment</li>
</ol>
<h3 id="change-roundcube-webmail-settings-to-allow-large-attachment">Change Roundcube webmail settings to allow large attachment</h3>
<p>Change same settings in file <code>.htaccess</code> under roundcube root directory:</p>
<ul>
<li>on RHEL/CentOS, it's <code>/var/www/roundcubemail/.htaccess</code></li>
@ -63,9 +72,9 @@ post_max_size = 100M;
<li>on FreeBSD, it's <code>/usr/local/www/roundcubemail/.htaccess</code></li>
<li>on OpenBSD, it's <code>/var/www/roundcubemail/.htaccess</code></li>
</ul>
<pre><code>php_value upload_max_filesize 100M
<pre><code>php_value memory_limit 200M
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value memory_limit 200M
</code></pre>
<p>Restart Apache or Nginx web server to make it work.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p></body></html>

View File

@ -21,6 +21,7 @@
<li><a href="amavisd.no.x-spam.headers.html">Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></li>
<li><a href="disable.spam.virus.scanning.for.outgoing.mails.html">Disable spam virus scanning for outgoing mails</a></li>
<li><a href="quarantining.html">Quarantining</a></li>
<li><a href="allow.insecure.pop3.imap.connection.html">Allow insecure POP3/IMAP connection without STARTTLS</a></li>
<li><a href="allow.user.to.send.email.without.authentication.html">Allow user to send email without authentication</a></li>
<li><a href="configure.thunderbird.html">Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)</a></li>
<li><a href="ignore.trash.folder.in.quota.html">Ignore Trash folder in mailbox quota</a></li>

View File

@ -11,9 +11,12 @@
// <a href="./index.html">Document Index</a>
</div><h1 id="turn-on-debug-mode-in-dovecot">Turn on debug mode in Dovecot</h1>
<p>To turn on debug mode in Dovecot, please update Dovecot config file
<code>/etc/dovecot/dovecot.conf</code> (Linux/OpenBSD) or
<code>/usr/local/etc/dovecot/dovecot.conf</code> (FreeBSD), set <code>mail_debug</code> to <code>yes</code>:</p>
<p>To turn on debug mode in Dovecot, please update below parameter in Dovecot
config file <code>dovecot.conf</code>:</p>
<ul>
<li>on Linux and OpenBSD, it's <code>/etc/dovecot/dovecot.conf</code></li>
<li>on FreeBSD, it's <code>/usr/local/etc/dovecot/dovecot.conf</code></li>
</ul>
<pre><code>mail_debug = yes
</code></pre>

View File

@ -1,8 +1,10 @@
# Turn on debug mode in Dovecot
To turn on debug mode in Dovecot, please update Dovecot config file
`/etc/dovecot/dovecot.conf` (Linux/OpenBSD) or
`/usr/local/etc/dovecot/dovecot.conf` (FreeBSD), set `mail_debug` to `yes`:
To turn on debug mode in Dovecot, please update below parameter in Dovecot
config file `dovecot.conf`:
* on Linux and OpenBSD, it's `/etc/dovecot/dovecot.conf`
* on FreeBSD, it's `/usr/local/etc/dovecot/dovecot.conf`
```
mail_debug = yes