Review howto.configure.thunderbird.for.iredmail.md.

This commit is contained in:
Zhang Huangbin 2014-09-16 21:37:37 +08:00
parent 637d44b77d
commit cf434f48c4
8 changed files with 207 additions and 62 deletions

View File

@ -0,0 +1,63 @@
#Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)
iRedMail provides POP3S (POP3 over TLS), IMAPS (IMAP over TLS), SMTPS (SMTP over TLS) for receiving and sending emails by default.
##Create new mail account
To create a new mail account with Thunderbird, please click menu: `File -> New -> Mail Account`.
Add your name, email address and password in this screen.
[[File:thunderbird.new.mail.account.png]]
Click continue, it will detect IMAP and SMTP server automatically.
Note:
* Login username must be full email address. You may want to click `Edit` to ensure it is correct.
* If you want to use POP3 instead of IMAP, click "Edit" and change it to POP3 in this screen with port `110`, `STARTTLS`.
![](images/Thunderbird.new.mail.account.setup.png "Thunderbird.new.mail.account.setup.png")
##Configure Thunderbird as POP3 client
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.pop3.png "Thunderbird.pop3.png")
##Configure Thunderbird as IMAP client
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.imap.png "Thunderbird.imap.png")
##Configure Thunderbird to send mail via SMTP
Menu: Tools -> Account settings... -> Outgoing server (SMTP) -> Choose the server you're using.
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.smtp.png "Thunderbird.smtp.png")
##Use OpenLDAP as Global LDAP Address Book
__IMPORTANT NOTE__: Thunderbird won't show contacts in LDAP address book directly, but it works when you starting typing email address in recipient field while composing email.
Here we take Thunderbird 5.0 for example. Steps:
* Click `Address Book` in main Thunderbird window.
* In Address Book window, click menu `File -> New -> LDAP Directory`.
* In tab `General`:
** `Name`: use whatever name you like. e.g. Global LDAP Address Book.
** `Hostname`: IP address or hostname of your iRedMail server.
** `Base DN`: Base dn of your domain in LDAP directory. Normally, it's `domainName=domain.ltd,o=domains,dc=xxx,dc=xxx`. For example, `domainName=example.com,o=domains,dc=iredmail,dc=org`.
** `Port Number`: 389. __Note__: If you prefer to connect to OpenLDAP server over SSL, please check the `Use secure connection (SSL)` under same tab.
** `Bind DN`: It's full LDAP dn of your mail account. Normally, it's `mail=user@domain.ltd,ou=Users,domainName=domain.ltd,o=domains,dc=xxx,dc=xxx`. For example: `mail=john@example.com,ou=Users,domainName=example.com,o=domains,dc=iredmail,dc=org`.
* In tab `Advanced`:
** `Don't return more than xxx results`: depends on how many accounts stored in same domain, you may want to increase or descrease it. Default value in 100.
** `Scope`: Subtree.
** `Search filter`: `(&(enabledService=mail)(enabledService=deliver)(enabledService=displayedInGlobalAddressBook)(|(objectClass=mailList)(objectClass=mailAlias)(objectClass=mailUser)))`
** `Login method`: `Simple`.
* Now switch to tab `Offline`, click button `Download Now` 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 `Replicated succeeded`.
That's all.

View File

