# makeacceptmailfor

## Name

makeacceptmailfor -- Create /usr/local/etc/courier/esmtpacceptmailfor.dat

## Synopsis

makeacceptmailfor

## DESCRIPTION

makeacceptmailfor reads `/usr/local/etc/courier/esmtpacceptmailfor.dir` and creates `/usr/local/etc/courier/esmtpacceptmailfor.dat` which is a binary database file. `/usr/local/etc/courier/esmtpacceptmailfor.dat` is a list of domains that Courier accepts mail for, via ESMTP. `/usr/local/etc/courier/esmtpacceptmailfor.dir` is a subdirectory containing one or more files. Each file in this subdirectory is plain text file, containing a list of mail domains, one per line, in lowercase. All files in the subdirectory are concatenated, and the binary database file is created from the result.

The makeacceptmailfor can be executed while Courier is running, and any changes take effect immediately. However, only one instance of makeacceptmailfor can be executed at the same time.

## SEE ALSO

esmtpd(8).