# LOGABSTRACT=all # VERBOSE=yes # LOGFILE=$HOME/cestina.log :0Hbfw * ^Content-(T|t)ype:.*text/plain\;.*charset=(")?(ISO|iso|Iso)-(8859-2|latin-2|Latin-2|LATIN-2)(")? * ^Content-(T|t)ransfer-(E|e)ncoding:.*quoted-printable | /usr/local/bin/mimencode -u -q :0 Afhw | formail -I "Content-transfer-encoding: 8bit" -I "Content-type: text/plain; charset=iso-8859-2" :0Hbfw * ^Content-(T|t)ype:.*text/plain\;.*charset=(")?windows-1250(")? * ^Content-(T|t)ransfer-(E|e)ncoding:.*quoted-printable | /usr/local/bin/mimencode -u -q :0 Afhw | formail -I "Content-transfer-encoding: 8bit" -I "Content-type: text/plain; charset=windows-1250" :0Hbfw * ^Content-(T|t)ype:.*text/plain\;.*charset=(")?(ISO|iso|Iso)-(8859-2|latin-2|Latin-2|LATIN-2)(")? * ^Content-(T|t)ransfer-(E|e)ncoding:.*base(-)?64 | /usr/local/bin/mimencode -u -b :0 Afhw | formail -I "Content-transfer-encoding: 8bit" -I "Content-type: text/plain; charset=iso-8859-2" # Content-Type: text/plain; charset=windows-1250 :0Hbfw * ^Content-(T|t)ype:.*text/plain\;.*charset=(")?windows-1250(")? | $HOME/bin/cstocs 1250 il2 # temporarily disabled #* ^Content-(T|t)ransfer-(E|e)ncoding:.*(7|8)(-)?bit #| $HOME/bin/cstocs 1250 il2 :0 Afhw | formail -I "Content-transfer-encoding: 8bit" -I "Content-type: text/plain; charset=iso-8859-2" :0Hbfw * ^Content-(T|t)ype:.*text/plain\;.*charset=(")?windows-1250(")? * ^Content-(T|t)ransfer-(E|e)ncoding:.*(7|8)(-)?bit | $HOME/bin/cstocs 1250 il2 :0 Afhw | formail -I "Content-transfer-encoding: 8bit" -I "Content-type: text/plain; charset=iso-8859-2" #:0BD fwb #* ^begin 600 WINMAIL\.DAT$ #| sed -e '/^begin 600 WINMAIL\.DAT$/,/^end$/d' ## Remove v-cards #:0BD fwbw #* ^begin 600 .*.vcf #| sed -e '/^begin 600 .*.vcf/,/^end$/d' :0fw * ^Content-Type:\<*text/html * ^Content-Type:\<*multipart/(mixed|alternative) | /usr/local/bin/lynx -dump # Else, if it's a multipart but it doesn't have HTML, do nothing; ... :0E * ^Content-Type:\<*multipart/(mixed|alternative) * ! B ?? ^Content-Type:\<*text/html { } PMSRC = /etc/procmail INCLUDERC = $PMSRC/pm-jamime-decode.rc # :0: # $HOME/cestina.test