The popstore and MessageStore have a few options controlled through the use of option files. The popstore option file contains popstore specific options as well as options shared by both the popstore and MessageStore. Use of this option file is optional for the popstore but mandatory for the MessageStore. The MessageStore option file contains options specific to the MessageStore. Both of these option files are described in the following sections.
Initial option files are created by the configuration utility described in the PMDF Installation Guide & Release Notes manual.
3.1 Location of the option files
On UNIX and NT platforms, the popstore and MessageStore option files
are, respectively, the files
/pmdf/table/popstore_option /pmdf/table/msgstore_optionOn OpenVMS platforms, they are the files
PMDF_TABLE:popstore_option. PMDF_TABLE:msgstore_option.
The option files are ordinary text files and may be created and edited with a normal text editor. Like many PMDF option files, the option files must be world readable.
Note:
The POP and IMAP servers also have option files which alter their behavior. See the PMDF System Manager's Guide for details for information on those option files.
3.2 Option file formats
Option files consist of several lines. Each line contains the setting
for one option. An option setting has the form:
option-name=option-valuewhere
option-value may be either a string or an
integer, depending on the option's requirements. If the option accepts
an integer value, option-value, a base may be
specified using notation of the form
b%v, where b is
the base expressed in base 10 and v is the actual
value expressed in base b.
Comments are allowed in option files. Any line that begins with an exclamation point is considered to be a comment and is ignored. Blank lines are also ignored in any option file.
3.3 Options for both the popstore and the MessageStore
The following options, while specified in the popstore option file,
affect both the popstore and MessageStore:
AVOID_LOGIN_NAMES (0, 1, or 2)
Under some circumstances, sites using a password database shared between login and popstore or MessageStore accounts may wish to ensure that no popstore or MessageStore accounts are created which have the same name as a login account. By setting AVOID_LOGIN_NAMES=1, popstore and MessageStore accounts cannot be created which have the same name as a login account. When AVOID_LOGIN_NAMES is set to the value 2, popstore and MessageStore accounts cannot be created which have the same name as a privileged login account. On UNIX platforms, a privileged login account is considered to be any account with a UID of 0 or which is in the root group. On OpenVMS platforms, a privileged account is deemed to be any account with a group UIC number less than or equal to the SYSGEN MAXSYSGROUP parameter or which has any default or authorized privileges other than TMPMBX and NETMBX. On NT platforms, AVOID_LOGIN_NAMES only prevents an account named Administrator from being created when a value of either 1 or 2 is used. The default value of AVOID_LOGIN_NAMES is 0 which allows accounts of any name to be created. Note that the AVOID_LOGIN_NAMES option only influences accounts created through the management interfaces and the POPSTORE_command and POPSTORE_command_d subroutines. The option does not influence accounts created through other popstore API routines such as POPSTORE_user_create.COMPUTE_CONNECT (UNIX or NT file specification; OpenVMS exec-mode logical name)
This option is used to supply the name of a site-developed, shared library which the popstore will then use to compute elapsed connect time for client connections. The shared library must contain an entry point for a subroutine namedcompute_connectas described in Section 14.1 . On UNIX and NT systems, the value of the option must be a full file path --- the path to the file containing the shared library. On OpenVMS systems, the value of the option must be the name of a system-wide, executive mode logical whose translation value is the full file specification for the shared library. Any logical referenced by the logical must also be a system-wide, executive mode logical. Moreover, on OpenVMS systems, the shared library must be installed as a known image with the OpenVMS INSTALL utility.DEBUG (bit mask)
When set to a value of -1, enables debugging in the popstore. When debugging is enabled, the output is appended to the file/pmdf/log/popstore.log(UNIX and NT) orPMDF_LOG:popstore.log(OpenVMS). The default value is 0 which disables all debug output. Note that use of this option will impact performance of the popstore. Moreover, the format of the debug output is intentionally not documented as it is subject to change. Sites wishing to generate similar output should provide their own logging subroutine; see Chapter 13 for details.HTTP_REALM (string)
Use the HTTP_REALM option to override the name of the HTTP authentication realm used by the popstore and MessageStore HTTP CGIs.LOG_ACTIVITY (UNIX or NT file specification; OpenVMS exec-mode logical name)
This option is used to supply the name of a site-developed, shared library which the popstore will then use to log activity. The shared library must contain an entry point for a subroutine namedlog_activityas described in Section 13.2 . On UNIX and NT systems, the value of the option must be a full file path --- the path to the file containing the shared library. On OpenVMS systems, the value of the option must be the name of a system-wide, executive mode logical whose translation value is the full file specification for the shared library. Any logical referenced by the logical must also be a system-wide, executive mode logical. Moreover, on OpenVMS systems, the shared library must be installed as a known image with the OpenVMS INSTALL utility.LOG_ACTIVITY_MASK (bit mask)
This option may be used in conjunction with the LOG_ACTIVITY option to control for which events the site supplied logging routine is called. By default, the logging routine is called for all events. See Section 13.2.2 for further details.MAP_PROFILE_FILENAME (UNIX or NT file specification; OpenVMS exec-mode logical name)
This option is used to supply the name of a site-developed, shared library which the popstore will then use to map message filenames to disk devices and directory trees. The shared library must contain an entry point for a subroutine namedmap_profile_filenameas described in Chapter 14 . On UNIX and NT systems, the value of the option must be a full file path --- the path to the file containing the shared library. On OpenVMS systems, the value of the option must be the name of a system-wide, executive mode logical whose translation value is the full file specification for the shared library. Any logical referenced by the logical must also be a system-wide, executive mode logical. Moreover, on OpenVMS systems, the shared library must be installed as a known image with the OpenVMS INSTALL utility.MESSAGE_PROFILE_VERSION (non-negative integer)
The value of this option is passed to the site suppliedmap_profile_filenamesubroutine; see Section 14.2 for details. When not specified in the option file, this option assumes the default value of 0.USERNAME_STYLE (1, 2, or 3)
Selects the name space used for usernames. A value of 3 selects the preferred name space described in Section 1.3.1.1 . A value of 2 selects the default name space described in Section 1.3.1.2 . Finally, a value of 1 selects the name space described in Section 1.3.1.3 . Note that the MessageStore requires that USERNAME_STYLE=3 be used.
Note:
After creating popstore accounts, you cannot simply change the value of the USERNAME_STYLE option. The value of this option influences the file names used to store profile files. Should you change this option after creating accounts, accounts created before the change may become inaccessible. Contact Innosoft for assistance in changing this option with an existing popstore installation. As such, sites which have been using the popstore prior to PMDF V6.0 and now wish to use the MessageStore should contact Innosoft for assistance.
3.4 popstore specific options
The following options are specified in the popstore option file and
only affect the behavior of the popstore.
COMPUTE_BLOCK_DAYS (UNIX or NT file specification; OpenVMS exec-mode logical name)
This option is used to supply the name of a site-developed, shared library which the popstore will then use to compute elapsed block days of storage for message files. The shared library must contain an entry point for a subroutine namedcompute_block_daysas described in Section 14.1 . On UNIX and NT systems, the value of the option must be a full file path --- the path to the file containing the shared library. On OpenVMS systems, the value of the option must be the name of a system-wide, executive mode logical whose translation value is the full file specification for the shared library. Any logical referenced by the logical must also be a system-wide, executive mode logical. Moreover, on OpenVMS systems, the shared library must be installed as a known image with the OpenVMS INSTALL utility.MAP_MESSAGE_FILENAME (UNIX or NT file specification; OpenVMS exec-mode logical name)
This option is used to supply the name of a site-developed, shared library which the popstore will then use to map message filenames to disk devices and directory trees. The shared library must contain an entry point for a subroutine namedmap_message_filenameas described in Chapter 14 . On UNIX and NT systems, the value of the option must be a full file path --- the path to the file containing the shared library. On OpenVMS systems, the value of the option must be the name of a system-wide, executive mode logical whose translation value is the full file specification for the shared library. Any logical referenced by the logical must also be a system-wide, executive mode logical. Moreover, on OpenVMS systems, the shared library must be installed as a known image with the OpenVMS INSTALL utility.MESSAGE_FILENAME_VERSION (non-negative integer)
This option is intended for use with a site-suppliedmap_message_filenamesubroutine as described in Section 14.2 . The value of this option modulo 36 is used to generate the last character appearing in the names of the files used to store messages. The value of the option is also passed to the site suppliedmap_message_filenamesubroutine. When not specified in the option file, this option assumes the default value of 0.QUOTA_WARNING (0 <= integer <= 100)
The POP3 server may optionally generate quota warnings when a user's current storage exceeds a given percentage of their primary storage quota. The warning takes the effect of a virtual e-mail message. That is, the user appears to have a new e-mail message in their inbox which warns about their quota usage. However, this message does not actually exist: the POP server dynamically generates it. By default, these quota warnings are not generated. This corresponds to the option setting QUOTA_WARNING=0. To warn users when they have reached 90% of their allowed primary quota, specify QUOTA_WARNING=90.RETURN_AFTER (non-negative integer)
Non-negative integer value specifying in units of days, how long to retain messages in the store. Any message exceeding the specified age will be silently deleted from the message store. A non-delivery notice is sent back to the message's originator, if one or more of the message's recipients had not read the message. To retain messages indefinitely, specify a value of zero, RETURN_AFTER=0. When no RETURN_AFTER value is specified, a maximum message age of 14 days is assumed, RETURN_AFTER=14. Units other than days may be selected by immediately following the numeric value with a single character unit specifier chosen from the table below:For instance, the default value of 14 days might be specified as
M, m Units of minutes H, h Units of hours D, d Units of days W, w Units of weeks RETURN_AFTER=2wwhere the value2windicates two weeks.REJECT_OVER_QUOTA (0 or 1)
By default, PMDF will accept incoming messages for users who have exceeded their storage quota. This corresponds to the option setting REJECT_OVER_QUOTA=0. To have PMDF reject incoming messages for over quota users, specify REJECT_OVER_QUOTA=1. The rejections will take the form of a temporary error (e.g., an SMTP 4yz response). Note that when this option is specified, local users may experience difficulty sending mail to over quota popstore users. For instance, a local POP user when sending mail to an over quota popstore user will be met with a temporary error and their client will be unable to send the message. This option is, in general, only useful when all incoming popstore messages are coming from remote store-and-forward mail systems and not from local user agents. However, it is possible to use this option in a selective fashion; i.e., have it only apply to inbound SMTP traffic from remote SMTP clients and not apply to local message submissions. Contact Innosoft for details.USE_DOMAINS (0 or 1)
By default, all popstore accounts are considered to be part of the same user domain called thedefaultdomain. This is true regardless of the e-mail address used to reach the account's mailbox. This default behavior corresponds to the setting USE_DOMAINS=0. By setting USE_DOMAINS=1, the use of user domains is enabled. This allows distinct domains of users to be established, each domain distinguished by the host name associated with the e-mail address used for the accounts in that domain. Note that if you are using USE_DOMAINS=0 and have more than one host listed in the delivery channel's definition,popstore defragment holdexquota official-host-name second-host-name third-host-name fourth-host-name ...then setting USE_DOMAIN=1 will cause the mailboxes for the second, third, fourth, etc. hosts to appear to disappear. Specifically, with the above channel definition and USE_DOMAINS=0, all the mailboxes for all those hosts are stored in the same user domain: thedefaultuser domain. For example, the e-mail addresses sue@official-host-name and bob@third-host-name correspond, respectively, the the accountssueandbobin thedefaultuser domain. When USE_DOMAINS=1 is set, only the mailboxes for the first host, official-host-name, are associated with thedefaultdomain. Mail for bob@third-host-name will be for the accountbobin the user domain namedthird-host-name. That mail will bounce until such time that thebobaccount is moved from thedefaultuser domain to thethird-host-namedomain, or a newbobaccount is added to thethird-host-namedomain.
Note:
You must not use thefilterchannel keyword on the popstore or MessageStore delivery channel if USE_DOMAINS=1 is set. So doing will cause the wrong filters to be used for users in domains other than thedefaultdomain.
Note:
The legacy POP3 server does not support user domains.
USERNAME_CHARSET (0-9)
The USERNAME_CHARSET option specifies the character set used for popstore account usernames and is only used when USERNAME_STYLE=1 is set.¹ This character set information is in turn used by the popstore to perform upper case to lower case conversions on usernames presented to the popstore. The valid values for this option areThe default character set, when no USERNAME_CHARSET option is specified, is Latin 1 and corresponds to USERNAME_CHARSET=1.
Value Character Set Value Character Set 0 ASCII, DEC-MCS 5 Latin 5 (ISO-8859-5) 1 Latin 1 (ISO-8859-1) 6 Latin 6 (ISO-8859-6) 2 Latin 2 (ISO-8859-2) 7 Latin 7 (ISO-8859-7) 3 Latin 3 (ISO-8859-3) 8 Latin 8 (ISO-8859-8) 4 Latin 4 (ISO-8859-4) 9 Latin 9 (ISO-8859-9)
The following options are specific to the MessageStore and are specified in the MesageStore option file.
DEFAULT_ACL (Access Control List)
This option sets the default Access Control List (ACL) used when creating top-level, public folders. An ACL is a list of pairs, each pair containing an identifier and a set of rights represented as single letters. The identifier may beanyoneto represent all users,group:groupnameto represent all users in a management group, or a user name to represent just that user. The rights are shown in Table 3-1 .
Table 3-1 MessageStore ACL rights Letter Rights Usage aAdministrative Permits ACLs to be changed cCreate Permit the creation of sub-folders dDelete Permit the deletion of messages and folders iInsert Permit messages to be directly appended to a folder lLookup Permit the folder to be seen in listings pPost Permit sending e-mail messages to the folder (currently only implemented for anyone)rRead Permit reading of messages in the folder sSeen Permit saving seen information between sessions wWrite Permit shared IMAP flags to be set The default setting is
DEFAULT_ACL=anyone lrsThe valueDEFAULT_ACL=anyone lrspwill simplify administration as it allows messages to be delivered directly to all newly created top-level, public folders. You may also want to use a value likeDEFAULT_ACL=anyone lrsp manager lrspicdwato allow the usermanagerto manage all folders. See RFC 2086 for technical details about IMAP access control lists.FILE_DEBUG (bit encoded integer value)
A value of -1 sets full debugging on the low-level file operations used by the MessageStore. The debugging output goes to the server thread log file with the IMAP, POP and HTTP servers, to the channel log file for the msgstore channel, and to the display with the command-line management utility.POST_USER (string)
This option sets the reserved account name which will be used for delivery to public folders. By default, mail addressed topost+folder@hostwill be delivered to the public folder namedfolderif the ACL on the folder has thepright for theanyoneidentifier.