@ -1,61 +0,0 @@
<http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/EndUser/Howto.Configure.Thunderbird.for.iRedMail>
#How to configure Microsoft Outlook to use OpenLDAP as global LDAP address book
iRedMail provides POP3, POP3S (pop3 over TLS), IMAP, IMAPS (imap over TLS), SMTP, SMTPS (smtp over TLS) for receiving and sending emails by default.
##Create new mail account
Menu: File -> New -> Mail Account.
Add your name, email address and password in this screen.
[[File:Thunderbird.new.mail.account.png]]
Click continue, it will detect IMAP and SMTP server automatically.
Note:
* You should click "Edit" to input full email address as username.
* If you want to use POP3 instead of IMAP, click "Edit" and change it to POP3 in this screen with port 110, STARTTLS.
![](images/Thunderbird.new.mail.account.setup.png "Thunderbird.new.mail.account.setup.png")
##Configure Thunderbird as POP3 client
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.pop3.png "Thunderbird.pop3.png")
##Configure Thunderbird as IMAP client
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.imap.png "Thunderbird.imap.png")
##Configure Thunderbird to send mail via SMTP
Menu: Tools -> Account settings... -> Outgoing server (SMTP) -> Choose the server you're using.
Warning: Make sure you're using full email address as username.
![](images/Thunderbird.smtp.png "Thunderbird.smtp.png")
##Use OpenLDAP as Global LDAP Address Book
__IMPORTANT NOTE__: Thunderbird won't show you contacts in LDAP address book directly, but it works when you starting typing email address in recipient field while composing email.
Here we take Thunderbird 5.0 for example. Steps:
* Click __Address Book__ in main window.
* In Address Book window, click __File -> New -> LDAP Directory__.
* In tab __General__:
** __Name__: use whatever name you like. e.g. Mail Server Address Book.
** __Hostname__: IP address or hostname of your iRedMail server.
** __Base DN__: Base dn of your domain in LDAP directory. Normally, it's __domainName=domain.ltd,o=domains,dc=xxx,dc=xxx__. For example, __domainName=example.com,o=domains,dc=iredmail,dc=org__.
** __Port Number__: 389. Note: If you prefer to connect to OpenLDAP server over SSL, please check the __Use secure connection (SSL)__ in same tab.
** __Bind DN__: It's dn of your mail account. Normally, it's __mail=user@domain.ltd,ou=Users,domainName=domain.ltd,o=domains,dc=xxx,dc=xxx__. For example: __mail=john@example.com,ou=Users,domainName=example.com,o=domains,dc=iredmail,dc=org__.
* In tab __Advanced__:
** __Don't return more than xxx results__: it depends on how many accounts stored in same domain. You can set it to 100, or 1000. 100 is default value in Thunderbird.
** __Scope__: Subtree.
** __Search filter__: (&(enabledService=mail)(enabledService=deliver)(enabledService=displayedInGlobalAddressBook)(|(objectClass=mailList)(objectClass=mailAlias)(objectClass=mailUser)))
** __Login method__: Simple.
* Now switch to tab __Offline__, click button __Download Now__ 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 __Replicated succeeded__.
That's all.

View File

@ -0,0 +1,52 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<h3></h3>
<h1 id="how-to-completely-disable-amavisdclamavspamassassin">How to completely disable amavisd/ClamAV/SpamAssassin</h1>
<p>In iRedMail, Amavisd provides below features:</p>
<ul>
<li>content-based spam scanning (invoke SpamAssassin)</li>
<li>Virus scanning (invoke ClamAV)</li>
<li>DKIM singing</li>
<li>DKIM verification (through SpamAssassin + Perl module)</li>
<li>SPF verification (through SpamAssassin + Perl module)</li>
<li>Disclaimer (throught AlterMIME)</li>
</ul>
<h2 id="stop-virusspam-scanning-keep-dkim-signingverification-and-disclaimer">Stop virus/spam scanning, keep DKIM signing/verification and Disclaimer</h2>
<p>If you want to disable virus and spam scanning, but keep DKIM signing and disclaimer, please try this:</p>
<ul>
<li>
<p>Keep "content_filter =" setting in Postfix main.cf.</p>
<p>content_filter = smtp-amavis:[127.0.0.1]:10024</p>
</li>
<li>
<p>Find below lines in /etc/amavisd/amavisd.conf:</p>
</li>
</ul>
<pre><code class="perl"># @bypass_virus_checks_maps = (1); # controls running of anti-virus code
# @bypass_spam_checks_maps = (1); # controls running of anti-spam code
</code></pre>
<p>Uncomment above lines (removing "# " at the beginning of each line), and restart Amavisd service.</p>
<h2 id="completely-disable-all-features">Completely disable all features</h2>
<p>If you want to completely disable spam and virus scanning services, steps:</p>
<ul>
<li>Comment out below two lines in Postfix config file <code>/etc/postfix/main.cf</code>, then restart Postfix service.</li>
</ul>
<pre><code>content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
</code></pre>
<ul>
<li>Disable network services: Amavisd, ClamAV.</li>
</ul>
<p>Notes:</p>
<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>

