summaryrefslogtreecommitdiff
path: root/fml/etc/menu
blob: d441ac1ecd4a08b96d72da18475310e19ac06dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
# ==================================================
/

	_item_ END
	_item_ ARTICLE_POST_POLICY
	_item_ COMMAND_MAIL_POLICY
	_item_ ADMIN_COMMAND_MAIL_POLICY
	_item_ HEADER_REWRITE_POLICY
	_item_ FILTER_POLICY
	_item_ OTHER



# ==================================================

/ARTICLE_POST_POLICY

	_item_ END
	_item_ PERMIT_ANYONE
	_set_  {
		article_post_restrictions =
			permit_anyone
	}

	_item_ PERMIT_ANYONE_WITHOUT_SYSTEM_SPECIAL_ACCOUNTS
	_set_  {
		article_post_restrictions =
			reject_system_special_accounts
			permit_anyone
	}

	_item_ PERMIT_MEMBERS_ONLY
	_set_  {
		article_post_restrictions =
			reject_system_special_accounts
			permit_members_only
			reject
	}

	_item_ REJECT
	_set_  {
		article_post_restrictions = reject
	}


# ==================================================

/COMMAND_MAIL_POLICY

	_item_ END
	_item_ PERMIT_ANYONE
	_set_  {
		command_mail_restrictions =
			permit_anyone
	}

	_item_ PERMIT_ANYONE_WITHOUT_SYSTEM_SPECIAL_ACCOUNTS
	_set_  {
		command_mail_restrictions =
			reject_system_special_accounts
			permit_anyone
	}

	_item_ PERMIT_MEMBERS_ONLY
	_set_  {
		command_mail_restrictions =
			reject_system_special_accounts
			permit_members_only
			reject
	}

	_item_ REJECT
	_set_  {
		command_mail_restrictions = reject
	}


# ==================================================

/ADMIN_COMMAND_MAIL_POLICY

	_item_ END
	_item_ PERMIT_ANYONE
	{
		admin_command_mail_restrictions =
			permit_anyone
	}

	_item_ PERMIT_ANYONE_WITHOUT_SYSTEM_SPECIAL_ACCOUNTS
		(root�ʤɤ����̤ʥ��ɥ쥹�Ͻ���)
	{
		admin_command_mail_restrictions =
			reject_system_special_accounts
			permit_anyone
	}

	_item_ PERMIT_MEMBERS_ONLY
	{
		admin_command_mail_restrictions =
			reject_system_special_accounts
			permit_members_only
			reject
	}

	_item_ REJECT
	{
		admin_command_mail_restrictions = reject
	}


# ======================================================================

/HEADER_REWRITE_POLICY

	_item_ END

	_item_ SUBJECT_TAG_TYPE


/HEADER_REWRITE_POLICY/SUBJECT_TAG_TYPE

	_item_ END

	_item_ NO_SUBJECT_TAG
	_set_ {
		article_header_rewrite_rules -= rewrite_article_subject_tag
	}

	_item_ [$ml_name:00100]
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = [$ml_name:%05d]
	}

	_item_ ($ml_name:00100)
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = ($ml_name:%05d)
	}

	_item_ [$ml_name 00100]
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = [$ml_name %05d]
	}

	_item_ ($ml_name 00100)
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = ($ml_name %05d)
	}

	_item_ [$ml_name,00100]
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = [$ml_name,%05d]
	}

	_item_ ($ml_name,00100)
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = ($ml_name,%05d)
	}

	_item_ ($ml_name)
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = ($ml_name)
	}

	_item_ [$ml_name]
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = [$ml_name]
	}

	_item_ (00100)
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = (%05d)
	}

	_item_ [00100]
	_set_  {
		article_header_rewrite_rules += rewrite_article_subject_tag

		article_subject_tag = [%05d]
	}



.end.


# ======================================================================

