Don't organize HTML files in directories.

This commit is contained in:
Zhang Huangbin 2014-09-23 11:13:40 +08:00
parent 92a66a0d4d
commit 4e9983ac03
31 changed files with 256 additions and 216 deletions

View File

@ -11,7 +11,7 @@ fax-machine-12@mydomain.tld OK
Use postmap to create hash db file:
```
# postmap hash:/etc/postfix/accepted_unauth_senders```
# postmap hash:/etc/postfix/accepted_unauth_senders
```
Modify Postfix to use this text file: `/etc/postfix/main.cf`

View File

@ -208,3 +208,195 @@
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](howto/quarantining.clean.mail.md)
* [Force Dovecot to recalculate mailbox quota](howto/recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](howto/sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](howto/store.spamassassin.bayes.in.sql.md)
* [Perform silent/unattended iRedMail installation](howto/unattended.iredmail.installation.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](integrations/sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [How to migrate old iRedMail server to the latest stable release](backup-restore-migration/migrate.to.new.iredmail.server.md)
* [Password hashes](backup-restore-migration/password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](troubleshooting/turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Dovecot](troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](howto/quarantining.clean.mail.md)
* [Force Dovecot to recalculate mailbox quota](howto/recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](howto/sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](howto/store.spamassassin.bayes.in.sql.md)
* [Perform silent/unattended iRedMail installation](howto/unattended.iredmail.installation.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](integrations/sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [How to migrate old iRedMail server to the latest stable release](backup-restore-migration/migrate.to.new.iredmail.server.md)
* [Password hashes](backup-restore-migration/password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](troubleshooting/turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Dovecot](troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](howto/quarantining.clean.mail.md)
* [Force Dovecot to recalculate mailbox quota](howto/recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](howto/sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](howto/store.spamassassin.bayes.in.sql.md)
* [Perform silent/unattended iRedMail installation](howto/unattended.iredmail.installation.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](integrations/sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [How to migrate old iRedMail server to the latest stable release](backup-restore-migration/migrate.to.new.iredmail.server.md)
* [Password hashes](backup-restore-migration/password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](troubleshooting/turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Dovecot](troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](howto/quarantining.clean.mail.md)
* [Force Dovecot to recalculate mailbox quota](howto/recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](howto/sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](howto/store.spamassassin.bayes.in.sql.md)
* [Perform silent/unattended iRedMail installation](howto/unattended.iredmail.installation.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](integrations/sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [How to migrate old iRedMail server to the latest stable release](backup-restore-migration/migrate.to.new.iredmail.server.md)
* [Password hashes](backup-restore-migration/password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](troubleshooting/turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Dovecot](troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](howto/allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](howto/amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](howto/completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](howto/configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](howto/enable.smtps.md)
* [LDAP: Add an alias domain](howto/ldap.add.alias.domain.md)
* [LDAP: Add a mail alias account](howto/ldap.add.mail.alias.md)
* [LDAP: Add a mail list account](howto/ldap.add.mail.list.md)
* [LDAP: User mail forwarding.](howto/ldap.user.mail.forwarding.md)
* [Pipe incoming email for certain user to external script ](howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](howto/quarantining.clean.mail.md)
* [Force Dovecot to recalculate mailbox quota](howto/recalculate.mailbox.quota.md)
* [SQL: Create an mail alias account with SQL command line](howto/sql.create.mail.alias.md)
* [Store SpamAssassin bayes in SQL](howto/store.spamassassin.bayes.in.sql.md)
* [Perform silent/unattended iRedMail installation](howto/unattended.iredmail.installation.md)
# Third-party integrations.
* [SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](integrations/sogo-centos-6-mysql.md)
# Cluster solutions
* [An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS ](cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.md)
# Backup, restore and migration
* [How to migrate old iRedMail server to the latest stable release](backup-restore-migration/migrate.to.new.iredmail.server.md)
* [Password hashes](backup-restore-migration/password.hashes.md)
# Troubleshooting and Debug
* [Turn on debug mode in Amavisd](troubleshooting/turn.on.debug.mode.in.amavisd.md)
* [Turn on debug mode in Dovecot](troubleshooting/turn.on.debug.mode.in.dovecot.md)
* [Turn on debug mode in OpenLDAP](troubleshooting/turn.on.debug.mode.in.openldap.md)
# Frequently Asked Questions
* [Why append timestamp in maildir path](faq/why.append.timestamp.in.maildir.path.md)
# How to
* [Allow user to send email without authentication](allow.user.to.send.email.without.authentication.md)
* [Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](amavisd.no.x-spam.headers.md)
* [Completely disable Amavisd + ClamAV + SpamAssassin](completely.disable.amavisd.clamav.spamassassin.md)
* [Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](configure.thunderbird.md)
* [Disable spam virus scanning for outgoing mails](disable.spam.virus.scanning.for.outgoing.mails.md)
* [Enable SMTPS service (SMTP over SSL, port 465)](enable.smtps.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)
* [Pipe incoming email for certain user to external script ](pipe.incoming.email.for.certain.user.to.external.script.md)
* [Quarantine clean mail into SQL database](quarantining.clean.mail.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)
* [Perform silent/unattended iRedMail installation](unattended.iredmail.installation.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
* [How to 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 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

@ -56,8 +56,8 @@ for chapter_dir in ${all_chapter_dirs}; do
# Output directory.
# Remove prefix '[number]-' in chapter directory name.
chapter_dir_in_article="$(strip_name_prefix ${chapter_dir})"
_output_chapter_dir="${OUTPUT_DIR}/${chapter_dir_in_article}"
#chapter_dir_in_article="$(strip_name_prefix ${chapter_dir})"
#_output_chapter_dir="${OUTPUT_DIR}/${chapter_dir_in_article}"
_title_md="${chapter_dir}/_title.md"
_summary_md="${chapter_dir}/_summary.md"
@ -76,12 +76,12 @@ for chapter_dir in ${all_chapter_dirs}; do
fi
fi
mkdir -p ${_output_chapter_dir} &>/dev/null
#mkdir -p ${_output_chapter_dir} &>/dev/null
# Create ${_output_chapter_dir}/_summary.html
if [ -f ${_summary_md} ]; then
${CMD_CONVERT} ${_summary_md} ${_output_chapter_dir}
fi
#if [ -f ${_summary_md} ]; then
# ${CMD_CONVERT} ${_summary_md} ${_output_chapter_dir}
#fi
# Article info:
# - title: first line (without '#') of markdown file
@ -98,13 +98,16 @@ for chapter_dir in ${all_chapter_dirs}; do
_article_title="$(head -1 ${article_file} | awk -F'# ' '{print $2}')"
#_article_title="$(head -1 ${article_file} | awk -F'Title: ' '{print $2}')"
#echo "article title: ${_article_title}"
echo "* [${_article_title}](${chapter_dir_in_article}/${article_html_file})" >> ${INDEX_MD}
#echo "* [${_article_title}](${chapter_dir_in_article}/${article_html_file})" >> ${INDEX_MD}
echo "* [${_article_title}](${article_html_file})" >> ${INDEX_MD}
# 'src/default/' is path to view source file on bitbucket.org
echo "* [${_article_title}](src/default/${article_file_without_prefix_path})" >> ${README_MD}
echo "* [${_article_title}](${article_file_without_prefix})" >> ${GITBOOK_MD}
#echo "* [${_article_title}](${article_file_without_prefix})" >> ${GITBOOK_MD}
echo "* [${_article_title}](${article_file_basename})" >> ${GITBOOK_MD}
${CMD_CONVERT} ${article_file} ${_output_chapter_dir} \
#${CMD_CONVERT} ${article_file} ${_output_chapter_dir} \
${CMD_CONVERT} ${article_file} ${OUTPUT_DIR} \
title="${_article_title}" \
add_index_link='yes'
done

View File

@ -21,7 +21,7 @@
</code></pre>
<p>Use postmap to create hash db file:</p>
<pre><code># postmap hash:/etc/postfix/accepted_unauth_senders```
<pre><code># postmap hash:/etc/postfix/accepted_unauth_senders
</code></pre>
<p>Modify Postfix to use this text file: <code>/etc/postfix/main.cf</code></p>
@ -32,4 +32,4 @@
<p>Restart/reload postfix to make it work:</p>
<pre><code># /etc/init.d/postfix restart
</code></pre></body></html>
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -22,4 +22,4 @@
<li>Red Hat, CentOS, OpenBSD: <code>/etc/amavisd/amavisd.conf</code></li>
<li>Debian, Ubuntu: <code>/etc/amavis/conf.d/50-user</code> (and other config files under <code>/etc/amavs/conf.d/</code>)</li>
<li>FreeBSD: <code>/usr/local/etc/amavisd/amavisd.conf</code></li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -51,4 +51,4 @@ receive_override_options = no_address_mappings
<ul>
<li>ClamAV and SpamAssassin will be invoked by Amavisd, so if you disable Amavisd, those two are disabled too.</li>
<li>SpamAssassin doesn't have daemon service running in iRedMail solution, so there's no need to stop SpamAssassin service.</li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -74,4 +74,4 @@
<p>Now switch to tab <code>Offline</code>, click button <code>Download Now</code> to test your settings. It will prompt to input password for this LDAP server, just type password of your mail account. With correct bind dn and password, it will display <code>Replicated succeeded</code>.</p>
</li>
</ul>
<p>That's all.</p></body></html>
<p>That's all.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -32,4 +32,4 @@
}
</code></pre>
<p>Restarting Amavisd service is required after changing settings.</p></body></html>
<p>Restarting Amavisd service is required after changing settings.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -69,4 +69,4 @@ mail_services="{www, https, submission, imap, imaps, pop3, pop3s, ssh, smtps}"
</code></pre>
<p>Reload PF rule file:</p>
<pre><code># pfctl -f /etc/pf.conf
</code></pre></body></html>
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -1,70 +0,0 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Password hashes</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="password-hashes">Password hashes</h1>
<h2 id="password-hashes-supported-by-iredmail">Password hashes supported by iRedMail</h2>
<p>iRedMail configures Postfix to use Dovecot as SASL authenticate server, so all
password schemes supported by Dovecot can be used in iRedMail. Please refer to
Dovecot wiki page
<a href="http://wiki2.dovecot.org/Authentication/PasswordSchemes"><code>Password Schemes</code></a> for more details.</p>
<p>Below password schemes are supported in iRedAdmin-Pro (which means you can add new mail user with either one):</p>
<ul>
<li>Plain text. e.g. <code>123456</code></li>
<li>MD5. (salted. e.g. <code>$1$GfHYI7OE$vlXqMZSyJOSPXAmbXHq250</code></li>
<li>PLAIN-MD5 (unsalted MD5). e.g. <code>0d2bf3c712402f428d48fed691850bfc</code></li>
<li>SSHA. e.g. <code>{SSHA}OuCrqL2yWwQIu8a9uvyOQ5V/ZKfL7LJD</code></li>
<li>SSHA512. e.g. <code>{SSHA512}FxgXDhBVYmTqoboW+ibyyzPv/wGG7y4VJtuHWrx+wfqrs/lIH2Qxn2eA0jygXtBhMvRi7GNFmL++6aAZ0kXpcy1fxag=</code></li>
</ul>
<p><strong>NOTE</strong>: Dovecot claims it supports SSHA512, but I didn't get it work.
Please test it first if you choose SSHA512.</p>
<h2 id="default-password-schemes-used-in-iredmail">Default password schemes used in iRedMail</h2>
<ul>
<li>For MySQL and PostgreSQL backends: <code>MD5</code> (salted).</li>
<li>For LDAP backend: <code>SSHA</code>.</li>
</ul>
<h2 id="how-to-use-different-password-hashes-in-iredmail">How to use different password hashes in iRedMail</h2>
<h3 id="for-mysql-and-postgresql-backends">For MySQL and PostgreSQL backends</h3>
<p>All mail users are stored in SQL table <code>vmail.mailbox</code>, user password is stored
in SQL column <code>mailbox.password</code>. For example:</p>
<pre><code>sql&gt; UPDATE mailbox SET password='$1$GfHYI7OE$vlXqMZSyJOSPXAmbXHq250' WHERE username='xx@xx';
sql&gt; UPDATE mailbox SET password='{SSHA}OuCrqL2yWwQIu8a9uvyOQ5V/ZKfL7LJD' WHERE username='xx@xx';
sql&gt; UPDATE mailbox SET password='{SSHA512}FxgXDhBVYmTqoboW+ibyyzPv/wGG7y4VJtuHWrx+wfqrs/lIH2Qxn2eA0jygXtBhMvRi7GNFmL++6aAZ0kXpcy1fxag=' WHERE username='xx@xx';
</code></pre>
<ul>
<li>To store PLAIN-MD5, you have to prepend <code>{PLAIN-MD5}</code> in your password hash:</li>
</ul>
<pre><code>sql&gt; UPDATE mailbox SET password='{PLAIN-MD5}0d2bf3c712402f428d48fed691850bfc' WHERE username='xx@xx';
</code></pre>
<ul>
<li>To store plain password, you have to prepend <code>{PLAIN}</code>:
<code>sql&gt; UPDATE mailbox SET password='{PLAIN}123456' WHERE username='xx@xx';</code></li>
</ul>
<h3 id="for-ldap-backends">For LDAP backends</h3>
<p>User password is stored in attribute <code>userPassword</code> of user object.</p>
<ul>
<li>
<p>To store plain password, SSHA, SSHA512 password hash, just store them in
original format. For example:
<code>userPassword: 123456
userPassword: {SSHA}OuCrqL2yWwQIu8a9uvyOQ5V/ZKfL7LJD
userPassword: {SSHA512}FxgXDhBVYmTqoboW+ibyyzPv/wGG7y4VJtuHWrx+wfqrs/lIH2Qxn2eA0jygXtBhMvRi7GNFmL++6aAZ0kXpcy1fxag=</code></p>
</li>
<li>
<p>To store standard MD5 password (salted MD5 hash), please prepend <code>{CRYPT}</code>
(case insensitive) in your password hash. For example:
<code>userPassword: {CRYPT}$1$GfHYI7OE$vlXqMZSyJOSPXAmbXHq250</code></p>
</li>
</ul>
<p><strong>IMPORTANT NOTE</strong>: If you want to input password hash with phpLDAPadmin,
please choose <code>clear</code> in the password hash list, then input password hash.</p></body></html>

View File

@ -482,4 +482,4 @@ A copy of the license is included in the section entitled &quot;GNU
Free Documentation License&quot;. --- https://gnu.org/licenses/fdl.html
</code></pre>
<p>Joshua Boniface is a Linux system administrator from Burlington, ON, Canada, specializing in Debian-based distributions. He can be found online under the handle "djbon2112", via his e-mail address joshua <at> boniface <dot> me, and at his website (under construction) http://www.boniface.me.</p></body></html>
<p>Joshua Boniface is a Linux system administrator from Burlington, ON, Canada, specializing in Debian-based distributions. He can be found online under the handle "djbon2112", via his e-mail address joshua <at> boniface <dot> me, and at his website (under construction) http://www.boniface.me.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -11,43 +11,43 @@
</div><p>We're working on migrating <a href="http://www.iredmail.org/wiki">old wiki documents</a> to Markdown format for easier maintenance.</p>
<h1 id="how-to">How to</h1>
<ul>
<li><a href="howto/allow.user.to.send.email.without.authentication.html">Allow user to send email without authentication</a></li>
<li><a href="howto/amavisd.no.x-spam.headers.html">Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></li>
<li><a href="howto/completely.disable.amavisd.clamav.spamassassin.html">Completely disable Amavisd + ClamAV + SpamAssassin</a></li>
<li><a href="howto/configure.thunderbird.html">Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)</a></li>
<li><a href="howto/disable.spam.virus.scanning.for.outgoing.mails.html">Disable spam virus scanning for outgoing mails</a></li>
<li><a href="howto/enable.smtps.html">Enable SMTPS service (SMTP over SSL, port 465)</a></li>
<li><a href="howto/ldap.add.alias.domain.html">LDAP: Add an alias domain</a></li>
<li><a href="howto/ldap.add.mail.alias.html">LDAP: Add a mail alias account</a></li>
<li><a href="howto/ldap.add.mail.list.html">LDAP: Add a mail list account</a></li>
<li><a href="howto/ldap.user.mail.forwarding.html">LDAP: User mail forwarding.</a></li>
<li><a href="howto/pipe.incoming.email.for.certain.user.to.external.script.html">Pipe incoming email for certain user to external script </a></li>
<li><a href="howto/quarantining.clean.mail.html">Quarantine clean mail into SQL database</a></li>
<li><a href="howto/recalculate.mailbox.quota.html">Force Dovecot to recalculate mailbox quota</a></li>
<li><a href="howto/sql.create.mail.alias.html">SQL: Create an mail alias account with SQL command line</a></li>
<li><a href="howto/store.spamassassin.bayes.in.sql.html">Store SpamAssassin bayes in SQL</a></li>
<li><a href="howto/unattended.iredmail.installation.html">Perform silent/unattended iRedMail installation</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="amavisd.no.x-spam.headers.html">Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></li>
<li><a href="completely.disable.amavisd.clamav.spamassassin.html">Completely disable Amavisd + ClamAV + SpamAssassin</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="disable.spam.virus.scanning.for.outgoing.mails.html">Disable spam virus scanning for outgoing mails</a></li>
<li><a href="enable.smtps.html">Enable SMTPS service (SMTP over SSL, port 465)</a></li>
<li><a href="ldap.add.alias.domain.html">LDAP: Add an alias domain</a></li>
<li><a href="ldap.add.mail.alias.html">LDAP: Add a mail alias account</a></li>
<li><a href="ldap.add.mail.list.html">LDAP: Add a mail list account</a></li>
<li><a href="ldap.user.mail.forwarding.html">LDAP: User mail forwarding.</a></li>
<li><a href="pipe.incoming.email.for.certain.user.to.external.script.html">Pipe incoming email for certain user to external script </a></li>
<li><a href="quarantining.clean.mail.html">Quarantine clean mail into SQL database</a></li>
<li><a href="recalculate.mailbox.quota.html">Force Dovecot to recalculate mailbox quota</a></li>
<li><a href="sql.create.mail.alias.html">SQL: Create an mail alias account with SQL command line</a></li>
<li><a href="store.spamassassin.bayes.in.sql.html">Store SpamAssassin bayes in SQL</a></li>
<li><a href="unattended.iredmail.installation.html">Perform silent/unattended iRedMail installation</a></li>
</ul>
<h1 id="third-party-integrations">Third-party integrations.</h1>
<ul>
<li><a href="integrations/sogo-centos-6-mysql.html">SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)</a></li>
<li><a href="sogo-centos-6-mysql.html">SOGo: How to install SOGo on CentOS 6 with iRedMail (MySQL backend)</a></li>
</ul>
<h1 id="cluster-solutions">Cluster solutions</h1>
<ul>
<li><a href="cluster/full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.html">An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS </a></li>
<li><a href="full.mult-master.iredmail.cluster.with.mariadb.and.ipvs.html">An Ultra-HA, full Mult-Master E-mail cluster with iRedMail, MariaDB, and IPVS </a></li>
</ul>
<h1 id="backup-restore-and-migration">Backup, restore and migration</h1>
<ul>
<li><a href="backup-restore-migration/migrate.to.new.iredmail.server.html">How to migrate old iRedMail server to the latest stable release</a></li>
<li><a href="backup-restore-migration/password.hashes.html">Password hashes</a></li>
<li><a href="migrate.to.new.iredmail.server.html">How to migrate old iRedMail server to the latest stable release</a></li>
<li><a href="password.hashes.html">Password hashes</a></li>
</ul>
<h1 id="troubleshooting-and-debug">Troubleshooting and Debug</h1>
<ul>
<li><a href="troubleshooting/turn.on.debug.mode.in.amavisd.html">Turn on debug mode in Amavisd</a></li>
<li><a href="troubleshooting/turn.on.debug.mode.in.dovecot.html">Turn on debug mode in Dovecot</a></li>
<li><a href="troubleshooting/turn.on.debug.mode.in.openldap.html">Turn on debug mode in OpenLDAP</a></li>
<li><a href="turn.on.debug.mode.in.amavisd.html">Turn on debug mode in Amavisd</a></li>
<li><a href="turn.on.debug.mode.in.dovecot.html">Turn on debug mode in Dovecot</a></li>
<li><a href="turn.on.debug.mode.in.openldap.html">Turn on debug mode in OpenLDAP</a></li>
</ul>
<h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
<ul>
<li><a href="faq/why.append.timestamp.in.maildir.path.html">Why append timestamp in maildir path</a></li>
</ul></body></html>
<li><a href="why.append.timestamp.in.maildir.path.html">Why append timestamp in maildir path</a></li>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -57,4 +57,4 @@ original email address.</p>
</li>
</ul>
<p>If you have several mail accounts (mail users, lists, aliases), you have to
add addition email address for them all.</p></body></html>
add addition email address for them all.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -39,4 +39,4 @@
<p>Add missing value of attribute <code>enabledService</code>, and you can add as many destination addresses as you want here (value of attribute <code>mailForwardingAddress</code>):<br />
<img alt="" src="http://screenshots.iredmail.googlecode.com/hg/phpldapadmin/create_alias_5.png" /></p>
</li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -87,4 +87,4 @@ server), iRedMail has it enabled by default.</p>
<li><code>membersOnly</code>: only members of this mail list are allowd.</li>
<li><code>moderatorsOnly</code>: only moderators of this mail list are allowed.</li>
<li><code>memebersAndModeratorsOnly</code>: only members and moderators of this mail list are allowed.</li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -44,4 +44,4 @@ value to first forwarding address <code>forward@domain.ltd</code>.</p>
</ol>
<p>Now all emails sent to <code>user@domain.ltd</code> will be forwarded to both
<code>forward@domain.ltd</code> and <code>user@gmail.com</code>.</p>
<p>If you want to save a copy of forwarded email, please add 'user@domain.ltd' as addition value of LDAP attribute 'mailForwardingAddress'.</p></body></html>
<p>If you want to save a copy of forwarded email, please add 'user@domain.ltd' as addition value of LDAP attribute 'mailForwardingAddress'.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -134,4 +134,4 @@ path on file system, so that mail clients can find imported emails.</p>
<ul>
<li>Export/import roundcube webmail database, and upgrade database to work with new version of Roundcube.
<a href="http://trac.roundcube.net/wiki/Howto_Upgrade">http://trac.roundcube.net/wiki/Howto_Upgrade</a></li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -67,4 +67,4 @@ userPassword: {SSHA512}FxgXDhBVYmTqoboW+ibyyzPv/wGG7y4VJtuHWrx+wfqrs/lIH2Qxn2eA0
</li>
</ul>
<p><strong>IMPORTANT NOTE</strong>: If you want to input password hash with phpLDAPadmin,
please choose <code>clear</code> in the password hash list, then input password hash.</p></body></html>
please choose <code>clear</code> in the password hash list, then input password hash.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -78,4 +78,4 @@ use this new transport.</p>
sql&gt; UPDATE mailbox SET transport='external-pipe' WHERE username='user@domain.ltd';
</code></pre>
<p>That's all.</p></body></html>
<p>That's all.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -56,4 +56,4 @@ quarantined emails with it.</p>
<p>View quarantined mails
<img alt="" src="http://www.iredmail.org/images/iredadmin/system_maillog_quarantined.png" /></p>
<p>Expand quarantined mail to view mail headers and body
<img alt="" src="http://www.iredmail.org/images/iredadmin/system_maillog_quarantined_expanded.png" /> </p></body></html>
<img alt="" src="http://www.iredmail.org/images/iredadmin/system_maillog_quarantined_expanded.png" /> </p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -31,4 +31,4 @@ mysql&gt; DELETE FROM used_quota WHERE username='user@domain.ltd';
quota.</p>
<p><strong>TIP</strong>: it's safe to delete records in SQL table <code>used_quota</code> if mail user
was deleted in table <code>vmail.mailbox</code> or LDAP. iRedAdmin-Pro will handle this
for you automatically.</p></body></html>
for you automatically.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -135,4 +135,4 @@ service memcached start
<h3 id="apple-devices">Apple Devices</h3>
<p>URL for calendar service: <code>http://[host]/SOGo/dav/[user]/</code></p>
<h2 id="todo">TODO</h2>
<h2 id="references">References</h2></body></html>
<h2 id="references">References</h2><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -27,4 +27,4 @@ sql&gt; INSERT INTO alias (address, goto, domain) \
<li>If destination address is a user under domain which is hosted on localhost,
it must exist. Otherwise emails sent to alias account will be bounced after
expanded to destination addresses.</li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -200,4 +200,4 @@ mysql&gt; SELECT COUNT(*) FROM bayes_token;
<ul>
<li><a href="http://wiki.apache.org/spamassassin/BayesInSpamAssassin">Bayes Introduction</a>. Please do read section <code>Things to remember</code>.</li>
<li><a href="http://wiki.apache.org/spamassassin/BayesFaq">SpamAssassin Bayes Frequently Asked Questions</a></li>
</ul></body></html>
</ul><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -1,86 +0,0 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> How to install SOGo on CentOS 6 with iRedMail (MySQL backend)</title>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<h1 id="how-to-install-sogo-on-centos-6-with-iredmail-mysql-backend">How to install SOGo on CentOS 6 with iRedMail (MySQL backend)</h1>
<h2 id="requirements">Requirements</h2>
<ul>
<li>A working iRedMail server on CentOS 6.</li>
</ul>
<h2 id="install-sogo">Install SOGo</h2>
<ul>
<li>Make sure you have EPEL repo enabled, if not, please follow <a href="https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F">this wiki
tutorial</a>
to enable it.</li>
</ul>
<pre>
# yum repolist | grep -i 'epel'
epel Extra Packages for Enterprise Linux 6 - x86_64 11,109
</pre>
<ul>
<li>Add yum repo file <code>/etc/yum.repos.d/sogo.repo</code>:</li>
</ul>
<pre>
[SOGo]
name=Inverse SOGo Repository
baseurl=http://inverse.ca/downloads/SOGo/RHEL6/$basearch
gpgcheck=0
</pre>
<p>Install SOGo and dependences:</p>
<pre>
# yum install sogo sope49-gdl1-mysql
</pre>
<h2 id="create-sql-database-to-store-sogo-data">Create SQL database to store SOGo data</h2>
<pre>
mysql> CREATE DATABASE sogo CHARSET='UTF8';
mysql> GRANT ALL ON sogo.* TO sogo@localhost IDENTIFIED BY 'password';
-- TODO
mysql> GRANT SELECT;
mysql> CREATE VIEW sogo.sogo_auth (c_uid, c_name, c_password, c_cn, mail, home) AS SELECT username, username, password, name, username, maildir FROM vmail.mailbox;
</pre>
<h2 id="configure-sogo">Configure SOGo</h2>
<p>Default SOGo config file is <code>/etc/sogo/sogo.conf</code>:</p>
<pre>
SOGoProfileURL = "mysql://sogo:password@localhost:3306/sogo/sogo_user_profile";
OCSFolderInfoURL = "mysql://sogo:password@localhost:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sogo_sessions_folder";
SOGoIMAPServer = "127.0.0.1";
SOGoSMTPServer = 127.0.0.1;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoUserSources =
(
{
type = sql;
id = directory;
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_view";
canAuthenticate = YES;
isAddressBook = YES;
userPasswordAlgorithm = md5;
prependPasswordScheme = YES;
//LoginFieldNames = username;
//MailFieldNames = username;
//IMAPLoginFieldName = username;
//DomainFieldName = domain;
}
);
</pre>
<h2 id="how-to-configure-client-applications">How to configure client applications</h2>
<h3 id="configure-apple-icalapp-for-calendar">Configure Apple iCal.app for calendar</h3>
<p>http://[host]/SOGo/dav/[user]/</p>
<h2 id="todo">TODO</h2></body></html>

