ZFilter supports a range of command-line options. Here's the list and what they do. If you wonder why some of the option letters are a bit odd, I tried to keep as many of them as possible the same as the ones the old filter program used. Blame the guy who did the old filter, not me.
|-A list email||Add email address specified to list specified|
|-C||Engage Config Mode, prompt for default settings for most|
|-c||Clear the log file. Log files will be summarized and|
condensed so that your running-totals and summaries won't
|-D list email||Remove email address specified from the list specified|
|-f filename||Use the specified rules file.|
|-F filename||Use the specified defaults file.|
|-i||Ignore "reply-to" field of the message, and use the|
address the message came from for the "canned" command.
|-I||Ignore the next argument. You can have as many of these|
as you like.
|-l||Actions-only (don't log the sender and subject)|
|-L directory||Use the specified directory to store logs|
|-n||Not-really, display the logs to the screen and take no|
|-o filename||redirect where verbose messages are printed to.|
|-p filename||Use the specified file to hold the permanent variables|
(normally ".zfprmnt" in your home directory)
|-P list||Display all the eMail addresses in the list specified|
|-q||"Quiet" mode. Don't print to the logs. |
|-r||View the rules file|
|-s||Display a summary of actions taken and who mail came from.|
|-S||View the log file.|
|-t filename||Use the specified file for temporary information|
|-u||Usage. Display a summary of command-line arguments|
|-U user||Experimental, try to run as the user given. Can be UID or login.|
|-v||Verbose- print logs to the screen or specified place.|
change where messages are printed to with -o. Logging
to the log file is unchanged.
|-V||Print the version and release date of your copy of ZFilter|
|-W address||Display all lists that contain the address specified|
|-x||Completely reset the summary data|
|-X||Completely reset _everything_, including all permanent|
|-? -H -h /?||All print usage help. Like -u|
to set the "permanent" file to ".myzfprmnt" and the "defaults" file to ".myzfdflt".
ZFilter ignores any arguments it doesn't understand.
If you use arguments that don't require additional info, like -x or -V (but not -W, which requires an address) you can specify them all with a single dash, like this: "zfilter -xXV"