File: default_config.ph

package info (click to toggle)
fml 4.0.3.dfsg-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,528 kB
  • ctags: 5
  • sloc: perl: 711; sh: 95; makefile: 88
file content (1412 lines) | stat: -rw-r--r-- 47,120 bytes parent folder | download
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
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
# -*-Perl-*-
#
# FML Configuration File
#
# Copyright (C) 1993-2000 Ken'ichi Fukamachi
#          All rights reserved. 
#               1993-1996 fukachan@phys.titech.ac.jp
#               1996-2000 fukachan@sapporo.iij.ad.jp
# 
# FML is free software; you can redistribute it and/or modify
# it under the terms of GNU General Public License.
# See the file COPYING for more details.
#
# Section Index (cf/MANIFEST 1.76)
#   Fundamental Configuration (CF Version, debug, Language) 
#   Mailing List Policy (for Post, Commands), Maintainer 
#   Directory  
#   Manual Registration 
#   Automatic Registration 
#   Confirmd 
#   Remote Administration 
#   Moderations; moderators check posted articles 
#   Security 
#   Header Customization 
#   Commands, Command Traps, File Operations (e.g. mget) 
#   Digest/Matome Okuri Configurations 
#   Other Files for Configurations and Logs 
#   SMTP and Delivery 
#   MISC 
#   Expire and Archive  
#   Library Commands  
#   Html Configurations 
#   Interface to DataBase Management System 
#   Interface to other Services (http,ftp,gopher,www) 
#   Architecture Dependence 





#####################################################################
# ### Section: Fundamental Configuration (CF Version, debug, Language) ### 
# config.ph configuration version
# define 5.0 for fml 3.0.
# define 6.0 for fml 3.0 + fukui-newconfig.
$CFVersion                     = "6.1";

# global debug option. if non-nil, debug mode.
# In debug mode, fml does not distribute posted articles.
# value: 1/0
$debug                         = 0;

# fml 3.0 generates template files, $DIR/{help,welcome} in $LANGUAGE
# in "makefml newml". You define this variable in installation.
# The value is controlled by /usr/local/fml/.fml/system.
# value: Japanese/English
$LANGUAGE                      = "English";

# Error message language fml returns.
# If $MESSAGE_LANGUAGE is not defined, fml 3.0 uses $LANGUAGE.
# &Mesg() tries to translate the given message to this language.
# value: Japanese/English
$MESSAGE_LANGUAGE              = "English";

# ## Sub Section: DNS ##
# fml automatically set up DNS for this host, but check it again by yourself.
#
#    DOMAINNAME the domain name              e.g. fml.org
#    FQDN       Fully Qualified Domain Name  e.g. beth.fml.org
#
# value: string
#$DOMAINNAME                    = "installer.fml.org";
#$FQDN                          = "beth.installer.fml.org";

#####################################################################
# ### Section: Mailing List Policy (for Post, Commands), Maintainer ###
#
# $MAIL_LIST is the address for post. For example 'elena@fml.org'.
#
# $PERMIT_POST_FROM is one of "anyone", "members_only" and "moderator".
# It defines who can post to this ML. 
# When post from not a member is rejected,
# fml calls $REJECT_POST_HANDLER.
# $REJECT_POST_HANDLER is one of "reject", "auto_subscribe" and "ignore".
#    HISTORY: you can use "auto_regist" used in fml 2.x.
#
# value: string
$MAIL_LIST                     = "";
$PERMIT_POST_FROM              = "members_only";
$REJECT_POST_HANDLER           = "reject";

# $CONTROL_ADDRESS is the address you send a command request to.
#    For example 'elena-ctl@fml.org'.
#
# $PERMIT_COMMAND_FROM is one of "anyone", "members_only" and "moderator".
# It defines who can post to this ML. 
# When command request from not a member is rejected,
# fml calls $REJECT_COMMAND_HANDLER.
#
# $REJECT_COMMAND_HANDLER is one of "reject", "auto_subscribe" and "ignore".
#   HISTORY: you can use "auto_regist" used in fml 2.x.
#
# Typical Configuration is
#
# (default)
#    $PERMIT_COMMAND_FROM    = "members_only";
#    $REJECT_COMMAND_HANDLER = "reject";
#
# (automatic subscribe: fml automatically handles subscribe request)
#    $PERMIT_COMMAND_FROM    = "members_only";
#    $REJECT_COMMAND_HANDLER = "auto_subscribe";
#
# value: string
$CONTROL_ADDRESS               = "";
$PERMIT_COMMAND_FROM           = "members_only";
$REJECT_COMMAND_HANDLER        = "reject";

# obsolete (though you can use it)
# When $MAIL_LIST_ACCEPT_COMMAND = 1, 
# both $MAIL_LIST and $CONTROL_ADDRESS accept commands
# which format is "# command".
# value: 1/0
$MAIL_LIST_ACCEPT_COMMAND      = "";

# ## Sub Section: Maintainer ##
# mailing list maintainer/administrator address e.g. 'elena-admin@fml.org'.
# $MAINTAINER != $MAIL_LIST IS REQUIRED AGAINST MAIL LOOP!
# value: string
$MAINTAINER                    = "";
$MAINTAINER_SIGNATURE          = "";

# ## Sub Section: ML_FN ##
# obsolete
#
# You can enforce To: field of posted article by rewriting it.
#   To: $MAIL_LIST $ML_FN => To: Elena@fml.org (Elena Lolabrigita ML)
#
# value: string
#$ML_FN                         = "(Elena Lolabrigita ML)";

#####################################################################
# ### Section: Directory  ###
# $*DIR variable is relative under $DIR (defined in fml initialization phase).
# $FP*DIR is fully pathed directory name for each $*DIR variable.
# article spool
# value: directory string
$SPOOL_DIR                     = "spool";

# tmp, after chdir, under DIR
# value: directory string
$TMP_DIR                       = "tmp";

# multi-purpose log, temporary, transient, and spool files (4.4BSD style)
# $LOGFILE and $SPOOL_DIR is exceptional but others is under var/.
# value: directory string
$VAR_DIR                       = "var";
$VARLOG_DIR                    = "var/log";
$VARRUN_DIR                    = "var/run";
$VARDB_DIR                     = "var/db";

#####################################################################
# ### Section: Manual Registration ###
#
# Term "Manual Registration" may be ambiguous but it implies
# ML maintainer needs to do some action to add a new member.
# When the maintainer receives subscribe request, he/she 
#    1. remote login to the fml host and edit actives/members
#    2. remote login to the fml host and run "makefml add ML address"
#    3. send a command to add an address e.g. "admin add address".
#       You need to enable remote administration function to do it.
#       See "remote administration" section for more details.
#
# On contrary, "automatic registration" is fml does everything 
# to add a new member except for some error cases.
#
# only support 'confirmation' or 'forward_to_admin'
# In "confirmation", fml confirms the subscribe request is valid to
# avoid a tricky attack. 
# If "forward_to_admin" is selected, subscribe request is forwarded
# to $MAINTAINER without further check.
#
# value: confirmation/forward_to_admin
$MANUAL_REGISTRATION_TYPE      = "confirmation";

