Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Installing and uninstalling the IMAP and POP3 servers

&pagelevel(4)&pagelevel

You install IMAP and POP3 servers as a POSIX program package using the POSIX installation program (see the manual “POSIX Basics for Users and System Administrators”).


Installation requirements

To permit the installation and operation of IMAP and POP3 servers, the PLAM librarySINLIB.MAIL.033.IMAP must be available, shareable and read-only. The POSIX subsystem must have been started.


Starting installation

IMAP and POP3 servers must run in privileged mode. You must therefore install IMAP and POP3 servers using the POSIX installation command under the SYSROOT or TSOS ID (UID=0, GID=0):

>

>

>

Start installation: /START-POSIX-INSTALLATION

Select the following function: Install packages on POSIX

Specify the following values in the screen which is then displayed:

IMON support?:

Y

name of product:

MAIL

package of product:

IMAP

You can modify the installation path displayed for the installation procedure. However, it is advisable to keep to the default /opt/MAIL/imap.

If another version of the interNet Value Edition delivery package is installed, the POSIX installation program issues a corresponding error message.

IMAP and POP3 installation is fundamentally also possible when interNet Value Edition is already installed. The IMAP and POP3 daemon programs are then replaced by the current versions.

>

Abort IMAP/POP3 installation by pressing the K2 key if you want to uninstall interNet Value Edition before installing IMAP/POP3.

>

Continue IMAP/POP3 installation by pressing the send key if you do not want to uninstall interNet Value Edition beforehand.

The POSIX installation program then checks whether the /opt file system has sufficient memory space and reads all the files from the PLAM library into the POSIX file system or generates references to PLAM library members.


Files and directories used by the IMAP and POP3 servers

The table below lists the most important files and directories used by the IMAP and POP3 servers. If you use an installation path which differs from the standard Postfix installation path, the path names specified in the table must be adjusted accordingly.

Name

Type

Explanation

/opt/MAIL

Directory


/opt/MAIL/imap

Directory

Standard IMAP installation directory

/opt/MAIL/imap/readme

Directory

Online documentation

/opt/MAIL/imap/sbin

Directory

Daemon programs

/opt/MAIL/imap/sbin/imapd

Program

IMAP daemon

/opt/MAIL/imap/sbin/ipop3d

Program

POP3 daemon

/opt/MAIL/imap/share

Directory

Online documentation in the form of man pages

/usr/sbin/in.imapd

Link

Link to IMAP daemon

/usr/sbin/in.ipop3d

Link

Link to POP3 daemon

/etc/imap

Directory

Directory for IMAP/POP3 files (X.509 certificates, private keys)

/etc/imap/MAKE.CERT.sh

Script

Script for generating X.509 certificate requests and X.509 test certificates

/etc/imap/certs

Directory

Directory for X.509 certificates

/etc/imap/private

Directory

Directory for private keys

/etc/inet

Directory

Directory for configuration files (in particular inetd)

/etc/inet/services

Text file

Assignment of service names to port numbers

/etc/inet/inetd.conf

Text file

Configuration file for inetd

/var/mail

Directory

Directory for mailboxes

/var/mail/USER

Mailbox file

Mailbox for the user USER


Uninstalling the IMAP server and POP3 server

Uninstall the IMAP and POP3 servers using the POSIX installation command under the SYSROOT or TSOS ID (UID=0, GID=0):

>

>

>

Start uninstallation: /START-POSIX-INSTALLATION

Select the following function: Delete packages from POSIX

In the subsequent screen display mark the line containing the following values and confirm your selection by pressing the send key:

Product              Version Package=IMAP

...                  ...     ...
MAIL                   nnn     IMAP

>

Follow the further instructions issued by the tool.