wmf1
Convert and index mails in html format.
Usage
wmf [options]
Overview
WMF (Web Mail Folder) generates html-pages from email. Source can be a file or stdin.
Options
Available command line options are the following:
-
-? -
Print a summary of command line options.
-
-a url -
About link. If this link presents it will be placed to the index section.
-
-c file -
Another configurationfile (default ~/.wmfrc)
-
-d directory -
Where all the files write to (default ./)
-
-e command -
Mail-command (default MAILTO:)
-
-f permission -
Set file permission after creation. Numeric mode only like chown (1)
-
-h -
Print a summary of command line options.
-
-l days -
Daylimit, mails older then <days> day won't be listed in the indexes. 0 = no limit (default=0).
-
-m mbox -
Name of the mailbox file, - is used for stdin.
-
-n name -
Name of the mail folder.
-
-p lines -
Lines / page index. 0 = only one page (default 0). Threads won't be brocken.
-
-r -
Reverse sorting.
-
-t level -
threading level limitation
-
-v -
Print the programname and the version.
-
-w mode -
Write-mode (0=indexing 1=overwrite 2=append 3=append no index). Mode 0: If you made changes manual or anything went wrong until indexing. Mode 1: If you want to start from scratch witch one big mbox file. Warning: All files in the directory will be deleted !!! Mode 2: If you want to extend an existing archive. Mode 3: Specialy made if you need to convert emails stored in single files. After converting all files you can call WMF again in Mode 0 for indexing.
-
-x level -
Debug level (Bit0=Functions Bit1=Information Bit2=Fileoperations)
Enviroment
All switches can be defined with enviroments.
- WMF_CONFIG
-
Another configurationfile (default ~/.wmfrc)
- WMF_DAYS
-
Daylimit, mails older then <days> day won't be listed in the indexes. 0 = no limit (default=0)
- WMF_DEBUG
-
Debug level (Bit0=Functions Bit1=Information Bit2=Fileoperations)
- WMF_EXTENSION
-
Define the file extension (default=".html").
- WMF_DIR
-
Where all the files write to (default ./)
- WMF_LINES
-
Lines / page index. 0 = only one page (default 0) Threads won't be brocken.
- WMF_MBOX
-
Name of the mailbox, - is used for stdin
- WMF_MCMD
-
Mail-command (default MAILTO:)
- WMF_NAME
-
Name of the mailinglist
- WMF_RSORT
-
Reverse sorting
- WMF_WMODE
-
Write-mode (0=indexing 1=append 2=overwrite)
Examples
Files
~/.wmfrc
Notes
Thanks to all the people, who sent emails with bug-reports and suggestions.
History
- Debian 13 (Trixie) to Debian 9 (Stretch): the text shown here
- Debian 8 (Jessie) to Debian 2.2 (Potato)
- Debian 2.1 (Slink) to Debian 2.0 (Hamm)