/FILTER_POLICY

	_item_ END

	* Filter
	_item_ USE_DISTRIBUTE_FILTER             $SUMMARY{'USE_DISTRIBUTE_FILTER'}
	_item_ FILTER_ATTRRIBUTE                 # filtering options

	* loop
	_item_ CHECK_MAILBODY_CKSUM              $SUMMARY{'CHECK_MAILBODY_CKSUM'}

	* Traffic Monitor
	_item_ USE_MTI                           $SUMMARY{'USE_MTI'}

	* Mail size limit
	_item_ MAX_MAIL_SIZE                     $config{'INCOMING_MAIL_SIZE_LIMIT'}
	_item_ NOTIFY_MAIL_SIZE_OVERFLOW         $SUMMARY{'NOTIFY_MAIL_SIZE_OVERFLOW'}
	_item_ ANNOUNCE_MAIL_SIZE_OVERFLOW       $SUMMARY{'ANNOUNCE_MAIL_SIZE_OVERFLOW'}

	* Other Limits
	_item_ ADDR_CHECK_MAX                    $config{'ADDR_CHECK_MAX'}
	_item_ MAXNUM_COMMAND_INPUT              $config{'MAXNUM_COMMAND_INPUT'}

	* Reject system accounts (e.g. to avoid loop)
	_item_ REJECT_ADDR                       $config{'REJECT_ADDR'}

	* debug
	_item_ USE_LOG_MAIL                      $SUMMARY{'USE_LOG_MAIL'}

#	* Setup (*** You cannot reverse this process in makefml menu ***)
#	  Secureity Recommendation
#	_item_ SECURE_SETUP		

	*** PGP Encrypted ML FOR DISTRIBUTION ***
	_item_ USE_ENCRYPTED_DISTRIBUTION        $config{'USE_ENCRYPTED_DISTRIBUTION'}
	_item_ ENCRYPTED_DISTRIBUTION_TYPE       $config{'USE_ENCRYPTED_DISTRIBUTION'}

=query
	type:	select

/FILTER_POLICY/MORE_SECURE

=menu
	Apply more secure configurations ?
	For example
		input mail size limit
		enable filtering
		enable traffic monitor system
		log all input mails
		disable some commands (e.g. actives, members, ...)

=query
	type:		y-or-n
	menu: apply more secure configuration

=hook
	local($k, $v);
	print STDERR "\n\t -- configure some variables for more security\n\n";
	require 'etc/makefml/secure_config.ph';
	while (($k, $v) = each %SecureConfig) {
	   $config{$k} = $v;
	   print STDERR "\t\$${k} => $v\n";
	}
	sleep 1;
	print STDERR "\n\t -- disable some commands\n";
	print STDERR   "\t    appends the following statements:\n";
	$v = &GetFile('etc/makefml/secure_local_config');
	print STDERR $v;
	$USER_DEFINED_LOCAL_CONFIG .= $v;
	sleep 1;

/FILTER_POLICY/USE_DISTRIBUTE_FILTER

=config
	USE_DISTRIBUTE_FILTER	

=menu
	Filtering for distribute mails.
	For example, rejects the following mails
		no content body
		only  'unsubscribe' word
		invalid Message-Id
		...

	USE_DISTRIBUTE_FILTER	$config{'USE_DISTRIBUTE_FILTER'}

=query
	type:		y-or-n
	menu:		USE ENVELOPE FILTER OR NOT


/FILTER_POLICY/FILTER_ATTRRIBUTE

=name
	FILTERING ATTRIBUTES

=menu
	FILTERING ATTRIBUTES

	_item_ END

	_item_ FILTER_ATTR_REJECT_COMMAND           $SUMMARY{'FILTER_ATTR_REJECT_COMMAND'}

	* reject 2 bytes \"unsubscribe\" commands
	_item_ FILTER_ATTR_REJECT_2BYTES_COMMAND    $SUMMARY{'FILTER_ATTR_REJECT_2BYTES_COMMAND'}

	* tell the sender \"your mail is discarded.\"
	_item_ FILTER_NOTIFY_REJECTION              $SUMMARY{'FILTER_NOTIFY_REJECTION'}

#	_item_ FILTER_ATTR_REJECT_NULL_BODY        $SUMMARY{'FILTER_ATTR_REJECT_NULL_BODY'}
#	_item_ FILTER_ATTR_REJECT_ONE_LINE_BODY    $SUMMARY{'FILTER_ATTR_REJECT_ONE_LINE_BODY'}
#	_item_ FILTER_ATTR_REJECT_INVALID_COMMAND  $SUMMARY{'FILTER_ATTR_REJECT_INVALID_COMMAND'}

	* reject special files with macro (e.g. Melissa familly virus)
	_item_ FILTER_ATTR_REJECT_MS_GUID          $SUMMARY{'FILTER_ATTR_REJECT_MS_GUID'}


