############################################################################## # First-line stuff in replies: # options: once body # a few options please log: On-wrote junk search: "^(On .* wrote:)" replace: ############################################################################## # Quoted lines: # options: body prio 2 search: ^ *>.* log: quote-removal replace: ############################################################################## # Initial spaces # options: fullbody prio 2 subject search: "^ +" log: spaces in the beginning of lines replace: ############################################################################## # "re:" parts in subjects # options: subject nocase search: .*(Re|Ang|Sv)(\[.*\]|): * log: re/ang/sv-stuff in subject lines replace: ############################################################################## # Sequences of weird letters only one of them # options: fullbody prio 4 search: "([-\.=!+*#;:,~!&]){2,}" log: multiple weirdo letters replace: \1 ############################################################################## # Remove space between certain punctuation letters. # options: fullbody prio 4 log: non-alnum, space, non-alnum => remove space search: "([-*!=.,]) ([-*!=.,])" replace: \1\2 ############################################################################## # Remove space after non-word symbols # log: Remove spaces after symbols options: prio 4 search: "(\W) +" replace: \1 ############################################################################## # Cut off parentheses from From names. # options: from log: cut off parantheses junk search: \([^)]*\) replace: ############################################################################## # Cut off known domain names from email addresses # log: cut off @*.frontec.se domains search: @(....|)frontec.se replace: "" ############################################################################## # URLs don't do any good in SMS messages: # options: nocase log: remove http/ftp-URL search: (http|ftp)://[a-z0-9.~/-]* replace: (URL) ############################################################################## # Output with two extra spaces: # output: "$subject\r\n$body"