"Fossies" - the Fresh Open Source Software Archive

Member "sendpage-1.001001/email2page.conf" (3 Jan 2008, 864 Bytes) of package /linux/privat/old/sendpage-1.001001.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # This file describes how an email message will be rewritten for paging
    2 # by the 'email2page' too.
    3 #
    4 # How many lines of the body to actually filter (0=unlimited)
    5 maxlines:200
    6 # What to start the page with (must be in quotes)
    7 prefix:"|"
    8 # What to end the page with (must be in quotes)
    9 suffix:"-STOP-"
   10 # How matched results should be joined (must be in quotes)
   11 headerjoin:"|"
   12 # How the headers and body should be joined (must be in quotes)
   13 headbodyjoin:"|"
   14 #
   15 # List of header regexs, if any.
   16 # Only headers that get matched/changed are included in the final page.
   17 header:s/^Subject:\s+(.*)/S:$1/i;
   18 header:s/^From:\s+(.*)/F:$1/i;
   19 # rewrite all headers to their first three letters in their tag
   20 #header:s/^([^:]{1,3})[^:]*:(.*)/$1:$2/;
   21 # to leave all headers intact
   22 #header:s/^(.*)/$1/;
   23 #
   24 # List of body substitutions, if any
   25 # drop all blank lines
   26 #body:s/^\s*$//g;