=query
	type:	select


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_COMMAND

=config
	FILTER_ATTR_REJECT_COMMAND

=name
	REJECT \"\# command\" SYNTAX

=menu
	Filtering: reject \"\# command \" syntax for distribute mails

	FILTER_ATTR_REJECT_COMMAND $config{'FILTER_ATTR_REJECT_COMMAND'}

=query
	type:		y-or-n
	menu:		REJECT \"\# command\" syntax


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_2BYTES_COMMAND

=config
	FILTER_ATTR_REJECT_2BYTES_COMMAND

=name
	REJECT \"\# 2-bytes command\" SYNTAX (Japanese)

=menu
	Filtering: reject \"\# command \" syntax for distribute mails

	FILTER_ATTR_REJECT_2BYTES_COMMAND $config{'FILTER_ATTR_REJECT_2BYTES_COMMAND'}

=query
	type:		y-or-n
	menu:		REJECT \"\# 2-bytes command\" syntax


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_NOTIFY_REJECTION

=config
	FILTER_NOTIFY_REJECTION

=menu
	notify \"fml filter rejects your mail for some reason\" to the sender.

=query
	type:		y-or-n
	menu:		REJECT \"\# command\" syntax


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_NULL_BODY

=config
	FILTER_ATTR_REJECT_NULL_BODY

=menu
	reject null body (no content body) mail

=query
	type:		y-or-n
	menu:		reject no content mail


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_ONE_LINE_BODY

=config
	FILTER_ATTR_REJECT_ONE_LINE_BODY

=query
	type:		y-or-n
	menu:		reject one line mail


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_INVALID_COMMAND

=config
	FILTER_ATTR_REJECT_INVALID_COMMAND

=query
	type:		y-or-n
	menu:		reject invalid command syntax


/FILTER_POLICY/FILTER_ATTRRIBUTE/FILTER_ATTR_REJECT_MS_GUID

=config
	FILTER_ATTR_REJECT_MS_GUID

=menu
	check and reject special files with Microsoft Macro
	for example, Melissa familly virus (must be too may rejected)

=query
	type:		y-or-n
	menu:		reject special files



/FILTER_POLICY/USE_MTI

=config
	USE_MTI

=menu
	    MTI (Mail Traffic Information)
	--- FML Traffic Monitor System ---

	FML checks the current traffic and automatically
	rejects and add FML's spamlist from bombers.
	
	USE_MTI		$config{'USE_MTI'}

=query
	type:		y-or-n
	menu:		USE MTI, TRAFFIC MONITOR


/FILTER_POLICY/PERMIT_MEMBER_LIST_COMMANDS

=config
	PERMIT_MEMBER_LIST_COMMANDS

=menu
	Permit member/active commands?
	For security we unrecommend it.

	PERMIT_MEMBER_LIST_COMMANDS	$config{'PERMIT_MEMBER_LIST_COMMANDS'}

=query
	type:		y-or-n
	menu:		Permit member/active commans?


/FILTER_POLICY/MAX_MAIL_SIZE

=config
	INCOMING_MAIL_SIZE_LIMIT

=menu
	The maximum of input mail size.
	The current value is $config{'INCOMING_MAIL_SIZE_LIMIT'}.

	_item_ END
	_item_ 0		accept all sizes.
	_item_ 2K
	_item_ 4K
	_item_ 8K
	_item_ 16K
	_item_ 32K
	_item_ 64K
	_item_ 128K
	_item_ 256K
	_item_ 512K
	_item_ 1M
	_item_ 2M
	_item_ 4M

=query
	type:		select

=map
	 1 	 0
	 2 	 2K
	 3 	 4K
	 4 	 8K
	 5 	 16K
	 6 	 32K
	 7 	 64K
	 8 	 128K
	 9 	 256K
	 10 	 512K
	 11 	 1M
	 12 	 2M
	 13 	 4M


/FILTER_POLICY/NOTIFY_MAIL_SIZE_OVERFLOW