View File

@ -0,0 +1,32 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<h3></h3>
<h1 id="how-to-disable-spam-virus-scanning-for-outgoing-mails">How to disable spam virus scanning for outgoing mails</h1>
<p>To disable spam/virus scanning for outgoing mails, you can add bypass settings in Amavisd config file: <code>/etc/amavisd/amavisd.conf</code> (RHEL/CentOS/Scientific Linux) or <code>/etc/amavis/conf.d/50-user</code> (Debian/Ubuntu) or <code>/usr/local/etc/amavisd.conf</code> (FreeBSD).</p>
<ul>
<li>bypass_spam_checks_maps</li>
<li>bypass_virus_checks_maps</li>
<li>bypass_header_checks_maps</li>
<li>bypass_banned_checks_maps</li>
</ul>
<p>These settings can be added in setting block <code>$policy_bank{'MYUSERS'}</code>:</p>
<pre><code class="perl">$policy_bank{'MYUSERS'} = {
[...OMIT OTHER SETTINGS HERE...]
# don't perform spam/virus/header check.
bypass_spam_checks_maps =&gt; [1],
bypass_virus_checks_maps =&gt; [1],
bypass_header_checks_maps =&gt; [1],
# allow sending any file names and types
bypass_banned_checks_maps =&gt; [1],
}
</code></pre>
<p>Restarting Amavisd service is required after changing settings.</p></body></html>

View File

@ -0,0 +1,56 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<h3></h3>
<h1 id="configure-thunderbird-as-mail-client-imap-smtp-and-global-ldap-address-book">Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)</h1>
<p>iRedMail provides POP3S (POP3 over TLS), IMAPS (IMAP over TLS), SMTPS (SMTP over TLS) for receiving and sending emails by default.</p>
<h2 id="create-new-mail-account">Create new mail account</h2>
<p>To create a new mail account with Thunderbird, please click menu: <code>File -&gt; New -&gt; Mail Account</code>.</p>
<p>Add your name, email address and password in this screen.</p>
<p>[[File:thunderbird.new.mail.account.png]]</p>
<p>Click continue, it will detect IMAP and SMTP server automatically.</p>
<p>Note:</p>
<ul>
<li>Login username must be full email address. You may want to click <code>Edit</code> to ensure it is correct.</li>
<li>If you want to use POP3 instead of IMAP, click "Edit" and change it to POP3 in this screen with port <code>110</code>, <code>STARTTLS</code>.</li>
</ul>
<p><img alt="" src="images/Thunderbird.new.mail.account.setup.png" title="Thunderbird.new.mail.account.setup.png" /></p>
<h2 id="configure-thunderbird-as-pop3-client">Configure Thunderbird as POP3 client</h2>
<p>Warning: Make sure you're using full email address as username.</p>
<p><img alt="" src="images/Thunderbird.pop3.png" title="Thunderbird.pop3.png" /></p>
<h2 id="configure-thunderbird-as-imap-client">Configure Thunderbird as IMAP client</h2>
<p>Warning: Make sure you're using full email address as username.</p>
<p><img alt="" src="images/Thunderbird.imap.png" title="Thunderbird.imap.png" /></p>
<h2 id="configure-thunderbird-to-send-mail-via-smtp">Configure Thunderbird to send mail via SMTP</h2>
<p>Menu: Tools -&gt; Account settings... -&gt; Outgoing server (SMTP) -&gt; Choose the server you're using.</p>
<p>Warning: Make sure you're using full email address as username.</p>
<p><img alt="" src="images/Thunderbird.smtp.png" title="Thunderbird.smtp.png" /></p>
<h2 id="use-openldap-as-global-ldap-address-book">Use OpenLDAP as Global LDAP Address Book</h2>
<p><strong>IMPORTANT NOTE</strong>: Thunderbird won't show contacts in LDAP address book directly, but it works when you starting typing email address in recipient field while composing email.</p>
<p>Here we take Thunderbird 5.0 for example. Steps:</p>
<ul>
<li>Click <code>Address Book</code> in main Thunderbird window. </li>
<li>In Address Book window, click menu <code>File -&gt; New -&gt; LDAP Directory</code>.</li>
<li>In tab <code>General</code>:
<strong> <code>Name</code>: use whatever name you like. e.g. Global LDAP Address Book.
</strong> <code>Hostname</code>: IP address or hostname of your iRedMail server.
<strong> <code>Base DN</code>: Base dn of your domain in LDAP directory. Normally, it's <code>domainName=domain.ltd,o=domains,dc=xxx,dc=xxx</code>. For example, <code>domainName=example.com,o=domains,dc=iredmail,dc=org</code>.
</strong> <code>Port Number</code>: 389. <strong>Note</strong>: If you prefer to connect to OpenLDAP server over SSL, please check the <code>Use secure connection (SSL)</code> under same tab.
** <code>Bind DN</code>: It's full LDAP dn of your mail account. Normally, it's <code>mail=user@domain.ltd,ou=Users,domainName=domain.ltd,o=domains,dc=xxx,dc=xxx</code>. For example: <code>mail=john@example.com,ou=Users,domainName=example.com,o=domains,dc=iredmail,dc=org</code>.</li>
<li>
<p>In tab <code>Advanced</code>:
<strong> <code>Don't return more than xxx results</code>: depends on how many accounts stored in same domain, you may want to increase or descrease it. Default value in 100.
</strong> <code>Scope</code>: Subtree.
<strong> <code>Search filter</code>: <code>(&amp;(enabledService=mail)(enabledService=deliver)(enabledService=displayedInGlobalAddressBook)(|(objectClass=mailList)(objectClass=mailAlias)(objectClass=mailUser)))</code>
</strong> <code>Login method</code>: <code>Simple</code>.</p>
</li>
<li>
<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>

