You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
NAME
checkdomain - match domain in 822addr output
SYNOPSIS
checkdomaindom ... where dom is a domain name.
DESCRIPTION
checkdomain reads email addresses from standard input in the form
output by 822addr(1), and compares the domain portion with each
dom without regard to case. If no addr appears, checkdomain uses
the domain part of the environment variable $RECIPIENT as dom. If it
finds a match, checkdomain exits 0. Otherwise, it exits 100.
Each address appears as a null-terminated line with an introductory
character. A + character introduces a delivery address, and a (
character introduces a comment. The introductory characters are not part
of the address. checkdomain compares its arguments only with
delivery addresses, and ignores comments.
If checkdomain finds an address matching dom, it exits 0. Otherwise,
it exits 100.