1. NAME

EXIGREP - Search Exim's main log

2. SYNOPSIS

exigrep [-l] pattern [log file] ...

3. DESCRIPTION

The

exigrep utility is a Perl script that searches one or more main log files for entries that match a given pattern. When it finds a match, it extracts all the log entries for the relevant message, not just those that match the pattern. Thus,

exigrep can extract complete log entries for a given message, or all mail for a given user, or for a given host, for example. The -l flag means (oqliteral(cq, that is, treat all characters in the pattern as standing for themselves. Otherwise the pattern must be a Perl regular expression. The pattern match is case-insensitive. If no file names are given on the command line, the standard input is read. If the location of a

zcat command is known from the definition of ZCAT_COMMAND in Local/Makefile,

exigrep automatically passes any file whose name ends in COMPRESS_SUFFIX through

zcat as it searches it.

4. BUGS

This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches would be greatly appreciated.

5. SEE ALSO

R exim (8),

R perlre (1), /usr/share/doc/exim4-base/

6. AUTHOR

This manual page was stitched together from spec.txt by Andreas Metzler <ametzler at downhill.at.eu.org>, for the Debian GNU/Linux system (but may be used by others).