MATCH-EMAIL-ADDR(1)

NAME
match-email-addr - match email addresses

SYNOPSIS
match-email-addr files...

DESCRIPTION
The match-email-addr programme will match email addresses passed in the standard input to words and regular expressions in a list of files. This programme can be used as the basis for an advanced email-address matching system for mail filters. The standard input must contain one or more email addresses separated by newlines.

OPTIONS

files...
    The files to read, searching for a match.

FILE FORMAT
Each line must contain a single word to match with an email address. Leading and trailing spaces must not exist. The following special lines are recognised:

#   A comment line is denoted by a '#' character at the beginning of the line.

!include file
    Specifies a new file to read, searching for matches.

!regexp expression
    Specifies a regular expression to match.

DIAGNOSTICS
Normally, exit status is 0 if matches were found, and 1 if no matches were found.

SEE ALSO
pgpsendmail(1), extract-addrs(1)

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABILITY
The PGPsendmail/Unix Suite is available for anonymous ftp from: ftp.atnf.csiro.au:pub/people/rgooch ftp.dhp.com:pub/crypto/pgp/PGPsendmail ftp.ox.ac.uk:pub/crypto/pgp/utils linux.nrao.edu:pub/src/pgp/PGPsendmail