=config
	NOTIFY_MAIL_SIZE_OVERFLOW

=menu
	When fml receives a mail size, fml notifies it to the sender
	to avoid further resending.
	The current configuration: notify?     $SUMMARY{'NOTIFY_MAIL_SIZE_OVERFLOW'}

=query
	type: y-or-n


/FILTER_POLICY/ANNOUNCE_MAIL_SIZE_OVERFLOW

=config
	ANNOUNCE_MAIL_SIZE_OVERFLOW

=menu
	When fml receives a mail size, fml announces the received mail
	is too big to the ML (with the received mail header).
	# SARASIMONO? :-)

	The current configuration: ANNOUNCE?     $SUMMARY{'ANNOUNCE_MAIL_SIZE_OVERFLOW'}

=query
	type: y-or-n


/FILTER_POLICY/REJECT_ADDR

=config
	REJECT_ADDR

=menu
	FML rejects addresses which matches \$REJECT_ADDR in default.
	For example, FML rejects mails from MAILER-DAMON.
	If you do not need this function, unset \$REJECT_ADDR
	The current value is

	$config{'REJECT_ADDR'}

	_item_ END
	_item_ reject (reject addresses in \$REJECT_ADDR)
	_item_ accept all accounts

=query
	type:		select

=map
	1	$MANIFEST{'REJECT_ADDR'}
	2	$NULL


/FILTER_POLICY/ADDR_CHECK_MAX

=config
	ADDR_CHECK_MAX

=menu
	FML checks the indentity of From: address as an authentication
	up to \$ADDR_CHECK_MAX (default 3) levels domain.
	If 3, we compare fukachan\@sapporo.iij.ad.jp and
	kfuka\@sapporo.iij.ad.jp in the following order:
	jp, ad.jp, iij.ad.jp
		
	The current \$ADDR_CHECK_MAX is $config{'ADDR_CHECK_MAX'}
	

	_item_ END
	_item_ 1	        aoi\@panic
	_item_ 2	        aoi\@chan.panic
	_item_ 3	        aoi\@c.chan.panic
	_item_ 4	        aoi\@d.c.chan.panic
	_item_ 5	        aoi\@e.d.c.chan.panic
	_item_ 6	        aoi\@f.e.d.c.chan.panic
	_item_ 7	        aoi\@g.f.e.d.c.chan.panic
	_item_ 8	        aoi\@h.g.f.e.d.c.chan.panic
	_item_ 9	        aoi\@i.h.g.f.e.d.c.chan.panic
	_item_ 10	        aoi\@j.i.h.g.f.e.d.c.chan.panic
	_item_ 100	        aoi\@x.y.................................chan.panic

=query
	type:		select

=map
	 1 	 1
	 2 	 2
	 3 	 3
	 4 	 4
	 5 	 5
	 6 	 6
	 7 	 7
	 8 	 8
	 9 	 9
	 10 	 10
	 11 	 100


/FILTER_POLICY/MAXNUM_COMMAND_INPUT

=config
	MAXNUM_COMMAND_INPUT

=menu
	The maximum number of commands in one command mail.
	The variable \$MAXNUM_COMMAND_INPUT controls this.
	The current number is \"$config{'MAXNUM_COMMAND_INPUT'}\".
	0 or NULL implies \"infinite\".

=query	
	type:	number

/FILTER_POLICY/USE_LOG_MAIL

=config
	USE_LOG_MAIL

=menu
	If you set \$USE_LOG_MAIL,
	LOGGING THE LATEST IN-COMING MAILS

	Logs an in-coming mail to \$LOG_MAIL_DIR/\$id
	where (\$id = `cat \$LOG_MAIL_SEQ`; \$id % \$NUM_LOG_MAIL; \$id++).
	Latest \$NUM_LOG_MAIL files are stored in \$LOG_MAIL_DIR
	and each file size is limited up to
	\$LOG_MAIL_FILE_SIZE_MAX bytes to save disk.

	Now \$USE_LOG_MAIL = $SUMMARY{'USE_LOG_MAIL'};
=query
	type: y-or-n


/FILTER_POLICY/USE_ENCRYPTED_DISTRIBUTION

=config
	USE_ENCRYPTED_DISTRIBUTION