# value: directory string
$MANUAL_REGISTRATION_CONFIRMATION_FILE = "$DIR/confirm.msub";

#####################################################################
# ### Section: Automatic Registration ###
#
# When REJECT_{POST,COMMAND}_HANDLER is "auto_subscribe" or
# "auto_regist", fml does everything to add a new member except for some
# error cases. The subscription request type is as follows.
# 
# value: confirmation/subject/body/no-keyword
$AUTO_REGISTRATION_TYPE        = "confirmation";

# keyword of subscribe request
# $REQUIRE_SUBSCRIBE (CFVersion 2) => $AUTO_REGISTRATION_KEYWORD
# value: string
$AUTO_REGISTRATION_KEYWORD     = "subscribe";

# when automatic registration,
# we apply $AUTO_REGISTRATION_DEFAULT_MODE e.g. "m=3mp s=1" to the address.
# Please see "file operation" in doc/tutorial for more details.
# value: string
$AUTO_REGISTRATION_DEFAULT_MODE = "";

# "confirmation" (default) mode configurations
# please see doc/tutorial for the detail of "confirmation"
# value: string 
$CONFIRMATION_ADDRESS          = "";
$CONFIRMATION_SUBSCRIBE        = "subscribe";
$CONFIRMATION_KEYWORD          = "confirm";
$CONFIRMATION_WELCOME_STATEMENT = "";

# file to send back "what is confirmation?" with "confirmation request"
# reply mail in "confirmation" mode.
# value: filename string 
$CONFIRMATION_FILE             = "$DIR/confirm";

# Expire of request queue. The unit is "hour". (default, 168 == 7*24)
# value: number
$CONFIRMATION_EXPIRE           = 168;

# confirmation request queue (you should not manually edit it)
# value: filename string
$CONFIRMATION_LIST             = "";

# In fact, obsolete.
# default keyword for trap
# value: string
$DEFAULT_SUBSCRIBE             = "subscribe";

# In adding a new member, fml sends $WELCOME_FILE to him/her.
# ML maintainer should set up this file as a guide of mailing list.
# This function works in automatic registration.
# value: filename string
$WELCOME_FILE                  = "$DIR/welcome";

# subject of mail ($WELCOME_FILE) sent to a new member 
# value: string
$WELCOME_STATEMENT             = "Welcome to our $ML_FN\n         You are added automatically";

# Enforce file to add a new member address for some purposes.
# In default fml adds it to both $ACTIVE_LIST and $MEMBER_LIST.
# value: filename string
$FILE_TO_REGIST                = "";

# obsolete in fact.
#
# In default if body lines > $AUTO_REGISTRATION_LINES_LIMIT, 
# we forward this mail to $MAIL_LIST. If $AUTO_REGISTERED_UNDELIVER_P is set, 
# we ALWAYS DO NOT Forward it to $MAIL_LIST.
# value: 1/0
$AUTO_REGISTERED_UNDELIVER_P   = 1;
$AUTO_REGISTRATION_LINES_LIMIT = 0;

#####################################################################
# ### Section: Confirmd ###
# confirmd
# value: filename string
$CONFIRMD_ACK_REQ_FILE         = "$DIR/confirmd.ackreq";
$CONFIRMD_ACK_LOGFILE          = "$VARLOG_DIR/confirmd.ack";

# value: number / ( number + month/week/day )
$CONFIRMD_ACK_EXPIRE_UNIT      = "1month";
$CONFIRMD_ACK_WAIT_UNIT        = "2weeks";

#####################################################################
# ### Section: Remote Administration ###
#
# For security, I do not recommend you use remote control of fml.
# If $REMOTE_ADMINISTRATION is set, you can control FML by sending
# a command mail from remote host.
# Another choice from remote host is CGI interface but fml 3.0 does not
# provide it. CGI development is underway.
#
# value: 1/0
$REMOTE_ADMINISTRATION         = 0;

# Of course, the remote control requires some kind of authentication.
# The choice of authentication is $REMOTE_ADMINISTRATION_AUTH_TYPE,
# which is one of 
#    address		From: field
#    crypt		From: field + password (e.g. "#admin pass PASSWORD")
#    md5		From: field + password (e.g. "#admin pass PASSWORD")
#    pgp                PGP(Pretty Good Privacy) signature 
#
# The difference of "crypt" and "md5" is $PASSWD_FILE format.
# HISTORY: $REMOTE_ADMINISTRATION_REQUIRE_PASSWORD <=> "crypt"
#
# value: crypt/address/md5/pgp/pgp2/pgp5/gpgp
$REMOTE_ADMINISTRATION_AUTH_TYPE = "crypt";

# address list of members who can send a command mail from remote
# value: filename string
$ADMIN_MEMBER_LIST             = "$DIR/members-admin";

# help file of admin commands
# value: filename string
$ADMIN_HELP_FILE               = "$DIR/help-admin";

# password file to authenticate members
# The format is "address encrypted-password" and uses one line for one address.
# value: filename string
$PASSWD_FILE                   = "$DIR/etc/passwd";

# "admin add" to add an address to a member list. If it succeeds, fml
# sends back $WELCOME_FILE if this variable is defined. In default fml 
# does not do it, so the maintainer needs to send the success of subscribe
# and guide to the new member.
# value: 1/0
$ADMIN_ADD_SEND_WELCOME_FILE   = 0;

# N, the number of lines, of "tail -N $LOGFILE".
# "admin log" is "tail -100 log" in default to avoid too big mail.
# value: number
$ADMIN_LOG_DEFAULT_LINE_LIMIT  = 100;

# PGP directory path (obsolete in fml 4.0)
# value: filename string 
$PGP_PATH                      = "$DIR/etc/pgp";

# If you enforce the following *KEYRING_DIR in $CFVersion < 6.1,
# set this variable on.
# value: 1/0
$USE_FML40_PGP_PATH            = 1;

# fml 4.0
# value: directory string
$DIST_AUTH_KEYRING_DIR         = "$DIR/etc/dist-auth";
$DIST_ENCRYPT_KEYRING_DIR      = "$DIR/etc/dist-encrypt";
$ADMIN_AUTH_KEYRING_DIR        = "$DIR/etc/admin-auth";
$ADMIN_ENCRYPT_KEYRING_DIR     = "$DIR/etc/admin-encrypt";

