Softbank 3G + ubiqun(2)


あかん、ぜんぶ「続きを受信」になる(汗)

試行錯誤の末落ち着いたのがこれ。様子を見る

# メールの各種設定 (mail_*): koko
mail_byte = 384
mail_jcode = jis
#mail_jcode = sjis
mail_jcode_subject = jis
#NG     mail_jcode_subject = sjis
mail_hankakukana = no
mail_cr = \n
mail_split = 5
mail_sendreverse = yes
mail_save = no
mail_cut_pattern = yes
mail_convert_zenhan = yes
mail_compress_quotation = yes
mail_compress_quotation_line = 1
mail_convert_space = yes
mail_convert_sentence = yes
mail_use_database = yes
mail_compress_line = 3
mail_optimize_zenhan = yes
mail_add_contenttype = yes
mail_replace_url = no

# ヘッダ関係の設定 (macro_*):
# ・eval で演算されるので,Perl 文法に従った表記とする。
# ・使用可能な変数: %setting, %header
# ・使用可能なマクロ: &MACRO_MAX, &MACRO_MIN, &MACRO_BYTE(), &MACRO_BYTE_DIFF(), &MACRO_CUT(), &MACRO_MIMEENCODE()
# ・macro_byte_header の展開は,macro_header_* の展開内容が %header に代入された後に行われる。
macro_envelope_from_1 = $setting{'program_address'}
macro_envelope_from_2 = $setting{'program_address'}
macro_envelope_to_1 = $setting{'phone_address'}
macro_envelope_to_2 = $setting{'phone_address'}
macro_header_from_1 = &MACRO_CUT($header{'FROM'}, 56)
macro_header_from_2 = &MACRO_CUT(&MACRO_CUT((split('@', $header{'FROM'}))[0], 8) . '@' . $setting{'mail_split_now'} . '/' .
 $setting{'mail_split'}, 56)
macro_header_to_1 = $setting{'phone_address'}
macro_header_to_2 = $setting{'phone_address'}
macro_header_cc_1 =
macro_header_cc_2 =
macro_header_bcc_1 =
macro_header_bcc_2 =
macro_header_reply-to_1 =
macro_header_reply-to_2 =
macro_header_errors-to_1 = $setting{'program_address'}
macro_header_errors-to_2 = $setting{'program_address'}
macro_header_subject_1 = &MACRO_CUT($header{'SUBJECT'}, 36, $setting{'mail_jcode_subject'})
macro_header_subject_2 =
macro_header_x-mailer_1 =
macro_header_x-mailer_2 =
#macro_header_x-remailer_1 = $setting{'program_name'} . ' ver.' . $setting{'program_version'}
macro_header_x-remailer_1 =
#macro_header_x-remailer_2 = $setting{'program_name'} . ' ver.' . $setting{'program_version'}
macro_header_x-remailer_2 =
#macro_body_header_1 = $header{'X-UBIQUN-FILENAME'} . '(' . $setting{'mail_ratio_compression'} . '%)'
macro_body_header_1 =
macro_body_header_2 =
macro_body_footer_1 =
macro_body_footer_2 =
#NG     macro_byte_header = 100
#ok     macro_byte_header = 192
#ok     macro_byte_header = 190
#ng     macro_byte_header = 150
#ok     macro_byte_header = 170
#ok     macro_byte_header = 160
#ng     macro_byte_header = 155
#ng     macro_byte_header = 158
#ng     macro_byte_header = 160
#ng     macro_byte_header = 162
macro_byte_header = 168



Softbank 3G + ubiqun
ハックの記録
LinkStation/玄箱 をハックしよう

Podcast(3)ポッドキャスト英会話 eChat Vancouver

Copyright (C) 2006 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市