Index Click this button to go to the index for this section.


mailconfig(8X)

NAME

mailconfig - Sets up the routing and delivery of mail for the system.

SYNOPSIS

/usr/sbin/mailconfig [-ui cli [clioptions]|gui [x resources]]

OPTIONS

-ui Specifies the user interface to be invoked The mailconfig program can be run using either the graphical user interface (gui) or the command-line interface (cli): gui Specifies the graphical user interface. Sample command line: mailconfig -ui gui [x resources]: The mailconfig -ui gui command accepts all of the standard X Toolkit command-line options, which are documented in the OPTIONS section of the X(1X) reference page. cli Specifies the command-line interface. Sample command line: mailconfig -ui cli [clioptions]: The mailconfig -ui cli command accepts the following command-line options: -Help Provides a brief help message, listing all configurable mailconfig components and the actions that can be performed on them. Sample command line: mailconfig -ui cli -Help -<component> Help Provides a detailed help message on how to configure the specified component. Sample command line: mailconfig -ui cli -host Help In the help message, the actions and attribute values that are pertinent to the specified component are listed. The following is a list of all possible actions for all configurable components: create Creates a new configuration for the specified component. modify Modifies the specified component's existing configuration. add Adds a new attribute value to the specified component's existing configuration. purge Removes the specified component's existing configuration. remove Deletes an attribute value from the specified component's existing configuration. list Lists all attribute values in the specified component. attrs Lists (on stdout) all attributes that the specified component can use. A subset of these attributes is listed on the create action line of the help provided when you issue the mailconfig -ui cli -<component> Help command. index Lists any attributes used to define the uniqueness of the specified component. -<component> <action> [attr=<value> ...] Performs a specific action (for example, modify) on the specified component, optionally altering one or more of the component's attributes. Sample command line: mailconfig -ui cli -host modify alias=frew

DESCRIPTION

The Mail Confiuration application, mailconfig, is used by the system administrator to set up the routing and delivery of mail for the system. Dependencies: Before using Mail Configuration, be sure to configure the system using the following applications, which you can access from the SysMan Configuration Checklist: · Network Configuration · BIND Configuration · NFS Configuration · UUCP or other network protocols that you use to send mail · NTP · NIS You must be root to run Mail Configuration. To start mailconfig from the graphical user interface: 1. Click on the Application Manager icon on the CDE front panel. 2. Double click on the System_Admin application group icon. 3. Double click on the Configuration application group icon. 4. Double click on the Mail Configuration application icon. Help Menu The following options are available: Overview Displays the Overview section of the help volume, which describes the purpose of the application, how to run the application and how to exit the application. Tasks Displays the Tasks section of the help volume, which is a predefined collection of basic tasks which can be performed using the application. This section begins with a list of all the predefined tasks. Reference Displays the Reference section of the help volume, which describes each window and dialog box in the application. This section begins with a list of all the windows and dialog boxes. On Item Activates the capability to display On Item help for a specified component in any window or dialog box in the application. When this option is selected, the cursor is changed to a question mark. Position the question mark directly on the desired component and click the left mouse button. The cursor is changed to the default cursor display mode, and the On Item help for the specified component is displayed in the Help viewer. Using Help Displays the CDE Using Help information, which describes how to use the Help viewer. About Displays the About Mail Configuration section of the help volume, which contains version, copyright, and trademark information.

EXAMPLES

1. Opens Mail Configuration in the graphical user interface. mailconfig -ui gui 2. Opens Mail Configuration in the command-line interface. mailconfig -ui cli 3. Provides a brief help message for the command-line interface of Mail Configuration, listing all configurable mailconfig components and the actions that can be performed on them. mailconfig -ui cli -Help 4. Provides a detailed help message on how to configure host, the specified component. mailconfig -ui cli -host Help 5. Opens Mail Configuration in the command-line interface while changing the host alias to frew. mailconfig -ui cli -host modify alias=frew 6. Opens the Mail Configuration help volume from the command line without running the application. /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/MailConfig.sdl

FILES

/usr/sbin/mailconfig Mail Configuration executable /usr/dt/appconfig/help/C/MailConfig.sdl Mail Configuration help volume /etc/rc.config Specifies the environment variables that define part of the mail configuration on the system /var/adm/sendmail/sendmail.cf Current sendmail configuration settings /var/adm/sendmail/sendmail.cf.0 Previous sendmail configuration settings /var/adm/sendmail/sendmail.cf.orig Original sendmail configuration settings /var/adm/sendmail/mail.cfg Current mail configuration in stanza file format

SEE ALSO

aliases(4), mail_intro(7), mail_manual_setup(7), mailsetup(8), rc.config(4), sendmail.cf(4), stanza(4)