-
-
Notifications
You must be signed in to change notification settings - Fork 3
checkaddr.1
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
checkaddr - match address in 822addr output
checkaddr addr ... where addr is an email header name.
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.