#####################################################################
# ### Section: Moderations; moderators check posted articles ###
# "moderator" certification type
# value: 1/2/3
$MODERATOR_FORWARD_TYPE        = 2;

# member list who receives submitted article. 
# If this file does not exist, it is forwarded to only $MAINTAINER.
# A moderator who certificate submitted articles and permit the post
# to mailing list.
#
# fml does not check moderator's addresses. fml check only "moderators
# knows passwords or identifiers (one time password)".
#
# value: filename string 
$MODERATOR_MEMBER_LIST         = "$DIR/moderators";

# expire old submitted but not certified articles 
# default: 2 weeks
# value: number
$MODERATOR_EXPIRE_LIMIT        = 14;

#####################################################################
# ### Section: Security ###
# We reject $REJECT_ADDR@ARBITRARY.DOM.AIN since these are clearly NOT
# individuals. It also may be effective to avoid mail loop since 
# some error or automatic reply comes from not individual addresses.
# This restriction is stronger than $PERMIT_*_FROM variable.
# For example, if $PERMIT_POST_FROM is "anyone", fml does not permit
# post from root@some.domain. If you permit it, please define $REJECT_ADDR.
#
# XXX This variable name is ambiguous. It should be $REJECT_ACCOUNT?
#
# value: regexp string
$REJECT_ADDR                   = "root|postmaster|MAILER-DAEMON|msgs|nobody|news|majordomo|listserv|listproc|\S+\-help|\S+\-subscribe|\S+\-unsubscribe";

# list of addresses fml should reject. fml checks From: field for this but
# it may be ineffective since SMTP has no general authentication method.
# value: filename string
$REJECT_ADDR_LIST              = "$DIR/spamlist";

# check UNIX from to avoid mail loop. check in default.
# value: 1/0
$NOT_USE_UNIX_FROM_LOOP_CHECK  = 0;

# check Message-Id: duplication to avoid mail loop
# value: 1/0
$CHECK_MESSAGE_ID              = 1;

# check mail body content md5 checksum to avoid mail loop
# do not check it in default. 
# value: 1/0
$CHECK_MAILBODY_CKSUM          = 0;

# obsolete today
# Logs the getpeername()
# value: 1/0
$LOG_CONNECTION                = 0;

# address check levels, which level is the tree depth from the root.
# For example
#    fukachan@phys.titech.ac.jp
#    fukachan@axion.phys.titech.ac.jp
#
# fml checks $ADDR_CHECK_MAX level from the name space root. That is
# compare "jp" -> compare "ac" -> titech -> phys -> axion ...
#
# When $ADDR_CHECK_MAX = 3, fml regards these two are the same.
# When $ADDR_CHECK_MAX = 4, fml regards these two are the same.
# When $ADDR_CHECK_MAX = 5, fml regards these two are DIFFERENT!
#
# value: number
$ADDR_CHECK_MAX                = 3;

# fml reject too big mail.
# In-coming mail size > $INCOMING_MAIL_SIZE_LIMIT, fml discards it
# and send a warning only to the maintainer.
# 0 (default) implies infinite (no limit)
# value: number
$INCOMING_MAIL_SIZE_LIMIT      = "";

# When fml reject too big mail, 
# if $NOTIFY_MAIL_SIZE_OVERFLOW is set, notify the rejection to the sender.
# value: 1/0
$NOTIFY_MAIL_SIZE_OVERFLOW     = 1;

# When fml reject too big mail, 
# if $ANNOUNCE_MAIL_SIZE_OVERFLOW is set, announce "too big mail from someone"
# to mailing list (SARASHIMONO:-).
# value: 1/0
$ANNOUNCE_MAIL_SIZE_OVERFLOW   = 0;

# Resource Limit (useful for ISP ?): (default 0 == not check this limit)
# the maximum of ML delivery members when auto registration routine works.
#
# If member > $MAX_MEMBER_LIMIT, auto registration rejects the request. 
# We check actives to permit aliases of post-able addresses. 
# We check @ACTIVE_LIST effective members, not @MEMBER_LIST.
# value: number
$MAX_MEMBER_LIMIT              = "";

# Filter of posted article.
# &EnvelopeFilter is called in the top of &Distribute if you set
# $USE_DISTRIBUTE_FILTER = 1;
# value: 1/0
$USE_DISTRIBUTE_FILTER         = "";

# Filter of posted article.
# You can use $DISTRIBUTE_FILTER_HOOK for advanced customizes.
# value: string
$DISTRIBUTE_FILTER_HOOK        = "";

# $FILTER_NOTIFY_REJECTION enables fml.pl notifies the rejection to
# the sender.
# value: 1/0
$FILTER_NOTIFY_REJECTION       = "";

# Attribute of filter of posted article
# value: 1/0
$FILTER_ATTR_REJECT_NULL_BODY  = 1;

# Attribute of filter of posted article
# When $FILTER_ATTR_REJECT_COMMAND is 1 under distribution mode, 
# rejects "# command" syntax just before distribution (&Distribute;)
# value: 1/0
$FILTER_ATTR_REJECT_COMMAND    = "";

# Attribute of filter of posted article
# reject Japanese "2byes English words"
# value: 1/0
$FILTER_ATTR_REJECT_2BYTES_COMMAND = "";

# Attribute of filter of posted article
# reject command mail sent to the address for posting.
# value: 1/0
$FILTER_ATTR_REJECT_INVALID_COMMAND = 1;

# Attribute of filter of posted article
# reject a mail with "one line" mail body (must be invalid command mail)
# one line means the input mail has one line in the first paragraph
# except for signature (last paragraph).
# Even if it has one line, the paragraph ends with period '.'
# it must be an effective paragraph. So we should not reject it.
# value: 1/0
$FILTER_ATTR_REJECT_ONE_LINE_BODY = 1;

# Attribute of filter of posted article
# reject MIME/multipart mails with Microsoft GUID within it, 
# We intend to reject "Melissa virus" family by it.
# value: 1/0
$FILTER_ATTR_REJECT_MS_GUID    = 1;

# try to convert Japanese HANKAKU chars in the mail body to ZENAKKU
# value: 1/0
$USE_HANKAKU_CONVERTER         = 0;

# reject HTML mails that the same content exist in the form of both
# plain and html. e.g. some versions of M$ outlook, netscape mail
# "AGAINST_HTML_MAIL: 1/0" is old style, which works for compatibility though.
# NULL (default) is "pass through a html mail".
# value: "strip" / "reject" / ""
$HTML_MAIL_DEFAULT_HANDLER     = "";

# Traffic Monitoring Mechanism within fml
# Mail Traffic Information: internal traffic monitor
# value: 1/0
$USE_MTI                       = "";

