mbox-filter

NAME

mbox-filter

SYNOPSIS

mbox-filter --root /var/www/attach --url http://www.example.org/attach mbox...


OPTIONS

--man

Print the manual page and exit.

--root

The document root where this script will place any attachments it does not convert into text.

--url

The uniform resource locator corresponding to the document root given.

--help

Print a brief help message and exit.


DESCRIPTION

This program is a filter for "normal" mbox format files. It will print out some useful text based on the emails found. No modifications are attempted on the input.

For email parts that doesn't have a ready text version, the part is written to the provided document root and a a reference is output using the provided url.


EXIT CODES

If this program exits with a zero exit status and the correct output is on standard output. Nothing else should be printed to standard output.

This program will exit with a non-zero exit status if there was a fatal error. Both fatal and non-fatal errors will cause output on standard error.


AUTHOR

Mark Suter <suter@humbug.org.au>


COPYRIGHT

Copyright (C) 2002,2003 Mark Suter <suter@humbug.org.au>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or from the following webpage.

    http://www.gnu.org/licenses/gpl.txt
-->