ArticlesArticles Most Popular ArticlesMost Popular Articles
RSS Feeds
DrillDown Icon Table of Contents
DrillDown Icon 2020 Official Holidays & Support Schedule
DrillDown Icon IMPORTANT: End of Life of SHA1 on Windows Server 2003
DrillDown Icon IMPORTANT: Supported Operating Systems
DrillDown Icon PLEASE READ: Our Update Server IPs Have Changed
DrillDown Icon Support
DrillDown Icon modusGate for Microsoft Azure
DrillDown Icon modusCloud
DrillDown Icon Alleviating Spam – Best Practices
DrillDown Icon directQuarantine Technical Information
DrillDown Icon modusMail & modusGate Technical Information
DrillDown Icon Documentation & Release Information
DrillDown Icon Known Issues (non-release related)
DrillDown Icon Configuration Information
DrillDown Icon modusGate & modusMail
DrillDown Icon modusGate Only
DrillDown Icon How-to: Perform a Backup/Restore on a modusGate Appliance
DrillDown Icon How-to: Integrate modusGate with a PGP Gateway
DrillDown Icon How-to: Reset a ModusGate Appliance to its Original State
DrillDown Icon How-to: Encrypt ModusGate User List Population and Authentication Requests
DrillDown Icon How-to: Install ModusGate v4.4 on Small Business Server 2003
DrillDown Icon Info: Appliance Cannot Access the ModusGate Console or System Health Panel
DrillDown Icon Info: ModusGate Appliance Cannot be Reached after Hooking up to the Network
DrillDown Icon How-To: Configure ModusGate with Specific OpenLDAP Server Attributes
DrillDown Icon How-To: Configure ModusGate with Sun One Open Directory for Sun Email Servers
DrillDown Icon Info: Mailbox Verification vs. Mailbox Authentication
DrillDown Icon How-To: Deactivate the Mimicking of Active Directory’s "Disabled Accounts" in ModusGate
DrillDown Icon Info: Forward Lookup / Pre-auth Options in ModusGate
DrillDown Icon How-To: Change the IIS Port on the ModusGate Appliance
DrillDown Icon How-To: Configure ModusGate with an Exchange/Outlook Junk Email Folder
DrillDown Icon How-To: Deploy ModusGate with Exchange/LDAP Servers
DrillDown Icon How-To: Deploy ModusGate with Groupwise
DrillDown Icon How-To: Deploy ModusGate with Lotus Domino 5 & 6
DrillDown Icon How-To: Deploy ModusGate with Postfix
DrillDown Icon How-To: Deploy ModusGate with Qmail
DrillDown Icon How-To: Deploy ModusGate with Sendmail
DrillDown Icon How-To: Prevent the Accumulation of Invalid User Names with Remote Exchange Server
DrillDown Icon How-To: Test POP3 Authentication with ModusGate
DrillDown Icon Info: Modusadm will not start while installed on Exchange 2013.
DrillDown Icon How-To: Upgrade NEP to modusGate \ modusCloud
DrillDown Icon How-To: Deploy ModusGate with Azure
DrillDown Icon modusMail Only
DrillDown Icon SQL Server Information
DrillDown Icon MySQL Information
DrillDown Icon Security
DrillDown Icon Sieve
DrillDown Icon Spam and False-Positives
DrillDown Icon Statistics and Monitoring Section
DrillDown Icon Web Components
DrillDown Icon Troubleshooting
DrillDown Icon Hardware & OS System Requirements
DrillDown Icon Tools
DrillDown Icon Other Product Technical Information
DrillDown Icon Professional Services
DrillDown Icon Newsletters
  Email This ArticlePrint PreviewPrint Current Article/Category and All Sub-Articles/Categories
 
How-To: Configure ModusGate with Specific OpenLDAP Server Attributes

 

Product: ModusGate

Version & Build: All

 

 

LDAP Routes with Customized Attributes

 

In a ModusGate route configured with OpenLDAP, by default, the mail mailbox attribute is ‘mail’ and the mail alias attribute is ‘uid’.

You can create OpenLDAP mailbox validation schemes in ModusGate for any OpenLDAP server.

 

Information regarding the LDAP server mail attributes:

  • LDAP attribute used to identify a main mailbox
    • The default attribute is ‘mail’
      • ModusGate always issues mailbox validation requests as a whole email address, including the domain name
  • LDAP attribute used to identify a mailbox alias
    • The default attribute is ‘uid’
      • By default, ModusGate issues alias validation requests without the domain name (this can be modified, as explained later)
  • If unavailable from the LDAP server supplier, such attributes can be easily read with standard LDAP browsers or tested with the default ModusGate attributes
    • Simply verify whether a test message to a mailbox or alias is accepted by ModusGate using the default OpenLDAP settings found in the Console at Connection – Properties – General

  

 

