New: en_US/howto/authenticate.without.domain.name.md.
This commit is contained in:
parent
93ea950ccc
commit
13d3b5e5eb
|
@ -0,0 +1,39 @@
|
|||
# Authenticate without domain part in email address
|
||||
|
||||
With default settings, client must use full email address as username for
|
||||
POP3/IMAP/SMTP/webmail login, if you want to login without domain name part in
|
||||
email address, please follow below steps.
|
||||
|
||||
* Open Dovecot config file `/etc/dovecot/dovecot.conf` (Linux/OpenBSD) or
|
||||
`/usr/local/etc/dovecot/dovecot.conf` (FreeBSD), find parameter
|
||||
`auth_default_realm`, set the domain name you want to allow user to login
|
||||
without domain name part in email address. For example:
|
||||
|
||||
```
|
||||
auth_default_realm = mydomain.com
|
||||
```
|
||||
|
||||
Restarting Dovecot is required. After restarted Dovecot, user logins as
|
||||
`john.smith` will be rewritten to `john.smith@mydomain.com` by Dovecot.
|
||||
This works for POP3/IMAP/SMTP services.
|
||||
|
||||
* [OPTIONAL] Open Roundcube webmail
|
||||
[config file `config/main.inc.php`](./file.locations.html#roundcube-webmail),
|
||||
find parameter `$config['username_domain']`, list your domain name
|
||||
in this parameter. For example:
|
||||
|
||||
```
|
||||
// Automatically add this domain to user names for login
|
||||
// Only for IMAP servers that require full e-mail addresses for login
|
||||
// Specify an array with 'host' => 'domain' values to support multiple hosts
|
||||
// Supported replacement variables:
|
||||
// %h - user's IMAP hostname
|
||||
// %n - hostname ($_SERVER['SERVER_NAME'])
|
||||
// %t - hostname without the first part
|
||||
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
|
||||
// %z - IMAP domain (IMAP hostname without the first part)
|
||||
// For example %n = mail.domain.tld, %t = domain.tld
|
||||
$config['username_domain'] = 'mydomain.com';
|
||||
```
|
||||
|
||||
Restarting Apache web server is recommended.
|
|
@ -349,3 +349,13 @@ word `SOGo` is case-sensitive), you can login with your email account credential
|
|||
|
||||
Please check our documents [here](./index.html#configure-mail-client-applications)
|
||||
to configure your mail clients or mobile devices.
|
||||
|
||||
|
||||
## References
|
||||
|
||||
* [SOGo web site](http://sogo.nu)
|
||||
* Outlook plugins:
|
||||
|
||||
* [Outlook CalDav Synchronizer](https://github.com/aluxnimm/outlookcaldavsynchronizer)
|
||||
|
||||
> Outlook Plugin, which synchronizes events, tasks and contacts(beta) between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007.
|
||||
|
|
|
@ -365,3 +365,13 @@ word `SOGo` is case-sensitive), you can login with your email account credential
|
|||
|
||||
Please check our documents [here](./index.html#configure-mail-client-applications)
|
||||
to configure your mail clients or mobile devices.
|
||||
|
||||
|
||||
## References
|
||||
|
||||
* [SOGo web site](http://sogo.nu)
|
||||
* Outlook plugins:
|
||||
|
||||
* [Outlook CalDav Synchronizer](https://github.com/aluxnimm/outlookcaldavsynchronizer)
|
||||
|
||||
> Outlook Plugin, which synchronizes events, tasks and contacts(beta) between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007.
|
||||
|
|
|
@ -11,8 +11,3 @@ Documents contributed by iRedMail users:
|
|||
* [Integrate OpenVPN in iRedMail with OpenLDAP](https://www.howtoforge.com/using-iredmail-and-openvpn-for-virtual-email-hosting-and-vpn-services-centos-5.4), Howtoforge tutorial.
|
||||
* [Integrate Ejabberd in iRedMail with OpenLDAP](./ejabberd.openldap.ubuntu.html)
|
||||
* [Virtual Mail And FTP Hosting With iRedMail And Pure-FTPd](./pureftpd.openldap.centos.html)
|
||||
* SOGo Groupware
|
||||
* [CentOS 6.5 + iRedMail (OpenLDAP backend) + SOGo Groupware](http://www.iredmail.org/forum/topic6604-iredmail-support-iredmail-ldap-sogo-centos.html). Contributed by kospel. 2014-04-18
|
||||
* [Ubuntu 11.04 (oneiric) + iRedMail (MySQL backend) + SOGo Groupware](http://www.wynni.com/howto-iredmail-sogo-mysql-authentication-ubuntu-11-10-oneiric-ocelot/). Contributed by Wynni, 2012-05-12.
|
||||
* [Debian + iRedMail (OpenLDAP backend) + SOGo Groupware](http://www.iredmail.org/forum/topic2071-debian-iredmail-sogo-installation-guide.html). Contributed by Luciano Pedron, 2011-06-04.
|
||||
* [Install iRedMail with LDAP backend and SOGo as Groupware](http://conheotiensinh.blogspot.com/2009/12/install-iredmail-use-ldap-and-groupware.html). Contributed by conheotiensinh
|
||||
|
|
|
@ -0,0 +1,57 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Authenticate without domain part in email address</title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
|
||||
</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="authenticate-without-domain-part-in-email-address">Authenticate without domain part in email address</h1>
|
||||
<p>With default settings, client must use full email address as username for
|
||||
POP3/IMAP/SMTP/webmail login, if you want to login without domain name part in
|
||||
email address, please follow below steps.</p>
|
||||
<ul>
|
||||
<li>Open Dovecot config file <code>/etc/dovecot/dovecot.conf</code> (Linux/OpenBSD) or
|
||||
<code>/usr/local/etc/dovecot/dovecot.conf</code> (FreeBSD), find parameter
|
||||
<code>auth_default_realm</code>, set the domain name you want to allow user to login
|
||||
without domain name part in email address. For example:</li>
|
||||
</ul>
|
||||
<pre><code>auth_default_realm = mydomain.com
|
||||
</code></pre>
|
||||
|
||||
<p>Restarting Dovecot is required. After restarted Dovecot, user logins as
|
||||
<code>john.smith</code> will be rewritten to <code>john.smith@mydomain.com</code> by Dovecot.
|
||||
This works for POP3/IMAP/SMTP services.</p>
|
||||
<ul>
|
||||
<li>[OPTIONAL] Open Roundcube webmail
|
||||
<a href="./file.locations.html#roundcube-webmail">config file <code>config/main.inc.php</code></a>,
|
||||
find parameter <code>$config['username_domain']</code>, list your domain name
|
||||
in this parameter. For example:</li>
|
||||
</ul>
|
||||
<pre><code>// Automatically add this domain to user names for login
|
||||
// Only for IMAP servers that require full e-mail addresses for login
|
||||
// Specify an array with 'host' => 'domain' values to support multiple hosts
|
||||
// Supported replacement variables:
|
||||
// %h - user's IMAP hostname
|
||||
// %n - hostname ($_SERVER['SERVER_NAME'])
|
||||
// %t - hostname without the first part
|
||||
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
|
||||
// %z - IMAP domain (IMAP hostname without the first part)
|
||||
// For example %n = mail.domain.tld, %t = domain.tld
|
||||
$config['username_domain'] = 'mydomain.com';
|
||||
</code></pre>
|
||||
|
||||
<p>Restarting Apache web server is recommended.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-3293801-21', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</body></html>
|
|
@ -83,6 +83,7 @@ repository</a>.</p>
|
|||
<li><a href="allow.member.to.send.email.as.mail.list.html">Allow member to send email as mailing list or mail alias</a></li>
|
||||
<li><a href="allow.user.to.send.email.without.authentication.html">Allow user to send email without smtp authentication</a></li>
|
||||
<li><a href="amavisd.per-recipient.policy.lookup.html">Amavisd: Enable per-recipient policy lookup</a></li>
|
||||
<li><a href="authenticate.without.domain.name.html">Authenticate without domain part in email address</a></li>
|
||||
<li><a href="change.server.hostname.html">Change server hostname</a></li>
|
||||
<li><a href="concurrent.processing.html">Process more emails concurrently</a></li>
|
||||
<li><a href="disable.greylisting.html">Disable greylisting in Cluebringer</a></li>
|
||||
|
@ -138,13 +139,6 @@ repository</a>.</p>
|
|||
<li><a href="https://www.howtoforge.com/using-iredmail-and-openvpn-for-virtual-email-hosting-and-vpn-services-centos-5.4">Integrate OpenVPN in iRedMail with OpenLDAP</a>, Howtoforge tutorial.</li>
|
||||
<li><a href="./ejabberd.openldap.ubuntu.html">Integrate Ejabberd in iRedMail with OpenLDAP</a></li>
|
||||
<li><a href="./pureftpd.openldap.centos.html">Virtual Mail And FTP Hosting With iRedMail And Pure-FTPd</a></li>
|
||||
<li>SOGo Groupware<ul>
|
||||
<li><a href="http://www.iredmail.org/forum/topic6604-iredmail-support-iredmail-ldap-sogo-centos.html">CentOS 6.5 + iRedMail (OpenLDAP backend) + SOGo Groupware</a>. Contributed by kospel. 2014-04-18</li>
|
||||
<li><a href="http://www.wynni.com/howto-iredmail-sogo-mysql-authentication-ubuntu-11-10-oneiric-ocelot/">Ubuntu 11.04 (oneiric) + iRedMail (MySQL backend) + SOGo Groupware</a>. Contributed by Wynni, 2012-05-12.</li>
|
||||
<li><a href="http://www.iredmail.org/forum/topic2071-debian-iredmail-sogo-installation-guide.html">Debian + iRedMail (OpenLDAP backend) + SOGo Groupware</a>. Contributed by Luciano Pedron, 2011-06-04.</li>
|
||||
<li><a href="http://conheotiensinh.blogspot.com/2009/12/install-iredmail-use-ldap-and-groupware.html">Install iRedMail with LDAP backend and SOGo as Groupware</a>. Contributed by conheotiensinh</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 id="cluster">Cluster</h3>
|
||||
<p>Documents contributed by iRedMail users:</p>
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<li><a href="#add-required-cron-jobs">Add required cron jobs</a></li>
|
||||
<li><a href="#access-sogo-from-web-browser">Access SOGo from web browser</a></li>
|
||||
<li><a href="#configure-your-mail-clients-or-mobile-devices-to-use-caldavcarddav-services">Configure your mail clients or mobile devices to use CalDav/CardDAV services</a></li>
|
||||
<li><a href="#references">References</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -343,7 +344,22 @@ command: <code>crontab -l -u sogo</code></p>
|
|||
word <code>SOGo</code> is case-sensitive), you can login with your email account credential.</p>
|
||||
<h2 id="configure-your-mail-clients-or-mobile-devices-to-use-caldavcarddav-services">Configure your mail clients or mobile devices to use CalDav/CardDAV services</h2>
|
||||
<p>Please check our documents <a href="./index.html#configure-mail-client-applications">here</a>
|
||||
to configure your mail clients or mobile devices.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
to configure your mail clients or mobile devices.</p>
|
||||
<h2 id="references">References</h2>
|
||||
<ul>
|
||||
<li><a href="http://sogo.nu">SOGo web site</a></li>
|
||||
<li>
|
||||
<p>Outlook plugins:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><a href="https://github.com/aluxnimm/outlookcaldavsynchronizer">Outlook CalDav Synchronizer</a></p>
|
||||
<blockquote>
|
||||
<p>Outlook Plugin, which synchronizes events, tasks and contacts(beta) between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007.</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<li><a href="#add-required-cron-jobs">Add required cron jobs</a></li>
|
||||
<li><a href="#access-sogo-from-web-browser">Access SOGo from web browser</a></li>
|
||||
<li><a href="#configure-your-mail-clients-or-mobile-devices-to-use-caldavcarddav-services">Configure your mail clients or mobile devices to use CalDav/CardDAV services</a></li>
|
||||
<li><a href="#references">References</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -361,7 +362,22 @@ command: <code>crontab -l -u sogo</code></p>
|
|||
word <code>SOGo</code> is case-sensitive), you can login with your email account credential.</p>
|
||||
<h2 id="configure-your-mail-clients-or-mobile-devices-to-use-caldavcarddav-services">Configure your mail clients or mobile devices to use CalDav/CardDAV services</h2>
|
||||
<p>Please check our documents <a href="./index.html#configure-mail-client-applications">here</a>
|
||||
to configure your mail clients or mobile devices.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
to configure your mail clients or mobile devices.</p>
|
||||
<h2 id="references">References</h2>
|
||||
<ul>
|
||||
<li><a href="http://sogo.nu">SOGo web site</a></li>
|
||||
<li>
|
||||
<p>Outlook plugins:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><a href="https://github.com/aluxnimm/outlookcaldavsynchronizer">Outlook CalDav Synchronizer</a></p>
|
||||
<blockquote>
|
||||
<p>Outlook Plugin, which synchronizes events, tasks and contacts(beta) between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007.</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
|
|
Loading…
Reference in New Issue