[PREVIOUS CHAPTER] [NEXT CHAPTER]

3 $B;vNc=8(B

    3.1	Reply-To: $B$,7HBSEEOC$N$"$I$l$9$G:$$k(B

    Q: $B7HBSEEOC$+$iAw$i$l$k%a!<%k$G(B Reply-To: $B$,7HBSEEOC$N%"%I%l%9$N$?$a$K(B
    $BG[Aw$5$l$?%a!<%k$,(B Reply-To: $B#M#L$K$J$j$^$;$s!#(B

    A: $B!X>o$K6/@)E*$K(B Reply-To: $B#M#L$K$7$F$7$^$&!Y$3$H$G2r7h$K$J$k$N$J$i(B

    /var/spool/ml/elena/cf (PATH$B$OE,Ev$K$h$_$+$($F$/$@$5$$(B) $B$N(B
    LOCAL_CONFIG $B$H$$$&9T$N8e$K(B

       &DEFINE_FIELD_FORCED('reply-to', $MAIL_LIST);

    $B$H=q$$$F(B config.ph $B$r:n$jD>$7$F2<$5$$!#:n$jD>$9$N$ONc$($P(B
       % cd /var/spool/ml/elena/cf
       % makefml update-config.ph elena

    3.2	fml$B$G$N(Bwelcome$B%a!<%k$N(Bsubject$B$rF|K\8l$K$9$k(B

    fml-support: 07219

    $B#M#L$N(BHOME$B$K$"$k(Bcf$B$H$$$&%U%!%$%k$N:G8e(B(LOCAL_CONFIG$B$H$$$&9T$h$j8e(B)$B$K(B

    $START_HOOK = q#

    	&use('MIME');
    	$WELCOME_STATEMENT  = "$B$h$&$3$=$3$3$X!"$&$U$U(B";
    	$WELCOME_STATEMENT  = &STR2EUC($WELCOME_STATEMENT);
    	$WELCOME_STATEMENT  = &mimeencode($WELCOME_STATEMENT);

    #;

    $B$Hl=j$G(B

    make config.ph

    $B$G(B config.ph $B$r$D$/$j$J$*$9(B

    3.3	$BEPO?$N(Bconfirmation$B%a!<%k$N(Bsubject$B$r$$$8$k(B

       "Subscribe confirmation request $ML_FN";

    $B$N$h$&$J(B subject $B$r<+M3$K%+%9%?%^%$%:$9$k$N$O$A$g$C$HLLE]$G$9!#$H$$$&(B
    $B$N$O>uBV$K$h$C$F$5$^$6$^$J(Bsubject$B$KJQ$o$k$N$G!"$=$l$O:#4X?t$N$J$+$KKd(B
    $B$a9~$^$l$F$7$^$C$F$$$^$9!#(B

    XXX $BK\Mh$O(B messages/$LANGUAGE/ $B$K2!$7=P$7$F30$N%U%!%$%k$+$iDj5A$r(B
    XXX $BJQ99$G$-$k$h$&$K$K$9$k$Y$-$G$7$g$&$M!#30B&$+$i$=$N$F$N%U%l!<%:$r$$(B
    XXX $B$8$l$k$h$&$K$9$k:n6H$O%(%i!<$H$+$O0lDL$j=*$C$F$k$1$I$=$l0J30$O(B...

    $BNc(B: $B8=>u$G$O$?$V$s$3$s$J$s$r$+$+$J$$$H$$$1$J$$$9(B( not tested )

    $CONFIRM_REPLAY_SUBJECT_FUNCTION = 'myGenConfirmReplySubject';

    sub myGenConfirmReplySubject
    {
        local(*e, *cf, $mode) = @_;
        local($s);

        if ($debug_confirm) {
    	local(@c) = caller;
    	&Log("GenConfirmReplySubject<$c[2]>: $mode") if $mode ne 'Default';
        }

        if ($mode eq 'Default') {
    	$s = "Subscribe request result $ML_FN";
        }
        elsif ($mode eq 'Confirm::Confirmed') {
    	$s = $CONFIRMATION_WELCOME_STATEMENT || $WELCOME_STATEMENT;
    	# $s = "Newly added $From_address $ML_FN";
        }
        elsif ($mode eq 'Confirm::Error') {
    	$s = "Subscribe with confirmation error $ML_FN";
        }
        elsif ($mode eq 'Confirm::GenPreamble') {
    	$s = "$ML_FN$BEPO?$N3NG'(B";
    	$s = &STR2EUC($s);
    	# $s = "Subscribe confirmation request $ML_FN";
        }
        elsif ($mode eq 'IdCheck::syntax_error') {
    	$s = "Subscribe confirmation errror $ML_FN";
        }
        elsif ($mode eq 'Confirm::expired') {
    	$s = "Subscribe confirmation expired $ML_FN";
        }
        elsif ($mode eq 'BufferSyntax::Error') {
    	$s = "Subscribe confirmation errror $ML_FN";
        }
        elsif ($mode eq 'BufferSyntax::InvalidAddr') {
    	$s = "Subscribe confirmation errror $ML_FN";
        }
        else {
    	&Log("GenConfirmReplySubject: unknown mode [$mode]") if $debug_confirm;
    	"Subscribe request result $ML_FN";
        }
    }

    3.4	Received: $B$r;D$9(B

    FML 2.2 $B0J9_$G$O(B

        $SKIP_FIELDS  = 'Return-Receipt-To';

    $B$G$9!#(Bmakefml config$B$N%a%K%e!<$K$"$j$^$9(B($BCf?H$O$3$l(B)$B!#(B
    $B!t(B2.1 $B$G$O;RJ8;z$8$c$J$$$H$@$a$+$b(B unshift(@HdrFieldsOrder, 'received');
    $B!t$3$N>l9g0l9T$@$1(B Received $B$G$O$J$/(B received $B$K$J$C$F$7$^$C$F$A$g$C(B
    $B!t$H>p$1$J$$$+$bCN$l$^$;$s$,!D(B
    $B!t(BRFC822 $B$H$7$F$OBgJ8;z>.J8;z$O4X78$J$$$N$GLdBj$O$J$$!#%+%C%30-$$$@$1(B;-)

    $BNr;KE*$K!V%5!<%P$G7W$J$b(B
    $B$N$O8+$;$F$b$i$o$J$$J}$,9,$;$@$m$&(B)$B!W$H$$$&;WA[$K4p$E$-!"%G%U%)!<%k%H(B
    $B$G$O(B Received: $B$O$D$1$F$$$^$;$s!#$^$?$=$l$O(B too many hops $B$K$h$k%(%i!<(B
    $B$rHr$1$k$?$a$K$bM-8z$G$9!#(B

    $BG0$N$?$a%m%0$r3.5
    3.5

    FYI: fml-support's ML Count: 01816, 01821 for the discussion

    3.5	Date: Type ($DATE_TYPE)

    fml 2.2 $B$N(B $DATE_TYPE $B$N%G%U%)!<%k%HCM$O(B original-date $B!"(B
    fml 2.1 $B$O(B received-date $B$G$9!#(B

    	$BL$Dj5A$J$i$=$N$^$^(B($B8_49@-$N$?$a(B) received-date $B$HF1$8$K$J$k(B

    	original-date
    		Date:
    		Posted: $B$J$7(B

    	received-date
    	received-date+posted
    		Date:	FML$B$,%a!<%k$r3.6	$B%3%^%s%I$N7k2L$d%f!<%6$X$N%a%C%;!<%8$N%X%C%@$N%+%9%?%^%$%:(B
    ../internals 7.0

    $B%3%^%s%I$N7k2L$d%f!<%6$X$N%a%C%;!<%8$N%a!<%k%X%C%@$O(B

    	$Envelope{'GH:field:'}

    $B$GJQ99$G$-$^$9!#(BGH $B$H$$$&%-!<%o!<%I$J$N$O(B SMTP Library $B$N(B
    GenerateHeader() $B$H$$$&4X?tFb$G;H$o$l$k$?$a$G$9!#%X%C%@%U%#!<%k%I$NJB(B
    $B$S=g$O(B @HdrFieldsOrder $B$N=gHV$G$9!#(B

    Example:

    $B%3%^%s%I$N7k2L$N%a!<%k$N(B From: $B$rFCDj$N%"%I%l%9(B($B$*$h$S(B signature$B$D$-Ey(B)
    $B$KJQ$($?$$>l9g!#$J$*DL>o$O(B From: $B$O(B $MAINTAINER $B$G$9!#(B

    	$Envelope{'GH:From:'} = "uja@aoi.chan.panic (AOICHAN PANIC)";

    From: $MAINTAINER $B$K8B$C$F$O(B $MAINTAINER_SIGNATURE $B$G(B signature $B$r$D$1(B
    $B$k$3$H$O$G$-$^$9$,!"$^$!7A$r5$$K$9$k$J$i",$NJ}K!$GD>@\Dj5A$7$?J}$,$h$j(B
    $B$h$$$G$7$g$&!#(BDynamic $B$KJd@5$9$kI,MW$,$"$k>l9g$O(B
    $REPORT_HEADER_CONFIG_HOOK$B$GDj5A$9$k$H$h$$!#(B
    ../hooks 3.11

    3.7	$B%3%^%s%I%a!<%k$N7k2L$N%a!<%k$N(B Reply-To: $B$rJQ99$9$k(B

    	&DEFINE_FIELD_OF_REPORT_MAIL('Reply-To', "Your Reply-To Address");

    $B$O3.8	Subject Tags; Subject: $B$K(B (Elena 100) $B$J$I$N%?%0$r$D$1$k(B

    FML$B$N%G%U%)!<%k%H$N%G%6%$%s%]%j%7!<$O!V(BSubject: $B$O$$$8$i$J$$!#K\Mh%a!<(B
    $B%k%=%U%H$,9%$-$J7A$K%U%)!<%^%C%H$9$k$b$N$r%5!<%PB&$G%U%)!<%^%C%H$r2!IU(B
    $B$1$k$Y$-$G$O$J$$!W!VM-8z$K;H$$$b$7$J$$$N$K(B Subject:$B$NK\BN$N>pJs$r8:$i(B
    $B$9%?%0$O$D$1$k$Y$-$G$O$J$$!W$H$$$&$b$N$G$9!#(B
    $B!tCm0U!'$3$NLdBj$OK\Mh$O%a!<%k%$%s%?!<%U%'%$%9%W%m%0%i%`$,8-$$$+!)(B
    $B!tH]$+!)$H$$$&LdBj$K4T85$5$l$k$Y$-$b$N$G$9!#(B

    Subject: $B$K%?%0$r$D$1$k;~$O(B$SUBJECT_TAG_TYPE $B$H$$$&JQ?t$K%?%$%W$r@_Dj(B
    $B$7$^$9!#$A$J$_$K(B makefml config $B$G@_Dj$G$-$^$9!#(B

      $SUBJECT_TAG_TYPE		Subject: $B$G$N7A(B

    	TYPE    Subject Example

    		Subject: 	 	(DEFAULT, FML recommends this)
    	(:)	Subject: (Elena:100)
    	[:]	Subject: [Elena:100]	(hml 1.6 compatibility)
    	( )	Subject: (Elena 100)
    	[ ]	Subject: [Elena 100]
    	(,)	Subject: (Elena,100)
    	[,]	Subject: [Elena,100]
    	()	Subject: (Elena)
    	[]	Subject: [Elena]
    	(ID)	Subject: (100)
    	[ID]	Subject: [100]

    [²òÀâ]
    $B@_Dj$9$k$H(B config.ph $B$NCf$G$Ol9g$OFbIt$G(B$SUBJECT_TAG_TYPE = "[:]"; $B$XJQ(B
    $B49$5$l$^$9!#8=:_$N@_Dj$G$O$9$G$KL58z$JJQ?t$G$9!#(B

    3.9	Subject: $B$N@.7A(B ([Elena:ID] $B%U%)!<%^%C%H$rH4$/(B) [obsolete]

    [backward compatible, obsolete]
    $BNr;KE*0UL#$7$+$J$$$N$G8E$$(Bconfig.ph$B$r;H$C$F$$$k$J$i$H$b$+$/!"(B
    $B?7$?$K;H$&$3$H$O$J$$$O$:$G$9(B($B;H$o$J$$$h$&$K(B)$B!#(B

    	$STRIP_BRACKETS = 1;

    $B$H$9$k$H(B Subject$B$+$i(B [ML:fukachan] $B$_$?$$$JItJ,$r%+%C%H$9$k!#$3$l$O(B
    Subject: [Elena:ID] $B$N7A$GG[Aw$9$k$?$a$NA0=hM}$G$9!#(B

    3.10	TAG$B$N(B [Elena:00001] $B$N8^7e$N?t;z$r#N7e$KJQ99(B

    	$SUBJECT_FORM_LONG_ID (5; the number > 1)

    $B$O(BSubject:$B$N(BTAG$B$N?t;zItJ,$N7e?t$rDj5A$9$k!#(B5($B7e(B)$B$,%G%U%)!<%k%H$@$,(B
    $SUBJECT_FORM_LONG_ID $B7e$K$9$k!#(B$SUBJECT_FREE_FORM $B;HMQ;~$KM-8z$JJQ?t!#(B
    2 $B0J>e(B

    $BCm0U(B:
    $B$+$D$F(B

    	$B#57e$,%G%U%)!<%k%H$@$,(B $HML_FORM_LONG_ID $B7e$K$9$k!#(B
    	$SUBJECT_HML_FORM = 1; $B$N;~$K$N$_M-8z!#(B

    $B$H$$$&@_Dj$b$"$j$^$7$?!#8=:_$G$O(B $SUBJECT_FORM_LONG_ID $B$r;H$&$Y$-!#(B
    $CFVersion 3 $B0JA0$K$"$C$?(B $HML_FORM_LONG_ID $B$O(B config.ph $B$,(B CFVersion
    3 $B0JA0$N$b$N$@$HH=Dj$5$l$?>l9g$OFbIt$G(B $SUBJECT_FREE_FORM_LONG_ID; $B$X(B
    $BBeF~JQ49$5$l$^$9!#8=:_$N@_Dj$G$O$9$G$KL58z$JJQ?t$G$9!#(B

    3.11	TAG$B$N(B [Elena:00001] $B$N(B 0 $B%Q%G%#%s%0$r$J$/$9(B

    	$SUBJECT_FORM_LONG_ID = -1;

    [$BCm0U(B] $B@N$O(B
    	$HML_FORM_LONG_ID = -1;
    $B$bM-8z$G$7$?$,!":#$O$"$j$^$;$s!#(B

    3.12	$B85!9$N(B Message-ID $B$rG[Aw$K;H$&(B

    	$USE_ORIGINAL_MESSAGE_ID = 1; (default)

    $B$H$9$k$H85!9%a!<%k$K$"$C$?(B Message-ID $B$rJ]B8$7$F%X%C%@$K$D$1$^$9!#(B
    $B$3$l$,%G%U%)!<%k%H$N5sF0$G$9!#(B

    References: fml-support ML's Count: 02687 $B$"$?$j$r;2>H(B

    References: fml-support: 02687

    original $B$GL/$J(B pattern $B$N(B Message-ID $B$r;H$o$l$F$F!"$A$c$s$H(B detect $B$G(B
    $B$-$J$$$H$+$"$k$H7y$M!t$=$&$=$&$"$k$H$O$*$b$($J$$$N$@$,(B

    $B$H$$$&2DG=@-$b$"$k0lJ}(B $B!t$P$0$C$F$k(Bperl$B$H$+$M!A(B

    fml $B<+BN$,$D$1$k>l9g!"%-%c%C%7%e%F!<%V%k$NM-8z$JBg$-$5$,H>J,$K$J$C$F$7(B
    $B$^$U$H$$$&$N$,$"$k$N$G!"85!9$r;H$&J}$,M-8z$JBg$-$5$OA}$($k!#(B
    $B%k!<%W$,H/@8$9$k>l9g$K$I$N$/$i$$L$Mh$^$G@$3&@~$r$?$I$l$P$$$$$N$+$OITL@(B
    $B$J$N$GE}7WE*$J5DO@$O$G$-$J$$!#(B

    $B<+J,$,<+J,$KAw$k$H$+$=$&$$$&$N$J$i0l=V$G%k!<%W$K$O$$$k$N$G$^$:4V0c$$$J(B
    $B$/8!=P$9$k$O$:$H$$$&>l9g$,B?$$$H$$$&2>Dj$,@5$7$$$J$i$I$A$i$N$d$jJ}$G$b(B
    $BBg:9$O$J$$$O$:(B

    $B$H$$$&O@M}$K$J$k$h$&$J5$$,$9$k!#(B

    true ?

    3.13	ML $BFH<+$N(B Message-ID $B%U%)!<%^%C%H(B
    ../hooks 3.2

    $B$3$l$O(B
    	&DEFINE_FIELD_FORCED('Message-Id', "$BE,Ev$J(BID");
    $B$G2r7h$G$9$,!#(BHOOK$B$r;H$&$d$jJ}$b=q$$$F$*$-$^$9!#(B

    Message-ID: uja@aoi.chan.panic $B$O3.14	$B1'ChNr(B ($B309q(BTV$B%7%j!<%:(BML$B$G;H$C$F$^$9(B:-)

    config.ph $B$G(B $APPEND_STARDATE = 1; $B$H$9$k$H1'ChNr$,$D$-$^$9(B:-)

    	Date: Fri, 19 May 95 22:31:09  JST
    	From: "No.6 Fukachan" <fukachan@phys.titech.ac.jp>
    	Subject: Re: Nantonaku Leonard Nimoy
    	To: enterprise@phys.titech.ac.jp (Foreign TV Series ML)
    	X-ML-Name: Prisoner
    	X-Stardate: [-31]5697.8164

    	$B!D(Bbody$B!D(B

    $B$_$?$$$K$J$j$^$9!#%9%?!<%H%l%C%/(BFAQ $B$K(B C program $B$,$N$C$F$$$^$9$,!"(B
    libstardate.pl $B$O$=$N(B perl $BHG$G$9!#(B

    3.15	$B0l$D$N%a!<%j%s%0%j%9%H$KJ#?t$NEj9FMQ%"%I%l%9(B

    $B2?$N0UL#$,$"$k$N$+$OJ9$+$J$$$G$/$@$5$$(B($B>P(B)
    $BNc(B:
    Elena@phys.titech.ac.jp $B$H$$$&(BML$B$G(B

    	Elena@phys.titech.ac.jp
    	Anna@phys.titech.ac.jp

    $B$NN>J}$rEj9F2DG=$K$9$k!#@_Dj$7$?$$%"%I%l%9$r(B config.ph $B$G(B
    @MAIL_LIST_ALIASES $B$H$$$&G[Ns$K$:$i$:$i=q$$$F2<$5$$!#(B

      @MAIL_LIST_ALIASES = ('Elena@phys.titech.ac.jp',
    			'Anna@phys.titech.ac.jp'
    		    );

    $B$J$*(BHOOK$B$N@_Dj$O$b$&I,MW$"$j$^$;$s!#(B&FixHeaders $B$NCf$G=q$-49$($O9T$J$o(B
    $B$l$^$9!#(B

    $B$=$NJ#?t$N%"%I%l%9$r(B($B%k!<%W%A%'%C%/$K;H$&$?$a$K(B) @MAIL_LIST_ALIASES $B$,(B
    $BI,MW$G$9!#G[Ns$N@hF,$O(B $MAIL_LIST $B$G$9!#(B

    $B$3$&$9$k$H(B Elena $B$K$J$2$F$b(B Anna $B$KEj$2$F$bF1$8#M#L$H8+$J$7!"(B

    	$MAIL_LIST

    $B$r$=$NEj$2$?J}$N%"%I%l%9$K@_Dj$7$^$9!#$=$NI{:nMQ$H$7$F(B

    	To: $B$H(B Reply-To:

    $B$,$=$N%"%I%l%9$K$J$j$^$9!#(B

    $BCm0U!'(B @PLAY_TO, $Playing_to $B$O@N$NJQ?tL>$G$9!#$3$NJQ?t$O(B
    compatibility $B$N$?$a<+F0E*$K(B @MAIL_LIST_ALIASES $B$KBeF~$5$l$^$9!#(B
    $B!t(B libcompat.pl $B$K(BBackward compatibility $B$N$?$a$N%3!<%I$,$"$j$^$9$,!D(B

    3.16	X-ML-Info: $B$NFbMF$r;XDj$9$k(B

    	&DEFINE_FIELD_FORCED('x-ml-info', "$B=q$-$?$$$3$H(B");

    $B$G6/@)E*$K;XDj$9$l$PNI$$$G$7$g$&!#0l1~@NIw$KJQ?t(B

    	$X_ML_INFO_MESSAGE

    $B$G;XDj$7$?FbMF$rM%@h$7$F(B X-ML-Info: $B$K$D$1$FG[Aw$G$-$k$h$&$K$b$J$C$F$$(B
    $B$^$9!#$=$&$G$J$$>l9g$O%b!<%I$K$h$C$FE,Ev$K:n$i$l$?(B user friendly $B$JFb(B
    $BMF$,IU$12C$($i$l$^$9!#(B

    3.17	To: $B$N(B Rewriting $B=hM}(B

    2.1A $B$NESCf(B(config.ph CFVersion: 3.2)$B$+$i(B To: Cc: $B$O85$N%a!<%k$r$=$N$^(B
    $B$^DL$7$F$$$^$9!#(B2.2 $B$N%G%U%)!<%k%H$OAGDL$7$G$9!#(B

    $B2DFI@-$N$?$a!"(BTo: $B%U%#!<%k%I$O(B $MAIL_LIST $B$,E83+$5$l!">o$K#M#L$N%"%I%l(B
    $B%9$,=P$k$h$&$K$9$k$3$H$b$G$-$^$9!#(Bmakefml config ML $B$GJQ99$G$-$^$9!#(B

    $BK\Mh$O=q$/?M$,5$$r$D$1$k$Y$-$b$N$G$"$C$F#M#L%5!<%P$,5$$K$9$k$Y$-$b$N$G(B
    $B$O$J$$$G$7$g$&!#$G$b@$$NCf$o$1J,$+$i$s?M$,B?$$$N$G!"(Bapparent-to: $B$K$J$C(B
    $B$F$$$F8+?I$$$H$+0lBN$I$&$7$F$3$N#M#L$KMh$?%a!<%k$J$N!)$H$+$h$/$o$+$i$J(B
    $B$$%a!<%k$N$?$a$K>o$K(B To: $MAIL_LIST $B$r$D$1$k$3$H$,2DFI@-$N$?$a$K$b$h$$(B
    $B$H$*$b$$$^$9$,!D(B

    $B8=:_$O(B $REWRITE_TO $B$,(B
    	$BCM(B	$B5sF0(B
    	0 	$BAGDL$7(B (FML 2.2 default)

    	1 	To: $B$K(B $MAIL_LIST $B$,4^$^$l$F$$$l$P(BOK
    		To: $B$K$O(B $MAIL_LIST $B$,4^$^$l$F$$$J$$>l9g$O(B
    			To: $MAIL_LIST,
    			    $B85$N(B To:

    		$B$K$9$k(B (FML 2.1 default)$B!#(B

    	2 	To: $MAIL_LIST $B$K6/@)$9$k!#(B
    		To: $B$N85!9$NFbMF$O<:$o$l$k!#(B

    To: Cc: $B$H$$$&$N$O?M4V$,%a!<%k$r=q$/;~$NC1$J$kJX59>e$N$b$N$G!"G[AwpJs$rMn$5$:!"(BTo:
    $B$O2DFI@-$N$?$a$K(B $MAIL_LIST $B$H$7$F$$$^$9!#(B

    [$B3.18	NIFTY$BBP:v$r$9$k$+(B?($B;22C

    $BCm0U(B: $B$b$&I,MW$J$$$i$7$$(B

    	$USE_ERRORS_TO = 1;

    $B$H$9$k$H(B Errors-To: $B$r$D$1$^$9!#(B$AGAINST_NIFTY $B$bF1$80UL#$G$7$?$,(B
    $CFVersion 3 $B$G$O$J$/$J$j$^$7$?!#(B

    NIFTY $B$OHs>o<1$K$b!"(BErrors-to $B$H$$$&;~Be$*$/$l$NItJ,$7$+$_$F$J$$$N$G(B;_;$B!"(B
    config.ph $B$"$?$j$G(B

    	$AGAINST_NIFTY = 1

    $B$H$9$k$H%a!<%kK\J8$K(B

    	Errors-To: $MAINTAINER

    $B$,$D$-$^$9!#$3$l$G(B NIFTY $B$+$i$N%(%i!<%a!<%k$,(B $MAINTAINER $B$KJV$k$h$&$K(B
    $B$J$C$F$/$l$^$9!#8e8~$-$J2r7hK!$G$9$,(B;_;$B!#(B
    $BA08~$-$J$N$O!"$_$s$J$GJ86g$r$$$C$FD>$5$;$k$3$H$G$9!#(B
    $B!t$G$b!"KM$O%"%+%&%s%H$r$b$C$F$J$$(B;_;$B!#%"%+%&%s%H$r;}$C$F$k?M$,0lG/$/(B
    $B$i$$$$$$$D$E$1$J$$$H$@$a$J$s$@$m$&$J$!!J$O$!!K(B

    $B$J$*!"(B$ERRORS_TO $B$G(B Errors-To: $B$NItJ,$O(B $MAINTAINER $B$+$iJQ99$G$-$^$9!#(B

    3.19	Errors-To:$B$r$D$1$k(B

    RFC1123 $B$K5U$i$C$F(B Erros-To: $B$r$D$1$k$J$i(B $USE_ERRORS_TO = 1;
    $USE_ERRORS_TO = 1; if you append Errors-To:.

    3.20	Reply$B$N%a!<%k$N%5%V%8%'%/%H$r?7$7$/$9$k:]$K%V%i%1%C%H$r30$5$J$$(B

    $BNc(B: (Elena 100) Re:(Elena 99) xxxxxx $B$N$^$^$K$7$F$7$^$&(B

    $SUBJECT_TAG_TYPE $B$r;H$o$:!"$J$*$+$D(B $SUBJECT_FREE_FORM_REGEXP = $NULL;

    	$SUBJECT_TAG_TYPE = "";
            $SUBJECT_FREE_FORM = 1;
            $BEGIN_BRACKET     = '(';
            $BRACKET           = 'Elena';
            $BRACKET_SEPARATOR = ' ';
            $END_BRACKET       = ')';
    	$SUBJECT_FREE_FORM_REGEXP = $NULL;

    $B$HDj5A$7$F$*$/$H30$9F0:n$G$O$:$;$J$/$J$k!#(B
    $B!t@53N$K$O(B(Elena 100)$B$K%^%C%A$7$J$/$J$k$@$1$J$N$G!"$A$g$C$H0c$&(B

    $B$b$7$/$OA4A30c$&@55,I=8=$K$7$F%^%C%A$7$J$$$h$&$K$7$F$*$$$F$bF1MM$G$9!#(B

    $BCm0U$H$7$F$O(B $SUBJECT_TAG_TYPE $B$bJ;MQ$7$F:9J,$@$1=q$$$F$O$$$1$^$;$s!#(B
    $SUBJECT_TAG_TYPE$B$rDj5A$9$k$H$O(Bfml $B$,5/F0$7$F(B config.ph $B$r$h$s$@8e$KF0(B
    $BE*$K>e$N@_Dj$r$7$F$$$k$N$G(B config.ph $B$N@_Dj$G$OC1=c$K>e=q$-$G$-$^$;$s!#(B

    3.21	Reply-To: $B$r(B From: + $MAIL_LIST $B$K@_Dj$9$k(B

    $START_HOOK = q#
          &DEFINE_FIELD_FORCED("reply-to", "$From_address, $MAIL_LIST");
    #;

    You need to use a hook since From: address is dynamic variable, so
    cannot define static setting in config.ph.

    3.22	Reply-To: $B$r(B From: + $MAIL_LIST $B$K@_Dj$9$k(B(2)

    fml-support: 06240

    $B!{(B $B$d$j$?$$$3$H(B

       if $B%a%s%P!<0J30$+$i$NEj9F(B
    	Reply-To: From:$B$N%"%I%l%9(B, $B%a!<%j%s%0%j%9%H(B
       else
    	Reply-To: $B%a!<%j%s%0%j%9%H(B

    $B!{(B config.ph$B$N=q$-49$($@$1$G$&$^$/$$$/$N$G$7$g$&$+!)(B

    $BJQ?t$N(Bon/off$B$H$$$&0UL#$J$i(B no $B$G$9!#(B
    HOOK$B$r=q$$$F$$$$$J$i(B yes $B$G$9!#(B

    config.ph $B$OC1$J$k(Bperl$B$N%W%m%0%i%`$G$9!#(Bfml$B$N$"$A$3$A$K$O(B hook $B$r$O$7(B
    $B$i$;$k$3$H$,$G$-$^$9!#J#;($JA`:n$rA4ItJQ?t$K$7$F$$$k$H$-$j$,$J$$$N$G(B
    $B$"$kDxEY0J>e$O(BHOOK$B$G$*$3$J$&$3$H$G!"@_Dj%U%!%$%k$r(Bfml$BK\BN$H$OJ,$1$FJ](B
    $B3.23	$B%5%]!<%HMQ$N#M#L(B

    Q:

    $B$3$N#M#L$G!"Ld$$9g$o$;$X$NJV;v!\%9%?%C%U4V$NO"Mm$G7sMQ(B
    $B$7$F$$$^$9!#(B

    (1) $BC/$G$bEj9F$G$-$k(B($BEj9F$@$1(B)$B!#(B
    (2) $BG[?.$5$l$?%a!<%k$KBP$7$F!"(B
       (A)$B!V#M#L2CF~>N$O%a!<%k%=%U%H$K$h$k$,(B)$B!V$U$D$&$KJV?.!W$G(B (A)$B!"!VA40w$K(B
    $BJV?.!W$G(B (B) $B$,l9g$N%]%$%s%H$O(B HOOK $B$r;H$&$3$H$G$9!#;H$o$:$K=q$/$H(B
          config.ph $B$,I>2A$5$l$k;~$K(B $From_address $B$NCM$,$^$@ITDj$J$N$G$9!#(B

    3.24	$BKhF|(B TAG $B$r%j%;%C%H$7$?$$(B($B0lF|$N(BMail$B?t$,(B $B0lL\$G$bJ,$+$k$h$&$K(B)

    $BNc$($P(B0:00$B$r6-$K(B
       Subject: [elena 00100] $B$NHV9f$r<+F0E*$K(B
       Subject: [elena 00000] $B$K$7$?$$(B

    /var/spool/ml/elena $B0J2<$N(B seq, summary, log, spool $B$J$I$rA4It=i4|$+$7(B
    $B$F$7$^$&$7$+$J$$$G$9!#(B

    $B2rEzNc(B: $B$3$N%W%m%0%i%`(B(shell script)$B$rKhF|Lk(B12$B;~$K$^$o$9(B

       #!/bin/sh

       ml=elena
       date=`date -u +%C%y%m%d`

       /usr/local/fml/makefml lock $ml 60 &

       cd /var/spool/ml/$ml || exit 1

       for file in seq spool summary log
       do
           if [ -f $file ];then
              # mv $file $file.$date
              cp  $file $file.$data
             cp /dev/null $file
           fi
       done

    3.25	$BEj9F$5$l$?5-;v(B Received: $B$r(B X-Received: $B$K(B

    Q: 	$BEj9F$5$l$?5-;v(B Received: $B$r(B X-Received: $B$K(B
    	$B$=$7$F%3%T!<$7$F$=$N85$N(B Received: $B$O>C$9!#(B

    A:

    	&COPY_FIELD('Received', 'X-Received');
    	$SKIP_FIELDS = 'Received|Return-Receipt-To';

    [$B7k2L(B]

     Received: by hikari.fml.org (8.9.3/3.4W6+Hikari-2.1) with ESMTP id XAA17996 for <fukachan@sapporo.iij.ad.jp>; Wed, 6 Oct 1999 23:29:52 +0900 (JST)
     Received: from beth.fml.org (localhost.sapporo.iij.ad.jp [127.0.0.1])
     	by beth.fml.org (Postfix) with ESMTP id 1CE0EA6837
     	for <fukachan@fml.org>; Wed,  6 Oct 1999 23:29:52 +0900 (JST)
     X-Received: by hikari.fml.org (8.9.3/3.4W6+Hikari-2.1) with ESMTP id XAA17981 for <fukachan@sapporo.iij.ad.jp>; Wed, 6 Oct 1999 23:29:30 +0900 (JST)
     X-Received: by beth.fml.org (Postfix)
     	id 465B4A6838; Wed,  6 Oct 1999 23:29:30 +0900 (JST)
     X-Received: by beth.fml.org (Postfix, from userid 1106)
     	id 0DB1EA6837; Wed,  6 Oct 1999 23:29:29 +0900 (JST)
     Date: Wed,  6 Oct 1999 23:29:29 +0900 (JST)
     From: fukachan@fml.org (Ken'ichi Fukamachi)
     Reply-To: elena@fml.org
     To: fukachan@fml.org
     Message-Id: <19991006142929.0DB1EA6837@beth.fml.org>
     X-ML-Name: elena
     X-Mail-Count: 00207
     X-MLServer: fml 2.2; post only (only members can post)
     X-ML-Info: If you have a question, send e-mail with the body
     	"help" (without quotes) to the address elena-ctl@fml.org;
     	help=<mailto:elena-ctl@fml.org?body=help>
     Precedence: bulk
     Lines: 2

     test

     -- fukachan

[PREVIOUS CHAPTER] [NEXT CHAPTER]