# MIT warning (mail bomb report) negative cache interval
# to avoid mail bomb of "mail bomb attack report" itself.
# value: number
$MTI_WARN_INTERVAL             = 3600;

$MTI_WARN_LASTLOG              = ""; # value: filename string 


# Optional. If UNSUBSCRIBE_AUTH_TYPE is 'confirmation', fml sends back
# confirmation against a fake. In default, FML does not do confirmation.
# available type is "confirmation" only.
# value: confirmation
$UNSUBSCRIBE_AUTH_TYPE         = "";

# chaddr checks confirmation (not implemented)
# value: confirmation / ""
$CHADDR_AUTH_TYPE              = "";

# LOGGING THE LATEST IN-COMING MAILS
# Logs an in-coming mail to $LOG_MAIL_DIR/$id 
# where ($id = `cat $LOG_MAIL_SEQ`; $id = $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.
# value: 1/0
$USE_LOG_MAIL                  = 0;

$LOG_MAIL_DIR                  = "$VAR_DIR/Mail"; # value: filename string

$LOG_MAIL_SEQ                  = "$LOG_MAIL_DIR/.seq";

$NUM_LOG_MAIL                  = 100; # value: number

$LOG_MAIL_FILE_SIZE_MAX        = 2048;

# PGP Encrypted ML
# value: 1/0
$USE_ENCRYPTED_DISTRIBUTION    = "";

$ENCRYPTED_DISTRIBUTION_TYPE   = "pgp2"; # value: pgp / pgp2 / pgp5 / gpgp


# obosolete in fml 4.0
# value: 2/5/6
# PGP_VERSION:	2
#####################################################################
# ### Section: Header Customization ###
# In general, you can control fields in header in the following:
#
#   @HdrFieldsOrder 				 Fields Order In Header
#					 	 
#   &DEFINE_FIELD_ORIGINAL('field');             Conserve Original
#   &DEFINE_FIELD_FORCED('field', "contents");   Overwrite
#
# In default, we discard fields not shown in @HdrFieldsOrder.
# Date: definition ("makefml config" can control this)
# 1 original-date			Date:
# * Date: == when distribute() works
# 2 distribute-date+posted		Date: + Posted:
# 3 distribute-date+x-posted		Date: + X-Posted:
# 4 distribute-date+x-original-date	Date: + X-Original-Date:
# * Date: == when fml.pl receives or is kicked off.
# 5 received-date+posted		Date: + Posted:
# 6 received-date+x-posted		Date: + X-Posted:
# 7 received-date+x-original-date	Date: + X-Original-Date:
# value: original-date/distribute-date+posted/distribute-date+x-posted
#	 /distribute-date+x-original-date/received-date+posted
#	 /received-date+x-posted/received-date+x-original-date
$DATE_TYPE                     = "original-date";

# In article header, fml adds following header fields.
#
#   $XMLNAME
#   $XMLCOUNT: sequence-number
#
#   e.g.
#   X-ML-Name: Elena
#   X-Mail-Count: 00007
#
# value: string
# $XMLNAME                       = "X-ML-Name: Elena";
$XMLCOUNT                      = "X-Mail-Count";

# In default subject tag does not exist to show more and more effective
# subject and body. Client Interface SHOULD CONTROL subject descriptions.
#
# The available type is [:] [,] [ ] (:) (,) ( ).
# e.g. [:]  => [Elena:00100] format (here $BRACKET is "Elena").
# But you can customize SUBJECT_FREE_* series variables.
# Please see doc/tutorial for the detail
#
# value:  (:) / [:] / () / [] / (,) / [,] / () / [] / (ID) / [ID] / ""
$SUBJECT_TAG_TYPE              = "";

# BRACKET of "Subject: [BRACKET:ID] ..." form
# value: string
# $BRACKET                       = "Elena";

# obsolete
# We strip off e.g. [ML:fukachan] form in Subject
# but this operations depends on special forms, so not functional.
# You do not expect a lot on this option.
$STRIP_BRACKETS                = 0;

# You can customize your own bracket by these variables.
# See doc/tutorial and libtagdef.pl on examples.
# value: regexp string
$BRACKET_SEPARATOR             = "";
$SUBJECT_FREE_FORM             = "";
$SUBJECT_FREE_FORM_REGEXP      = "";
$SUBJECT_FORM_LONG_ID          = "";

# obsolete based on RFC1123
# value: 1/0
$USE_ERRORS_TO                 = "";

# obsolete based on RFC1123
# value: string
$ERRORS_TO                     = "";

# Message-Id: use original Message-Id or Server Defined Message-Id ?
# if 1, original and 
# if 0, fml generates a message-id like $day.FMLAAA.$pid.$MAIL_LIST
# value: 1/0
$USE_ORIGINAL_MESSAGE_ID       = 1;

# Precedence: field; 
# value: string
$PRECEDENCE                    = "bulk";

# append STARTREK stardate :-) in article. 
# Stardate calculation algorithm is ambiguous.
# X-Stardate: field
# value: 1/0
$APPEND_STARDATE               = "";

# RFC2369 e.g. list-post: ..
# value: 1/0
$USE_RFC2369                   = 1;

# obsolete in fml 3.0
# We should force "To: $MAIL_LIST" form "For Eye" or NOT?
# default is "NO".
#
# 0 Pass the original field To: 
# 1 We rewrite "To: $MAIL_LIST, original-to-fields".
# 2 Force "To: $MAIL_LIST".
# 
# REWRITE_TO = 1 if NOT_REWRITE_TO == 0 (2.1 Release)
# value: 0/1/2
$REWRITE_TO                    = "";

# Default values if no value (no field) is given.
# value: string
$Subject                       = "";
# $From_address                  = "not.found";
# $User                          = "not.found";
# $Date                          = "not.found";

# TIME ZONE;  +0900 is RFC822 syntax (I like JST but ... ;-)
# value: +\d{4} / -\d{4} 
# $TZone                         = "+0900";

# ## Sub Section: Pass All Header ? ##
# In some cases you need to pass only defined fields of the header
# which is defined in @HdrFieldsOrder (see "sub SetDefaults" in fml.pl).
# All files except $SKIP_FIELDS is passed through 
# when $PASS_ALL_FIELDS_IN_HEADER is set. 
# The old variable name is $SUPERFLUOUS_HEADERS.
# value: 1/0
$PASS_ALL_FIELDS_IN_HEADER     = 1;

# ignore header field irrespective of @HdrFieldsOrder and
# $PASS_ALL_FIELDS_IN_HEADER setting
# value: regexp string
$SKIP_FIELDS                   = "Return-Receipt-To";