View File

@ -17,4 +17,4 @@
<p>If you want to debug SpamAssassin, please update <code>$sa_debug</code> also:</p>
<pre><code>$sa_debug = 1;
</code></pre></body></html>
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -24,4 +24,4 @@ settings and restart dovecot service.</p>
auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = yes
</code></pre></body></html>
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -20,4 +20,4 @@
<pre><code>loglevel 256
</code></pre>
<p>OpenLDAP is configured by iRedMail to log into <code>/var/log/openldap.log</code> by default.</p></body></html>
<p>OpenLDAP is configured by iRedMail to log into <code>/var/log/openldap.log</code> by default.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -158,4 +158,4 @@ ssh root@${HOST} &quot;/usr/bin/systemctl stop firewalld&quot;
#scp -r clamav/* root@${HOST}:/var/lib/clamav/
#ssh root@${HOST} &quot;chown clamupdate:clamupdate /var/lib/clamav/*&quot;
ssh root@${HOST} &quot;echo 'reboot'; reboot&quot;
</code></pre></body></html>
</code></pre><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -39,4 +39,4 @@ same as Michael's <code>/var/vmail/vmail1/domain.ltd/mj/</code>.</p>
<p>iRedAdmin doesn't remove the mailboxes on file system, so Mike will see all
emails in Michael's mailbox if Michael didn't delete them. To avoid this, we
append a timestamp in maildir path to make sure all users will be assigned
a unique maildir paths.</p></body></html>
a unique maildir paths.</p><br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p></body></html>

View File

@ -91,6 +91,7 @@ html += """\
"""
'''
html += """<br /><p>If you found something wrong in this document, please do <a href="http://www.iredmail.org/contact.html">conect us</a> to fix it.</p>"""
html += '</body></html>'
# Write to file