=menu
	If you set \$USE_ENCRYPTED_DISTRIBUTION,
	distribution of ML is encrypted. The default is PGP.
	Now \$USE_ENCRYPTED_DISTRIBUTION: $config{'USE_ENCRYPTED_DISTRIBUTION'}

	YOU NEED ANOTHER SETTINGS on PGP. Please see http://www.fml.org/
	or doc/tutorial*/ in the fml package for more details.

=query
	type: y-or-n

/FILTER_POLICY/ENCRYPTED_DISTRIBUTION_TYPE

=config
	ENCRYPTED_DISTRIBUTION_TYPE

=menu
	ENCRYPTED_DISTRIBUTION_TYPE $config{'ENCRYPTED_DISTRIBUTION_TYPE'}
	If not defined, we use pgp2 (PGP versoin 2).

	_item_ END		
	_item_ pgp2	PGP version 2
	_item_ pgp5	PGP versoin 5
	_item_ gpg	GNU Privacy Guard (not yet implemented)

=query
	type:	select

=map
	1	pgp2
	2	pgp5
	3	gpg


/FILTER_POLICY/CHECK_MAILBODY_CKSUM

=config
	CHECK_MAILBODY_CKSUM

=menu
	If you set \$CHECK_MAILBODY_CKSUM
	fml checks article duplication based on MD5 cksum of input article.

=query
	type: y-or-n



======================================================================
###### /OPTION
==================================================


/OPTION

=menu
	OTHER OPTIONAL VARIABLES

	_item_ END		
#	_item_ MIME                          $SUMMARY{'USE_MIME'}
	_item_ HTML_GENERATION               $SUMMARY{'AUTO_HTML_GEN'}
	_item_ SPOOLING                      $SUMMARY{'SPOOLING'}
	_item_ FLOCK                         $SUMMARY{'USE_FLOCK'}
	_item_ SMTP
	_item_ USE_MEMBER_NAME               $SUMMARY{'USE_MEMBER_NAME'}
	_item_ LANGUAGE
	_item_ VARIABLE_OFF_ON               off/on toggle variables

#	-----------------------
#	TURN OVER old/too big files (NewSyslog(8) like)
#	     * to turn over \$DIR/log.
#	_item_ LOGFILE_NEWSYSLOG_LIMIT   $config{'LOGFILE_NEWSYSLOG_LIMIT'} bytes
#
#	     * to turn over too big \$DIR/actives.bak and \$DIR/members.bak.
#	_item_ AMLIST_NEWSYSLOG_LIMIT    $config{'AMLIST_NEWSYSLOG_LIMIT'} bytes

=query
	type:	select


==================================================

/OPTION/HTML_GENERATION

=name
	Create HTML articles

=menu
	Creating HTML articles automatically

	_item_ END		
	_item_ AUTO_HTML_GEN		$config{'AUTO_HTML_GEN'}
	_item_ HTML_THREAD_REF_TYPE   	$config{'HTML_THREAD_REF_TYPE'}
	_item_ HTML_STYLESHEET_BASENAME	$config{'HTML_STYLESHEET_BASENAME'}
	_item_ HTML_INDEX_UNIT		$config{'HTML_INDEX_UNIT'}
	_item_ HTML_INDENT_STYLE		$config{'HTML_INDENT_STYLE'}

	use new module ?
	_item_ USE_NEW_HTML_GEN		$config{'USE_NEW_HTML_GEN'}

=query
	type:	select


/OPTION/HTML_GENERATION/AUTO_HTML_GEN

=name
	Create HTML articles

=config
	AUTO_HTML_GEN

=menu
	Create HTML articles	$config{'AUTO_HTML_GEN'}

=query
	type:		y-or-n
	menu:		AUTOMATIC HTML GENERATION

/OPTION/HTML_GENERATION/USE_NEW_HTML_GEN

=name
	use new HTML generator

=config
	USE_NEW_HTML_GEN

=menu
	use new HTML generator	$config{'AUTO_HTML_GEN'}

=query
	type:		y-or-n
	menu:		AUTOMATIC HTML GENERATION

/OPTION/HTML_GENERATION/HTML_THREAD_REF_TYPE

=name
	thread reference releation type

=config
	HTML_THREAD_REF_TYPE