#####################################################################
# ### Section: Commands, Command Traps, File Operations (e.g. mget) ###
# obsolete
# COMMAND format is "#help" == "# help" if $COMMAND_SYNTAX_EXTENSION is set.
# value: 1/0
$COMMAND_SYNTAX_EXTENSION      = 1;

# "Subject: # commands" is available?
# value: 1/0
$USE_SUBJECT_AS_COMMANDS       = 0;

# obsolete
# If NOT "# command" syntax commands is given, ignore or warn to the user?
# Our default is not, since most such cases are "signature".
# value: 1/0
$USE_WARNING                   = 0;

# obsolete: since this is the same as --ctladdr.
# value: 1/0
$COMMAND_ONLY_SERVER           = 0;

# **ATTENTION**
# $PROHIBIT_COMMAND_FOR_STRANGER is obsoletes since 
# $PROHIBIT_COMMAND_FOR_STRANGER equals $PERMIT_COMMAND_FROM = "anyone";
# ## Sub Section: traps ##
# obsolete
# when $MAIL_LIST == $CONTROL_ADDRESS, 
# the first $COMMAND_CHECK_LIMIT lines is checked for commands mail or not?
# $GUIDE_CHECK_LIMIT is the same kind of variable but for "# guide" trap.
# $GUIDE_KEYWORD determines "guide" of "$ guide" trap.
# value: number
$COMMAND_CHECK_LIMIT           = 3;

# obsolete
# value: number
$GUIDE_CHECK_LIMIT             = 3;

# obsolete
# value: string
$GUIDE_KEYWORD                 = "guide";

# The maximum length for each command. 128 bytes by default.
# value: number
$MAXLEN_COMMAND_INPUT          = 128;

# The maximum number of commands in one command mail.
# The variable \$MAXNUM_COMMAND_INPUT controls this.
# If the value is 3, fml permits 3 commands in one command mail.
# 0 or NULL implies infinite (default). 
# value: number
$MAXNUM_COMMAND_INPUT          = "";

# "# chaddr" command name aliases
# value: regexp string
$CHADDR_KEYWORD                = "chaddr|change\-address|change";

# ## Sub Section: mget ##
# The default mode of "mget" without mode (default is "tar.gz" form).
# $MGET_TEXT_MODE_DEFAULT is used by &SendFileBySplit
# value: mode string
$MGET_MODE_DEFAULT             = "";
$MGET_TEXT_MODE_DEFAULT        = "";

# The reply for "mget" commands sends long reply mails as splitten mails
# by the unit $MAIL_LENGTH_LIMIT lines once at $SLEEPTIME secs..
# value: number
$MAIL_LENGTH_LIMIT             = 1000;
$SLEEPTIME                     = 60;

# almost obsolete
# special case of "mget" routine uses these variables. 
# It is not user defined variable.
# See doc/tutorial and libfop.pl for the detail. You change MIME/Multipart default.
# value: string
$MIME_VERSION                  = "";
$MIME_CONTENT_TYPE             = "";
$MIME_MULTIPART_BOUNDARY       = "";
$MIME_MULTIPART_CLOSE_DELIMITER = "";
$MIME_MULTIPART_DELIMITER      = "";
$MIME_MULTIPART_PREAMBLE       = "";
$MIME_MULTIPART_TRAILER        = "";

# Japanese specific
# sjis conversion in "mget ish" mode.
# value: 1/0
$USE_SJIS_IN_ISH               = "";

# RFC1153 configurations; see doc/tutorial for the detail
# value: number
$RFC1153_ISSUE                 = "";

$RFC1153_VOL                   = ""; # value: number / string


$RFC1153_SEQUENCE_FILE         = ""; # value: filename string


# ## Sub Section: MTA specific ##
# qmail specific extension
# To send "get 1" to ml-ctl@domain is equivalent to that
# send anything to ml-get-1@domain if this variable is defined.
# value: 1/0
$USE_DOT_QMAIL_EXT             = 0;

# ## Sub Section: Headers of reply from FML ##
# obsolete
# For the reply for commands from fml,
# we force Reply-To: $FORCE_COMMAND_REPLY_TO ?(default is $CONTROL_ADDRESS)
# value: string
$FORCE_COMMAND_REPLY_TO        = "";

# Subject template in "mget" reply. 
# automatic substitute is done before send the reply; For example, 
# Subject: result for mget [last:3 tar + gzip] (1/1) (Elena Lolabrigita ML)
#
#   _DOC_MODE_   <=>    [last:10 tar + gzip]
#   _PART_       <=>    (1/4)
#   _ML_FN_      <=>    $ML_FN (here is "(Elena Lolabrigita ML)") 
#
# $NOT_SHOW_DOCMODE is obsolete, it equals you discard _PART_.
#
# value: string
$MGET_SUBJECT_TEMPLATE         = "result for mget _DOC_MODE_ _PART_ _ML_FN_";

# send error message to Reply-To: ? or From: ?
# (Of course From: if Reply-To: is not defined).
# If $MESSAGE_RETURN_ADDR_POLICY is null, 
# it implies we prefer Reply-To: (by default).
# value: from / reply-to
$MESSAGE_RETURN_ADDR_POLICY    = "reply-to";

#####################################################################
# ### Section: Digest/Matome Okuri Configurations ###
#
# $MSEND_MODE_DEFAULT is the default of msend (when e.g. m=3)
# and the format is the same as $MGET_MODE_DEFAULT.
# which is "tar.gz" format.
# Subject template in Digest/matome okuri.
# automatic substitute is done before send the reply; For example, 
# Digest -Matome Okuri- Article 768 [last:10 tar + gzip] (1/1) (Elena ML)
#
#   _ARTICLE_RANGE_  <=>    Article 768
#   _DOC_MODE_       <=>    [last:10 tar + gzip]
#   _PART_           <=>    (1/4)
#   _ML_FN_          <=>    $ML_FN (here is "(Elena ML)") 
#
# $NOT_SHOW_DOCMODE is obsolete, it equals you discard _PART_.
#
# value: string
$MSEND_SUBJECT_TEMPLATE        = "Digest _ARTICLE_RANGE_ _PART_ _ML_FN_";

# Digest/Matome Okuri rc file
# value: filename string
$MSEND_RC                      = "$VARLOG_DIR/msendrc";

# rfc1153 or rfc934
# obsoletes $USE_RFC1153, $USE_RFC1153_DIGEST, $USE_RFC934
# value: mode string
$MSEND_MODE_DEFAULT            = "";

# Subject:
# value: string
$MSEND_DEFAULT_SUBJECT         = "";

# If no articles to send, we send "no traffic" to the member of $MAIL_LIST
# with the subject $MSEND_NOTIFICATION_SUBJECT if $MSEND_NOTIFICATION is set.
# value: 1/0
$MSEND_NOTIFICATION            = "";

