Languages

Lion Server: How to enable webmail for Active Directory users

Learn how to enable webmail for Active Directory users.

  1. Using your favorite text editor, add the following lines to /usr/share/webmail/config/db.inc.php.

    // Add site-specific require directive
    require_once(RCMAIL_CONFIG_DIR . '/siteoverrides.inc.php');
     
  2. Create /usr/share/webmail/config/siteoverrides.inc.php with the following lines..

    $rcmail_config['imap_auth_type'] = LOGIN;
    $rcmail_config['default_host'] = 'tls://%n';
     
  3. Make sure SSL is enabled for the webmail and mail server because passwords may be clear text.
     
  4. Disable CRAM-MD5 authentication. and enable LOGIN and PLAIN authentication for IMAP in the Advanced Mail settings of Server Admin, or with the following commands.

    sudo serveradmin settings mail:imap:imap_auth_cram_md5=no
    sudo serveradmin settings mail:imap:imap_auth_login=yes
    sudo serveradmin settings mail:imap:imap_auth_plain=yes
     
  5. Use Server app to restart Mail.
Last Modified: Jul 29, 2011
Helpful?
Yes
No
  • Last Modified: Jul 29, 2011
  • Article: HT4776
  • Views:

    1091
  • Rating:
    • 20.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked