Skip to content

checkaddr.1

Manvendra Bhangui edited this page Feb 25, 2024 · 4 revisions

NAME

checkaddr - match address in 822addr output

SYNOPSIS

checkaddr addr ... where addr is an email header name.

DESCRIPTION

checkaddr reads addresses from standard input, in the form output by 822addr(1), and compares them with each addr without regard to case. If no addr appears, checkaddr uses $RECIPIENT as addr. If it finds a match, checkaddr exits 0. Otherwise, checkaddr 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. checkaddr compares its arguments only with delivery addresses, and ignores comments.

If checkaddr finds an address matching addr, it exits 0. Otherwise, it exits 100.

SEE ALSO

822addr(1), checkdomain(1),

Clone this wiki locally