ModusGate with a Single OpenLDAP Route Scheme

 

  • In the Console, go to Connection- Properties – General
  • Create a domain route with both Automatically populate user list and Authentication request set to OpenLDAP and pointing to the OpenLDAP server IP address
  • Click  on Apply and exit the Console
  • Open the Registry Editor (regedit or regedt32)
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Vircom\VopMail\LDAPServers
    • The Registry branch is as follows:

[HKEY_LOCAL_MACHINE\SOFTWARE\Vircom\VopMail\LDAPServers\1

@=""

"Alias_AttributeName"="uid"

"AliasedObject_AttributeName"="aliasedObjectName"

"AliasedObject_UIDTag"="uid"

"Mailbox_AttributeName"="mail"

"Name"="OpenLDAP"

"StripDomainFromAliasQuery"=dword:00000001

 

  • Modify Alias_AttributeName to match your OpenLDAP server alias attribute
  • Modify Mailbox_AttributeName to match your OpenLDAP server mailbox attribute
  • Modify StripDomainFromAliasQuery to:
    • Hexadecimal 1 to exclude the domain name from alias validation
    • Hexadecimal 0 to include the domain name to alias validation requests
  • Exit the Registry Editor (changes are saved automatically)
  • Go to System – Properties – Services and stop and start the following:
    • SMTPRS
    • MODUSCAN
    • MODUSADM
  • Send a test message to a mailbox and alias on the Open LDAP validated server

 

 

ModusGate with Multiple OpenLDAP Route Schemes

 

  • In the Console, go to Connection- Properties – General
  • Create a domain route with both Automatically populate user list and Authentication request set to OpenLDAP and pointing to the OpenLDAP server IP address
  • Click  on Apply and exit the Console
  • Open the Registry Editor (regedit or regedt32)
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Vircom\VopMail\LDAPServers
    • The Registry branch is as follows:

[HKEY_LOCAL_MACHINE\SOFTWARE\Vircom\VopMail\LDAPServers\1

@=""

"Alias_AttributeName"="uid"

"AliasedObject_AttributeName"="aliasedObjectName"

"AliasedObject_UIDTag"="uid"

"Mailbox_AttributeName"="mail"

"Name"="OpenLDAP"

"StripDomainFromAliasQuery"=dword:00000001

 

  • Click on   HKEY_LOCAL_MACHINE\SOFTWARE\Vircom\VopMail\LDAPServers\1 to select the branch
  • Click on File > Export, select the file location and save the file with a .reg extension
  • Exit the Registry Editor
  • Copy the file using different filenames to create new OpenLDAP schemes (e.g. QmailLDAP, PostfixLDAP, etc.)
  • Use a text editor to modify each file’s attributes according to your OpenLDAP server’s requirements:
    • At the end of the first line, modify the number to assign a unique sequence number to your scheme
      • 1 is the default OpenLDAP and Vircom uses 2 for Sun One Directory servers as illustrated above
      • Do not assign the same number twice
    • Modify Alias_AttributeName to match your OpenLDAP server alias attribute
    • Modify Mailbox_AttributeName to match your OpenLDAP server mailbox attribute
    • Assign a unique and clear name to Name
      • This name is propagated to the Console in Connection – Properties – General (e.g. QmailLDAP, PostfixLDAP, etc.)
  • Modify StripDomainFromAliasQuery to:
    • Hexadecimal 1 to exclude the domain name from alias validation
    • Hexadecimal 0 to include the domain name to alias validation requests
  • Save the .reg file after modifying it
  • Repeat the above steps for each OpenLDAP scheme, using a new sequence number and file name
  • Import the newly created .reg files by double clicking on each of them
  • Go to the Registry Editor to ensure that the new registry branches have been imported properly
  • In the Console, go to Connection – Properties – General and assign your newly created OpenLDAP schemes to the appropriate domains
  • Go to System – Properties – Services and stop and start the following:
    • SMTPRS
    • MODUSCAN
    • MODUSADM
  • Send test messages to mailboxes and aliases on the OpenLDAP validated servers

 

Consult How-To: Configure ModusGate with Sun One Open Directory for Sun Email Servers for complimentary information.

 

 

Modified 12/20/2006
Keywords: multiple routes
Article ID: 1558