Enrolling e-mail users

You need to create user profiles to enroll e-mail users.

User profiles are how the IBM i operating system identifies an addressee or sender of e-mail. Any user you want as part of your e-mail system must have a user profile on the system. There are two methods for enrolling e-mail users. This is based on your directory type. The first uses the System Distribution Directory and has the SMTP server set to *SDD for its directory type. The other uses the SMTP local email directory which uses directory types *SMTP/*SMTPMSF.

Enrolling users for directory type: *SDD

By creating a user profile for each user, you enroll the users in the system distribution directory automatically. The system distribution directory is what Simple Mail Transfer Protocol (SMTP) uses to determine where to deliver local e-mail. The following steps can also be done with commands, using the command ADDDIRE.

To create user profiles for Systems Network Architecture Distribution Services (SNADS) and Post Office Protocol (POP) e-mail users, complete the following steps:

  1. In IBM Navigator for i, expand Users and Groups and click Users.
  2. From Users list panel, click the Actions drop-down list and select NewUser action.
  3. Type a user name and password for the user.
    Note: This password will be used by POP users to access their POP mailboxes.
  4. Click the Capabilities button.
  5. Click the Privileges tab. Ensure that the Privilege class is User.
  6. Click OK.
  7. Click the Personal button.
  8. Click the Mail tab.
  9. Choose the Mail Service Level.
    • If your user is a SNADS user, select User index.
    • If your user is a POP3 mail user, select System mailbox.
  10. Choose the Preferred Address type.
    • If your user is a SNADS user, select User ID and address.
    • If your user is POP3 mail user, select SMTP name.
  11. Verify that the required domain name is displayed for the SMTP e-mail domain.
    The default name is typically correct, but if you have multiple local domains you might need to change it.
  12. Click OK. If you are enrolling a SNADS user, the enrollment is complete. If you are enrolling a POP user who will use the IBM i POP server only to retrieve e-mail, continue to the next step.
  13. Click the Jobs button.
  14. Click the Session Startup tab.
  15. For the Initial Menu field, select Sign off. With this setting, any attempt to sign on the system, other than to retrieve e-mail or change a password, automatically signs the user off.
  16. Click OK.
  17. Click OK.
  18. Repeat these instructions until all of the e-mail users have user profiles.

Enrolling users for directory type: *SMTP and *SMTPMSF

Every local POP mailbox must have a user profile. These two directory types use the local SMTP email directory which cannot be accessed via the navigator at this time. To enroll a user you use the command ADDUSRSMTP or the add option from WRKSMTPUSR. In the simplest case all you need is a user profile name.

Every user profile has as its email address as user_profile@systemname.domain. For those that need to have more than a ten character name you may add an alias to the mailbox. You may also add an alias to the domain so it can appear as if you are listening on more than just your system name. There are also two fields for use with MSF. The SDD compatibility names are what MSF will see when DIRTYPE(*SMTPMSF) is used and it’s a local email.

There are three other commands for users for these directory types. CHGUSRSMTP allows you to change any of the secondary characteristics of the user, like the mailbox, domain, SDD compatibility but not the user profile. RMVUSRSMTP removes it from the local SMTP email directory. Both of these commands are part of WRKSMTPUSR.

There is another command STRIMPSMTP, which will import users from the *SDD directory to the *SMTP/*SMTPMSF directory. This does the enrolling for you for a group of SDD user identifiers. You can also delete the old user on import. This is only importing the configuration, and aliases. E-mail will not be transferred if it is a SNADS mailbox, but POP mailboxes will see their existing email though.