View File

@ -9,4 +9,7 @@
<h3></h3>
<h1 id="frequently-asked-questions-and-howto-documents"><a href="/Users/zhb/projects/docs/html/faq-howto/_summary.html">Frequently Asked Questions and Howto documents</a></h1>
<h2 id="amavisd-spamassassin-not-working-no-mail-header-x-spam-inserted"><a href="/Users/zhb/projects/docs/html/faq-howto/amavisd_no_x-spam-headers.html"> Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></h2>
<h2 id="how-to-enable-smtps-service-smtp-over-ssl-port-465"><a href="/Users/zhb/projects/docs/html/faq-howto/how-to-enable-smtps-service.html"> How to enable SMTPS service (SMTP over SSL, port 465)</a></h2></body></html>
<h2 id="how-to-completely-disable-amavisdclamavspamassassin"><a href="/Users/zhb/projects/docs/html/faq-howto/completely.disable.amavisd.clamav.spamassassin.html"> How to completely disable amavisd/ClamAV/SpamAssassin</a></h2>
<h2 id="how-to-disable-spam-virus-scanning-for-outgoing-mails"><a href="/Users/zhb/projects/docs/html/faq-howto/disable.spam.virus.scanning.for.outgoing.mails.html"> How to disable spam virus scanning for outgoing mails</a></h2>
<h2 id="how-to-enable-smtps-service-smtp-over-ssl-port-465"><a href="/Users/zhb/projects/docs/html/faq-howto/how-to-enable-smtps-service.html"> How to enable SMTPS service (SMTP over SSL, port 465)</a></h2>
<h2 id="configure-thunderbird-as-mail-client-imap-smtp-and-global-ldap-address-book"><a href="/Users/zhb/projects/docs/html/faq-howto/howto.configure.thunderbird.for.iredmail.html">Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)</a></h2></body></html>