table of contents
- trixie 1.4.1-3+deb13u1
- testing 1.5.1-4
- unstable 1.5.1-4
- experimental 2.0.2-2
| MAKEIMAPACCESS(8) | S. Varshavchik. | MAKEIMAPACCESS(8) |
NAME¶
makeimapaccess - Build IMAP server access file
SYNOPSIS¶
makeimapaccess
DESCRIPTION¶
makeimapaccess rebuilds the contents of the /etc/courier/imapaccess.dat database from the contents of the files in the /etc/courier/imapaccess directory. When the imapd script starts couriertcpd, the script specifies the /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 /etc/courier/imapaccess directory take effect.
The couriertcpd(8)[1] manual page describes the general format of access files.
The imapaccess configuration file¶
The couriertcpd(8)[1] 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.
SUBDIRECTORY CHECKS¶
/etc/courier/imapaccess can be a subdirectory instead of a text file. This has the effect of concatenating all files in that directory (subject to the following checks) and then using the result as the /etc/courier/imapaccess file. The following checks are made:
The contents of the file whose name does not have the suffix should be checked against the backup. The backup file should be deleted after making any needed manual changes to the configuration file.
Otherwise an error message gets reported. Resolving the error message is done by either copying the “.dist” file or editing and saving the file without the suffix (resulting in a newer timestamp).
SEE ALSO¶
couriertcpd(8)[1].
AUTHOR¶
Sam Varshavchik
NOTES¶
- 1.
- couriertcpd(8)
| 01/10/2026 | Courier Mail Server |