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?

fmlでGmailの「ループ防止」機能(自己宛て抑制)を回避する方法

Posted at

/home/(USER_NAME)/fml/spool/ml/(ML_NAME)/
にあるconfig.phに以下の記述を追加。

# YOU CAN EDIT MANUALLY AFTER HERE.

$USE_ORIGINAL_MESSAGE_ID = 0;

$SKIP_FIELDS = "Received|Return-Receipt-To|DKIM-Signature|X-Google-DKIM-Signature|X-Gm-Message-State
|X-Google-Smtp-Source|X-Received";

$SMTP_OPEN_HOOK = q#
     $Envelope{'fh:reply-to:'} = $MAIL_LIST;
     $header_from = $Envelope{"h:From:"};
     $header_from =~ s/\/\)/g;
     $header_from =~ s/\"//g;
     $header_from =~ s/^\s+//;
     $header_from =~ s/\s+$//;
     $Envelope{'fh:from:'} = "\"" . $header_from . "\"<" . $MAIL_LIST . ">";
#;

@DenyProcedure =

その後、

perl -c config.ph

を実行して

config.ph syntax OK

となればOK。

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?