$MSEND_NOTIFICATION_SUBJECT    = ""; # value: string


# not require X-ML-Info: in the "mget";
# value: 1/0
$MSEND_NOT_USE_X_ML_INFO       = "";

# not do newsyslog in the Sundays morning. $NOT_USE_NEWSYSLOG (CFVersion 2)
# value: 1/0
$MSEND_NOT_USE_NEWSYSLOG       = "";

#####################################################################
# ### Section: Other Files for Configurations and Logs ###
# cache file of Message-ID: loop check
# value: filename string
$LOG_MESSAGE_ID                = "$VARRUN_DIR/msgidcache";

# cache file of mailbody cksum mail loop check
# value: filename string
$LOG_MAILBODY_CKSUM            = "$VARRUN_DIR/bodycksumcache";

# $MEMBER_LIST 	member who can post and use commands
# $ACTIVE_LIST 	delivery list
# value: filename string
$MEMBER_LIST                   = "$DIR/members";
$ACTIVE_LIST                   = "$DIR/actives";

# ATTENTION: only "guide" is also send to strangers
#
# $GUIDE_FILE 		sent by "# guide" command, 
# $OBJECTIVE_FILE 	sent by "# objective" command
# $HELP_FILE 		sent by "# help" command
# value: filename string
$GUIDE_FILE                    = "$DIR/guide";
$OBJECTIVE_FILE                = "$DIR/objective";
$HELP_FILE                     = "$DIR/help";

# When fml rejects mail from someone, fml sends back this file to the sender.
# value: filename string
$DENY_FILE                     = "$DIR/deny";

# $LOGFILE		log file
# $MGET_LOGFILE		log file for mget routine, $LOGFILE in default.
# value: filename string
$LOGFILE                       = "$DIR/log";
$MGET_LOGFILE                  = "$DIR/log";

# suffix extension if defined. For example log.2000
# For example $LOGFILE_SUFFIX = ".%C%y", file name is "log.2000".
# See UNIX manual "strftime(3)" for more details on format.
# value: srtings
$LOGFILE_SUFFIX                = "";

# when -d2 ($debug = 2), logs this file for convenience.
# value: filename string
$DEBUG_LOGFILE                 = "$DIR/log.debug";

# article summary file
# value: filename string
$SUMMARY_FILE                  = "$DIR/summary";

# sequence number file
# value: filename string
$SEQUENCE_FILE                 = "$DIR/seq";

# rename(2) lock (liblock.pl)
# value: filename string
$LOCK_FILE                     = "$VARRUN_DIR/lockfile.v7";

#####################################################################
# ### Section: SMTP and Delivery ###
#
# fml sends mail via SMTP to mail server $HOST:$PORT/tcp.
# The default host is one fml runs on itself. 
# $HOST is an arbitrary host (if you can access it) which runs MTA
# (e.g. sendmail). If the Mailing List Server machine is week, 
# you can use the sendmail of another powerful host(host).
#
# value: string
$HOST                          = "localhost";

$PORT                          = 25; # value: number


# enforce MAIL FROM:<$SMTP_SENDER> if defined
# value: address
$SMTP_SENDER                   = "";

# IF $NOT_TRACE_SMTP IS 1 (default 0), we log the SMTP session to $SMTP_LOG
# value: filename string
$SMTP_LOG                      = "$VARLOG_DIR/_smtplog";

# rotate use of var/log/_smtplog.$i (where $i is the number)
# value: 1/0
$USE_SMTP_LOG_ROTATE           = 1;

# the number of var/log/_smtplog.$i files. This is the value of modulus.
# value: number
$NUM_SMTP_LOG_ROTATE           = 8;

# IF $NOT_TRACE_SMTP IS 1 (default 0), we log the SMTP session to $SMTP_LOG
# IF $TRACE_SMTP_DELAY IS 1, we log the delay of response between SMTP server.
# value: 1/0
$NOT_TRACE_SMTP                = 0;
$TRACE_SMTP_DELAY              = "";

# You can use plural MTA for parallel delivery.
# $MCI_SMTP_HOSTS is the number of hosts you use.
# @HOSTS is the array of hosts you use.
# value: number
$MCI_SMTP_HOSTS                = "";

# obsolete today
# value: string
$DEFAULT_RELAY_SERVER          = "";

# obsolete today
# CF (by motonori@wide.ad.jp) base relay control if $RELEY_HACK is on. 
# with %RELAY_GW, %RELAY_NGW, %RELAY_NGW_DOM (set in librelayhack.pl)
# $CF_DEF is CF's configuration files; 
# **ATTENTION**; we do not use sendmail.cf but CF's configuration.
# value: 1/0
$RELAY_HACK                    = "";

# obsolete today
# value: filename string
$CF_DEF                        = "";

# list-outgoing@domain is a real distribution address. Fml does not
# sends article to all recipient list to MTA but only this address.
# MTA expands address list and distribute article.
# In default fml does not use this but effective for poor machine like
# 486 16M ;-)
#
#  fml -> list-outgoing -> expanded and distributed to $ACTIVE_LIST members
#
# XXX dedicated to minmin sama:D
#
# value: 1/0
$USE_OUTGOING_ADDRESS          = "";

# list-outgoing@domain is a real distribution address. Fml does not
# sends article to all recipient list to MTA but only this address.
# MTA expands address list and distribute article.
# In default fml does not use this but effective for poor machine like
# 486 16M ;-)
#
#  fml -> list-outgoing -> expanded and distributed to $ACTIVE_LIST members
#
# value: string
$OUTGOING_ADDRESS              = "";

# VERPs: Variable Envelope Return Paths. See qmail documents for more details.
# XXX you need additional configuration so that MTA receives VERPs addresses.
#
# value: 1/0
$USE_VERP                      = "";

# smtpfeed special option which provides VERPs like error track trick.
# value: 1/0
$USE_SMTPFEED_F_OPTION         = "";

#####################################################################
# ### Section: MISC ###
# ## Sub Section: MIME ##
# Mime Decode On if $USE_MIME for ISO-2022-JP statements.
# e.g. Decode $SUMMARY_FILE subject and so on.
# default 1 from 2.1C#13
# value: 1/0
$USE_MIME                      = 1;

# obsolete and Japanese specific 
# NOT RECOMMENDED OPTION: 
# articles in the spool are MIME-DECODED for poor environment users.
# These articles may be insane in strict MIME oriented mail interfaces.
# value: 1/0
$MIME_DECODED_ARTICLE          = "";

