EXTRACT-ADDRS(1)

NAME
extract-addrs - extract email addresses

SYNOPSIS
extract-addrs [ t ] [ c ] [ b ] [ f ] [ s ]

DESCRIPTION
The extract-addrs programme will extract email addresses from an email header. The header is read from the standard input. Each email address extracted is written to the standard output, each in a separate line. This programme can be used as the basis for an advanced email-address matching system for mail filters.

OPTIONS

t   Extract email addresses from the "To:" field.

c   Extract email addresses from the "Cc:" field.

b   Extract email addresses from the "Bcc:" field.

f   Extract email addresses from the "From:" and "From " fields.

s   Extract email addresses from the "Sender:" field.

DEFAULT BEHAVIOUR
If no options are given, the default "fs" options are used.

SEE ALSO
pgpsendmail(1), match-email-addr(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