套用於 procmailrc 20061207
#!/bin/bash
CHAR=`cat /tmp/procmail_whatcode`
SUBJ=`cat /tmp/procmail_subj`
ERROR=`echo $SUBJ | iconv -f $CHAR -t utf-8`
if [ `echo $?` = 0 ]; then
echo $SUBJ | iconv -f $CHAR -t utf-8
else
echo $SUBJ
fi
留言