=menu
	Thread reference releation type: $config{'HTML_THREAD_REF_TYPE'}

	_item_ END		
	_item_ In-Reply-To: and References:
	_item_ In-Reply-To: or the last of References:

=query
	type:	select

=map
	1	default
	2	prefer-in-reply-to

/OPTION/HTML_GENERATION/HTML_STYLESHEET_BASENAME

=name
	USE STYLESHEET ?

=config
	HTML_STYLESHEET_BASENAME

=menu
	You use stylesheet 1.0 (HTML 4.0)?
	If you use it, define stylesheet.
	Sytlesheet: $config{'HTML_STYLESHEET_BASENAME'}

	_item_ END		
	_item_ fml.css (default example)
	_item_ NOT USE HTML 4.0 STYLE SHEET

=query
	type:	select

=map
	1	fml.css
	2	$NULL

/OPTION/HTML_GENERATION/HTML_INDEX_UNIT

=name
	UNIT OF DIRECTORY

=menu
	the unit of htdocs/'sub-directory'/1000.html
	THE PRESENT UNIT is \"$config{'HTML_INDEX_UNIT'}\".
	(default \"$MANIFEST{'HTML_INDEX_UNIT'}\").

	sub-directory is like a
		19980301/	(the directory of 1998/03/01)
	or
		100/		(articles with the number 1-100)	
		200/		(articles with the number 101-200)

	_item_ END
	_item_ TIME_RANGE		e.g. day, week, month
	_item_ NUMBER_OF_ARTICLES	e.g. 100, 1000, ...

=query
	type:	select


/OPTION/HTML_GENERATION/HTML_INDEX_UNIT/TIME_RANGE

=name
	UNIT OF DIRECTORY

=config
	HTML_INDEX_UNIT

=menu
	the unit of htdocs/'sub-directory'/1000.html
	THE PRESENT UNIT is \"$config{'HTML_INDEX_UNIT'}\".


	sub-directory is like a
		19980301/	(the directory of 1998/03/01)
	or
		100/		(articles with the number 1-100)	
		200/		(articles with the number 101-200)

	_item_ END
	_item_ day
	_item_ week
	_item_ month
	_item_ infinite

=query
	type:	select

=map
	1  day
	2  week
	3  month
	4  infinite


/OPTION/HTML_GENERATION/HTML_INDEX_UNIT/NUMBER_OF_ARTICLES

=name
	UNIT OF DIRECTORY

=config
	HTML_INDEX_UNIT

=menu
	the unit of htdocs/'sub-directory'/1000.html
	THE PRESENT UNIT is \"$config{'HTML_INDEX_UNIT'}\".

	sub-directory is like a
		19980301/	(the directory of 1998/03/01)
	or
		100/		(articles with the number 1-100)	
		200/		(articles with the number 101-200)

	PLEASE INPUT THE UNIT (NUMBER), for example
		100
		1000
		...

=query
	type: number
	query: number e.g. 100, 1000



/OPTION/HTML_GENERATION/HTML_INDENT_STYLE

=name
	Thread Style

=config
	HTML_INDENT_STYLE

=menu
	Threading style.
	Indent Style: $config{'HTM_INDENT_STYLE'}

	_item_ END		
	_item_ UL
	_item_ fml 2.2 Release style

=query
	type:	select

=map
	1	UL
	2	$NULL



==================================================

/OPTION/MIME

=config
	USE_MIME

=menu
	USE MIME	$config{'USE_MIME'}

=query
	type:		y-or-n
	menu:		USE MIME

==================================================

/OPTION/SPOOLING

=config
	NOT_USE_SPOOL

=menu
	SPOOLING	$SUMMARY{'SPOOLING'}

=query
	type:		reverse-y-or-n
	menu:		Do you spool ML articles?


==================================================
/OPTION/FLOCK

=config
	USE_FLOCK

=menu
	USE FLOCK	$config{'USE_FLOCK'}

=query
	type:		y-or-n
	menu:		USE FLOCK

==================================================
/OPTION/USE_MEMBER_NAME

=config
	USE_MEMBER_NAME

=menu
	USE MEMBER_NAME		$config{'USE_MEMBER_NAME'}

=query
	type:		y-or-n
	menu:		USE USE_MEMBER_NAME

==================================================
/OPTION/LOGFILE_NEWSYSLOG_LIMIT

=config
	LOGFILE_NEWSYSLOG_LIMIT

=menu
	Threshold file size whether fml should turn over too big log file.
	\$LOGFILE_NEWSYSLOG_LIMIT   $config{'LOGFILE_NEWSYSLOG_LIMIT'} bytes.
	IF 0, disables this function.


=query
	type: number

==================================================
/OPTION/AMLIST_NEWSYSLOG_LIMIT

=config
	AMLIST_NEWSYSLOG_LIMIT

=menu
	Threshold file size whether fml should turn over too big log file.
	\$AMLIST_NEWSYSLOG_LIMIT   $config{'AMLIST_NEWSYSLOG_LIMIT'} bytes.
	IF 0, disables this function.

=query
	type: number


==================================================
/OPTION/SMTP

=name
	SMTP (Simple Mail Transfer Protocol) options

=menu
	SMTP (Simple Mail Transfer Protocol) options

	_item_ END		
	_item_ USE_OUTGOING_ADDRESS	$SUMMARY{'USE_OUTGOING_ADDRESS'}
	_item_ USE_VERP			$SUMMARY{'USE_VERP'}
	_item_ USE_SMTPFEED_F_OPTION	$SUMMARY{'USE_SMTPFEED_F_OPTION'}

=query
	type:	select


/OPTION/SMTP/USE_OUTGOING_ADDRESS

=name
	USE_OUTGOING_ADDRESS

=config
	USE_OUTGOING_ADDRESS

=menu
	USE_OUTGOING_ADDRESS	$config{'USE_OUTGOING_ADDRESS'}

	When you have less memory and less cpu machine, it may be useful
	to shorten running perl life time.

	If \$USE_OUTGOING_ADDRESS is defined, fml sends article to
	only one address
		<$config{'_ML_'}-outgoing\@$config{'DOMAINNAME'}>.
	MTA expands $config{'_ML_'}-outgoing and deliver the article.

	[CAUTION]
	YOU SHOULD PROTECT $config{'_ML_'}-outgoing FROM e.g. SPAMMERS.

	Please run 'make outgoing' and see generated 'include-outgoing'.
	Also don't forget to add list-outgoing entry to /etc/aliases.

=query
	type:	y-or-n


/OPTION/SMTP/USE_VERP

=name
	USE_VERP

=config
	USE_VERP

=menu
	USE_VERP	$config{'USE_VERP'}

	If \$USE_VERP is defined, use VERPs
	See qmail documents for more details on VERPs.

=query
	type:	y-or-n


/OPTION/SMTP/USE_SMTPFEED_F_OPTION

=name
	USE_SMTPFEED_F_OPTION

=config
	USE_SMTPFEED_F_OPTION

=menu
	USE_SMTPFEED_F_OPTION	$config{'USE_SMTPFEED_F_OPTION'}

	If you use smtpfeed -1 -F,  set \$USE_SMTPFEED_F_OPTION on.
	fml passes X-smtpfeed: 1 to sendmail once 100 articles.

=query
	type:	y-or-n


/OPTION/LANGUAGE

=name

=menu
	Language Configurations

	_item_ END		
	_item_ LANGUAGE
	_item_ MESSAGE_LANGUAGE

=query
	type:	select


/OPTION/LANGUAGE/LANGUAGE

=name
	LANGUAGE

=config
	LANGUAGE

=menu
	Use the specified language's files when copying several
	template message files (ex. help).

	The current language is $config{'LANGUAGE'}.

	*** Run 'make fml create-doc-template' after changed ***

	_item_ END		
	_item_ Japanese
	_item_ English

=query
	type:	select

=map
	1	Japanese
	2	English


/OPTION/LANGUAGE/MESSAGE_LANGUAGE

=name
	MESSAGE_LANGUAGE

=config
	MESSAGE_LANGUAGE

=menu
	Translate message logged by &Mesg() into language \$MESSAGE_LANGUAGE
	The current language is $config{'MESSAGE_LANGUAGE'}.

	_item_ END		
	_item_ Japanese
	_item_ English	(in fact dummy to do nothing)

=query
	type:	select

=map
	1	Japanese
	2	English