0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

fml 4.0 でSubject中に[ml-name:999]が複数入ってしまうのを回避

Posted at

やりたいこと

fml 4.0 でSubject中が
「Re: [ml-name:999] Re:[ml-name:998]ほげほげ」
のように 通し番号が複数入ってしまうのを回避

Special Thanks↓

cfファイルに下記を追加

$START_HOOK .= q{
  use Encode qw(decode);
  use Jcode;
  my($subject) ;
  $subject = $Envelope{'h:subject:'} ;
  $subject = decode ('MIME-header', $subject) ;
  $subject =~ s/\[ML名:[0-9]+\]//g;
  $subject = jcode($subject)->mime_encode;
  $Envelope{'h:Subject:'} = $subject ;
};

SSHで下記を実施

$ ~/fml/sbin/makefml update-config [ML名]

さくらレンタルサーバの場合の手順参考ページ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?