# ## Sub Section: Preamble and Trailer for Mail Body ##
# FOR COMMAND RESULT MAIL, 
# you always append some message in the command reply mail body.
# For example, the mail body becomes
#
#    $PREAMBLE_MAILBODY
#    original body
#    $TRAILER_MAILBODY
#
# If you use the article distributed in ML, you must use some hooks.
# For example, append this in the last of config.ph (but before 1;)
# $SMTP_OPEN_HOOK = q# 
#   $e{'Body'} = $PREAMBLE_MAILBODY. $e{'Body'} .$TRAILER_MAILBODY;
# #;
# Please see doc/tutorial for our policy behind this.
#
# value: string
$PREAMBLE_MAILBODY             = "";
$TRAILER_MAILBODY              = "";

# ## Sub Section: Reply Configurations ##
# In the last of e.g. "command status report", we add 
# "$GOOD_BYE_PHRASE $FACE_MARK" :-) in the last of the reply. 
# So the standard form is
#
#    message
#    FYI message generated by the function $PROC_GEN_INFO.
#    $GOOD_BYE_PHRASE $FACE_MARK
#    for example, "	--$MAIL_LIST, Be Seeing You!"
#
# value: string
$GOOD_BYE_PHRASE               = "";
$FACE_MARK                     = "";

$PROC_GEN_INFO                 = "GenInfo"; # value: function name string


# ## Sub Section: Lock Algorithm ##
# use flock for lock algorithm if $USE_FLOCK is on.
# see flock(2), alarm(3). If not, we rename(2) base lock.
# The timeout of rename(2) lock is rand(3) *  $MAX_TIMEOUT secs.
# value: 1/0
$USE_FLOCK                     = 1;

# In rename(2) base lock case,
# the timeout of rename(2) lock is rand(3) *  $MAX_TIMEOUT secs.
# value: number
$MAX_TIMEOUT                   = 200;

# ## Sub Section: misc ##
# Not spooling of articles (default is "spooling")
# It may be used for some secret ML, ML on diskless machihe;-), ISP services
# value: 1/0
$NOT_USE_SPOOL                 = "";

# "$CFVersion < 2" equals "$COMPAT_FML15 = 1;"
# value: 1/0
$COMPAT_FML15                  = 0;

# newsyslog library maximum number. default is 4. 
# log.4 is removed and 
# log.3 -> log.4, log.2 -> log.3, log.1 -> log.2, log.0 -> log.1, log -> log.0
# value: number
$NEWSYSLOG_MAX                 = 4;

# not used generally. This is "cron of fml package" configuration.
# $CRONTAB 	configuratoin file
# $CRON_PIDFILE	pid file
# value: filename string
$CRONTAB                       = "etc/crontab";
$CRON_PIDFILE                  = "var/run/cron.pid";

# not used generally. This is "cron of fml package" configuration.
# cron notifies what is done to $MAINTAINER.
# value: 1/0
$CRON_NOTIFY                   = 1;

# cross operations
# value: 1/0
$USE_CROSSPOST                 = "";

# Under $USE_MEMBER_NAME is set, commands on member lists
# are with Gecos Fields which are extracted from From: field 
# in the time of auto registration.
# Author: Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
# value: 1/0
$USE_MEMBER_NAME               = "";

#####################################################################
# ### Section: Expire and Archive  ###
# If $USE_EXPIRE is set, we do expire articles in $SPOOL_DIR.
# The default is "no". You need to remove articles if you do so.
# 
# Expiration limit is $EXPIRE_LIMIT, which syntax is
#   e.g. 7days(days) or 100 (articles left in spool)
# If you re-generate $SUMMARY_FILE, set $EXPIRE_SUMMARY
#
# value: 1/0
$USE_EXPIRE                    = 0;

# expire summary file when $USE_EXPIRE is enabled.
# value: 1/0
$EXPIRE_SUMMARY                = "";

# expire how old articles 
# value: number / ( number + day/week/month )
$EXPIRE_LIMIT                  = "7days";

# If $USE_ARCHIVE is on, we do automatically archive, which is 
# spool/articles is aggregated to e.g. "$ARCHIVE_DIR/100.tar.gz"
# by the unit $ARCHIVE_UNIT.
#
# the location of store (when $USE_ARCHIVE on):	$ARCHIVE_DIR
# the search path order                       : $ARCHIVE_DIR @ARCHIVE_DIR
#
# If @ARCHIVE_DIR is set and $ARCHIVE_DIR is not set, 
#    we use $ARCHIVE_DIR[0] as the $ARCHIVE_DIR.
#
# value: 1/0
$USE_ARCHIVE                   = 0;

# spool/articles is aggregated to "$ARCHIVE_DIR/100.tar.gz"
# by the unit $ARCHIVE_UNIT.
# value: number
$ARCHIVE_UNIT                  = 100;
$DEFAULT_ARCHIVE_UNIT          = 100;

# spool/articles is aggregated to "$ARCHIVE_DIR/100.tar.gz"
# value: directory string
$ARCHIVE_DIR                   = "var/archive";

# "index" command
# In default we scan spool and archives and reports, but
# send back $INDEX_FILE if $INDEX_FILE exists.
# value: filename string
$INDEX_FILE                    = "$DIR/index";

# show directory name in "index" command result? default is "no".
# value: 1/0
$INDEX_SHOW_DIRNAME            = 0;

# ### Section: Library Commands  ###
#
# "library" command is a small mailing list within mailing list.
# It is useful to exchange some files.
# You can put and get files by "library" commands.
#
# In default, @DenyProcedure = ('library'); So 'library' command is disabled;
# Set @DenyProcedure = ('') in LOCAL CONFIG part (the last of config.ph).
#
# value: directory string
$LIBRARY_DIR                   = "var/library";
$LIBRARY_ARCHIVE_DIR           = "archive";

# ## Sub Section: newsyslog(8) ##
# to turn over \$DIR/log
# value: number
$LOGFILE_NEWSYSLOG_LIMIT       = "";

# to turn over $ACTIVE_LIST and $MEMBER_LIST if the file size over this value, 
# default 150K = 30*5000
# value: number / (number + K/M)
$AMLIST_NEWSYSLOG_LIMIT        = "150K";

# ### Section: Html Configurations ###
#
# HTML article generator: Please see doc/tutorial for the details.
# AUTO_HTML_GEN == AUTOmatic HTML GENeration
# if $AUTO_HTML_GEN, we generate html'ed articles in $DIR/$HTML_DIR
# value: 1/0
$AUTO_HTML_GEN                 = "0";

$HTML_THREAD                   = 1; # value: 1/0


$HTML_INDEX_REVERSE_ORDER      = 1; # value: 1/0


# generate html articles under htdocs/ 
# value: directory string
$HTML_DIR                      = "htdocs";

# expire old html articles if non-zero value is defined.
# not expire in default since the value is 0 or NULL.
# options: Please see doc/tutorial for the details.
# value: number
$HTML_EXPIRE_LIMIT             = "";

