---
name: "makeacceptmailfor"
section: "8"
platform: "linux"
package: "courier-mta"
version: "1.4.1-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/makeacceptmailfor"
---

# makeacceptmailfor(8)

Create /etc/courier/esmtpacceptmailfor.dat

## NAME

makeacceptmailfor - Create /etc/courier/esmtpacceptmailfor.dat

## SYNOPSIS

**makeacceptmailfor**

## DESCRIPTION

**makeacceptmailfor** reads /etc/courier/esmtpacceptmailfor.dir and creates /etc/courier/esmtpacceptmailfor.dat which is a binary database file. /etc/courier/esmtpacceptmailfor.dat is a list of domains that the Courier mail server accepts mail for, via ESMTP. /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 the Courier mail server 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)](/esmtpd/8.md)\[1\].

## AUTHOR

**Sam Varshavchik**

Author

## NOTES

- 1\.

  [**esmtpd**(8)](/esmtpd/8.md)

  http://www.courier-mta.org/esmtpd.html
