makeimapaccess

## Name

makeimapaccess — Build IMAP server access file

## Synopsis

`makeimapaccess`

## DESCRIPTION

makeimapaccess rebuilds the contents of the `/usr/local/etc/courier/imapaccess.dat` database from the contents of the files in the `/usr/local/etc/courier/imapaccess` directory. When the imapd script starts couriertcpd, the script specifies the `/usr/local/etc/courier/imapaccess.dat` file to control access to the Courier mail server's IMAP daemon. The makeimapaccess script must be run before any changes in the `/usr/local/etc/courier/imapaccess` directory take effect.

The couriertcpd(8) manual page describes the general format of access files.

### The `imapaccess` configuration file

The couriertcpd(8) manual page describes the generic format of the access file. The access file specifies what should be done with connections from defined IP address ranges. The basic choices are to accept or reject the connection. Also, the generic format of the access file allows arbitrary environment variables to be set based on the connection's remote IP address, however the IMAP server does not use any special environment variables on its own.

## SEE ALSO

couriertcpd(8).