---
name: "mk-relaydb"
section: "8"
platform: "linux"
package: "sharc"
version: "2.1-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/mk-relaydb"
---

# mk-relaydb(8)

script to rebuild sharc's databases

## NAME

mk-relaydb - script to rebuild sharc's databases

## SYNOPSIS

**mk-relaydb file ...**

## DESCRIPTION

The **mk-relaydb**, command is used to rebuild the smtp.relay database used by  **sharc** to control who gets to send mail through the mailserver.  It is normally run from within the script **sharc-update** but can also be run as "mk-relaydb smtp.relay \| makemap hash smtp.relay"

The programs are run with the config file as arguments, and will then rebuild the smtp.relay database

## OPTIONS

Not an option

## FILES

**/etc/mail/smtp.relay.db** - The acess-database.

## SEE ALSO

**[mk-accessdb(8)](/mk-accessdb/8.md),** **[sharc-update(8)](/sharc-update/8.md),** **[smtp.access(5)](/smtp.access/5.md)** and **[smtp.relay(5)](/smtp.relay/5.md)**

## AUTHOR

This manual page, based on the original README, was written by Stig Sandbeck Mathisen \<ssm@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