# title of index.html
# value: string
$HTML_INDEX_TITLE              = "";

# cache file
# value: filename string
$HTML_DATA_CACHE               = "";
$HTML_DATA_THREAD              = "";

# filter in generate html file
# value: filename string
$HTML_OUTPUT_FILTER            = "";

# stylesheet file name (see HTML 4.0)
# "fml.css" is default.
# value: filename string
$HTML_STYLESHEET_BASENAME      = "";

# threading algorithm type
# value: default / prefer-in-reply-to
$HTML_THREAD_REF_TYPE          = "prefer-in-reply-to";

# sort type for entries of thread.html
# default is "time" from past to latest, 
# "reverse-number" is from latest to past.
# value: "" / reverse-number
$HTML_THREAD_SORT_TYPE         = "";

# $subdir type of htdocs/$subdir/
# value: number / day / week / month / infinite
$HTML_INDEX_UNIT               = "day";

# threading type
# value: "" / UL
$HTML_INDENT_STYLE             = "UL";

# image file embedding style
# value: A / IMAGE 
$HTML_MULTIPART_IMAGE_REF_TYPE = "";

# html file umask
# value: "" / umask
$HTML_DEFAULT_UMASK            = "";
$HTML_WRITE_UMASK              = "";

# ### Section: Interface to DataBase Management System ###
# value: 1/0
$USE_DATABASE                  = "";

$DATABASE_METHOD               = ""; # value: 


$DATABASE_CACHE_FILE_SUFFIX    = ""; # value:


$DATABASE_DRIVER               = "toymodel.pl"; # value: filename


# ## Sub Section: RDBMS
# value: string 
$SQL_SERVER_HOST               = "";

$SQL_SERVER_PORT               = ""; # value: number


$SQL_SERVER_USER               = ""; # value: string 


# value: string 
# value: string 
$SQL_DATABASE_NAME             = "";

$SQL_SERVER_PASSWORD           = ""; # value: string 


# value: string 
# value: string 
$SQL_DATABASE_NAME             = "";

# ## Sub Section: LDAP
# value: string
$LDAP_SERVER_HOST              = "";
$LDAP_SERVER_PASSWORD          = "";
$LDAP_SEARCH_BASE              = "";
$LDAP_SERVER_BIND              = "";
$LDAP_QUERY_FILTER             = "";

# ### Section: Interface to other Services (http,ftp,gopher,www) ###
# "whois": default is search of local database file 
# If "whois -h host" syntax is given, we connects "host" whois server.
# If $USE_WHOIS set, you can use local database $WHOIS_DB.
# If you have local whois server (inetd), you can also use it.
# If "whois help" is given, send back $WHOIS_HELP_FILE if it exists.
#
# value: 1/0
$USE_WHOIS                     = "";

$DEFAULT_WHOIS_SERVER          = ""; # value: string


# value: filename string
$WHOIS_DB                      = "$VARDB_DIR/whoisdb";
$WHOIS_HELP_FILE               = "";

# do Japanese conversion or not? for the result from whois server
# value: 1/0
$WHOIS_JCODE_P                 = 1;

#####################################################################
# ### Section: Architecture Dependence ###
# cpu-type manufacturer operating-system by GNU config.guess ("makefml")
# value: string
$CPU_TYPE_MANUFACTURER_OS      = "";

# struct sockaddr
# It is system dependent.
# value: string
$STRUCT_SOCKADDR               = "S n a4 x8";

# flock(2) system call; please see "/usr/include/sys/file.h"
# value: number
$LOCK_SH                       = 1;
$LOCK_EX                       = 2;
$LOCK_NB                       = 4;
$LOCK_UN                       = 8;

# enforce solaris 2 compatible
# value: 1/0
$COMPAT_SOLARIS2               = "";

# used in cron of fml package
# we can emulate daemon(3) ?
# value: 1/0
$NOT_USE_TIOCNOTTY             = "";

# On Unix, always yes set 1 in &SetDefaults;
# value: 1/0
$HAS_GETPWUID                  = "";

# On Unix, always yes set 1 in &SetDefaults;
# value: 1/0
$HAS_GETPWGID                  = "";

# On Unix, always yes set 1 in &SetDefaults;
# value: 1/0
$HAS_ALARM                     = "";

# program paths fml uses
# Usually "makefml newml" checks and expands this value. 
# value: filename string
$SENDMAIL                      = "/usr/sbin/sendmail";
$TAR                           = "/bin/tar cf -";
$UUENCODE                      = "/usr/bin/uuencode";
$COMPRESS                      = "/bin/gzip -c";
$ZCAT                          = "/bin/zcat";
$LHA                           = "/usr/bin/lha";
$ISH                           = "";
$ZIP                           = "/usr/bin/zip";
$BZIP2                         = "/usr/bin/bzip2";
$PGP                           = "/usr/bin/pgp";
$PGP5                          = "";
$PGPE                          = "";
$PGPK                          = "";
$PGPS                          = "";
$PGPV                          = "";
$RCS                           = "/usr/bin/rcs";
$CI                            = "/usr/bin/ci";
$BASE64_DECODE                 = "/usr/share/fml/bin/base64decode.pl";
$BASE64_ENCODE                 = "/usr/share/fml/bin/base64enecode.pl";
$MD5                           = "/usr/bin/md5sum";


######################################################################
# ### Section: LOCAL CONFIG ###

# ## Sub Section: Available Hooks ##
# You can set customized hooks here. See doc/tutorial's chapter "HOOKS".
# For example available hooks are 
# $START_HOOK, $DISTRIBUTE_START_HOOK, $SMTP_OPEN_HOOK
# $HEADER_ADD_HOOK, $DISTRIBUTE_CLOSE_HOOK, $DISTRIBUTE_END_HOOK
# $ADMIN_COMMAND_HOOK, $RFC1153_CUSTOM_HOOK, $MSEND_OPT_HOOK
# $FML_EXIT_HOOK, $FML_EXIT_PROG, $MSEND_START_HOOK
# $REPORT_HEADER_CONFIG_HOOK, $AUTO_REGISTRATION_HOOK, $MSEND_HEADER_HOOK
# $SMTP_CLOSE_HOOK, $MODE_BIFURCATE_HOOK. $HTML_TITLE_HOOK
# $PROCEDURE_CONFIG_HOOK, $ADMIN_PROCEDURE_CONFIG_HOOK, $COMMAND_HOOK
#
# ## Sub Section: Available Arrays and Assoc-Arrays ##
# Also you can set here arrays and association arrays:
#
# @MEMBER_LIST, @ACTIVE_LIST, @CROSSPOST_CF
# @HOST, @HOSTS, @MAIL_LIST_ALIASES, @HdrFieldsOrder
#
# value: perl statement



1;