Enable automatic user creation

An instance can automatically create users from incoming email, after you set two email properties for automatic user creation. The instance creates a user with the User ID set to the sender's full email address when the Email Automatic User Creation plugin is active.

About this task

When an instance receives a message and there is no matching email address from the sender, the instance can create a user with the User ID [sys_user.user_name] set to the sender's full email address.

Table 1. Creating users from incoming email
Value of email.from Variable User ID Created Email Address Name
new.user@company.com new.user@company.com new.user@company.com New User
"New User" <new.user@company.com> new.user@company.com new.user@company.com New User
"User, New" <new.user@company.com> new.user@company.com new.user@company.com New User
"User" <nuser@company.com> nuser@company.com nuser@company.com User

Procedure

  1. If you want the instance to create users that have the User ID [sys_user.user_name] set to the sender's full email address, activate the Email Automatic User Creation plugin if it is not currently active.
    This plugin makes the following changes:
    • Sets the property glide.email.create_userid_from_email to true.
    • Increases the width of the User ID [sys_user.user_name] column to accommodate longer User IDs based on email addresses.
    Warning: Review your existing user records to reconcile any that contain identical email addresses. If you activate the plugin before reconciling email addresses, your instance cannot distinguish between users with identical email addresses. The instance randomly selects one of the users with the matching email address.
  2. Navigate to System Properties > Email Properties.
  3. Select the check box for Automatically create users for incoming email from trusted domains (glide.pop3readerjob.create_caller).
    Automatically creating users
  4. Enter the list of trusted domains in Trusted domains for creating users from incoming emails (glide.user.trusted_domain).
    Trusted domains
    Note: The glide.user.trusted_domain property only prevents user creation if the sender is not from a trusted domain. The system processes the inbound actions of the email as a "guest user". If you want the system to ignore these email messages, use the email filters plugin, specifically the "ignore sender" setting, or lock the guest user.
  5. Click Save.

What to do next

When the property glide.pop3readerjob.create_caller is set to false, the instance runs inbound actions from users who do not match an existing user by impersonating the Guest user. You may want to prevent untrusted users from triggering inbound actions by locking out the Guest user.

Note: If the property glide.pop3readerjob.create_caller is set to true, but a user has a valid email address associated with a non-primary device, the instance creates a new user record for that email address if there is no matching email address in the Users [sys_user] table. The instance does not validate non-primary email addresses against the Notification Devices [cmn_notif_device] table.