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:
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.