-
Notifications
You must be signed in to change notification settings - Fork 4
/
ChangeLog
6470 lines (4607 loc) · 222 KB
/
ChangeLog
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
2011-01-24 Jason Tibbitts <[email protected]>
* lib/Majordomo.pm: Remove slashes and double dots from filenames returned
by _list_file_get. This is a quick fix for a bug that allows disclosure of
any file via the help command (CVE-2011-0049).
2009-09-23 Michael Yount <[email protected]>
* t/core.t: Correct the return value from the dummy
INDEX.pl file for the core tests.
Thanks to Donald R. Laster Jr.
2006-03-01 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (set, show) Show the date at which
a subscriber's timed "nomail" setting will end in a menu of
delivery classes.
2006-02-27 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (who) Display a list of subscribe commands
when the who-export command is used without an admin password.
Thanks to Roger Klorese.
2006-01-19 Michael Yount <[email protected]>
* lib/Mj/List.pm: (set) Add "exists" test to quell warning.
Thanks to Brock Rozen.
2005-12-08 Michael Yount <[email protected]>
* lib/Majordomo.pm: (valid_list) Escape dollar signs
in substitution variables to avoid looping.
Thanks to Marc Fournier.
2005-11-11 Michael Yount <[email protected]>
* lib/Mj/List.pm: (flag_set) Treat an invalid address as
a nonmember instead of always returning zero.
Thanks to Rado S.
2005-11-08 Michael Yount <[email protected]>
* lib/Majordomo.pm: (who_chunk) Change control characters
into hyphens in the delivery class.
Thanks to Rado S.
2005-10-27 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (compile_pattern) Remove redundant
escaping of metacharacters.
Thanks to Roger Klorese.
2005-10-09 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_list_file_execute) Pass the interface
(hardcoded to "shell") as an argument to parse_part().
* lib/Mj/Parser.pm: (parse_part) Accept the interface as
an argument, to allow files executed by mj_trigger to be
parsed as if they came from mj_shell.
Thanks to Roger Klorese.
2005-08-31 Michael Yount <[email protected]>
* lib/Mj/SimpleDB/Text.pm: (add) If the key already exists,
replace the data if "force" mode is used.
Thanks to SRE.
2005-08-09 Michael Yount <[email protected]>
* lib/Majordomo.pm: (list_config_set) Change the setting
to the new value, not the default value, in "noforce" mode.
Fixed by Richard Birkett.
2005-05-15 Michael Yount <[email protected]>
* lib/Mj/Deliver/Dest.pm: (make_qqenvelope) Support
personalization under qmail.
Implemented by John Levine.
* lib/Mj/Deliver/QQEnvelope.pm: (new, address, send)
Support personalization under qmail.
Implemented by John Levine.
2005-05-09 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (parse_taboo_body) The maximum line
count should always be zero (unlimited) if an unlimited
pattern is used. Fixed by Richard Birkett.
2005-04-29 Michael Yount <[email protected]>
* lib/Majordomo.pm: (dispatch) The "nomessage" mode requires
an administrative password.
* lib/Mj/CommandProps.pm: Support the "nomessage" command mode.
* lib/Mj/Parser.pm: (parse_part) Do not mail the results to
the address specified by the "default user" command if the
"nomessage" command mode is used.
2005-04-28 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_alias) Make the target the canonical
address rather than the aliased address.
(who_chunk) Use the target to find bookkeeping aliases.
Thanks to John Levine.
* lib/Mj/Addr.pm: (_alias) Do not use alias information from
a bookkeeping alias.
2005-03-16 Michael Yount <[email protected]>
* lib/Majordomo.pm: (connect) Use delete instead of undef
to quell a warning. Thanks to SRE.
2005-03-06 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (_r_strip_body) Mark the body as changed
when a multipart message is condensed to a single part.
Thanks to Richard Birkett.
2005-02-26 Michael Yount <[email protected]>
* lib/Majordomo.pm: (dispatch) Account for the possibility
of a failed "owner" event.
* lib/Mj/Access.pm: (_a_mailfile) Take pains to prevent
a mail loop of the whoami_owner address with itself.
(_d_owner) Messages to the list owners are now subject to
the access rules.
* lib/Mj/CommandProps.pm: Messages to the list owners are
now subject to the access rules.
* lib/Mj/Inform.pm: (_inform_owner) Take pains to prevent
a mail loop of the whoami_owner address with itself.
* lib/Mj/MailOut.pm: (owner_done) Apply the access rules
to messages sent to the list owners which were not handled
by the bounce parser.
2005-01-31 Michael Yount <[email protected]>
* lib/Majordomo.pm: (connect) Give a reasonable value
for the elapsed time if the connection fails.
Thanks to Marc Fournier.
* lib/Mj/Parser.pm: (parse_part) Give a reasonable value
for the elapsed time if no commands are found.
2005-01-16 Michael Yount <[email protected]>
* lib/Mj/Access.pm: (_d_advertise) Show information about
a list if an admin password for the list is used.
Thanks to Roger Klorese.
2004-12-09 Michael Yount <[email protected]>
* files/INDEX.pl: The "unregistered" file has a "noweb"
counterpart.
* lib/Majordomo.pm: (trigger, _unregister) Send farewell
messages as appropriate when an address is unregistered.
Suggested by Brock Rozen.
* lib/mj_cf_data.pl, mj_cf_defs.pl: The farewell and
farewell_files settings are also GLOBAL.
* lib/Mj/CommandProps.pm: Support the unregister-farewell
and unregister-nofarewell commands.
2004-12-08 Michael Yount <[email protected]>
* lib/Mj/CommandProps.pm: Support the who-noname command,
which prints the plain address without comments.
Suggested by Steven Orr.
* lib/Mj/Format.pm: (who) Support the who-noname command.
2004-12-01 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_subscribe) Log a "register" event
if the subscription causes the subscriber to be registered.
2004-11-22 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (compile_pattern) Change the 'ALL'
pattern to work around a bug for the empty pattern (//).
Thanks to Dean Collins.
2004-11-09 Michael Yount <[email protected]>
* lib/Majordomo.pm: (who_chunk) Fix MSGNO substitution.
Thanks to Roger Klorese.
2004-11-05 Michael Yount <[email protected]>
* lib/Mj/Addr.pm: (setcomment) Add quotes if needed.
(_xform) Always validate the address. Thanks to SRE.
* lib/Mj/Resend.pm: (_exclude) Skip invalid addresses.
2004-11-04 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (g_get, index, put) Use the FULLPATH
substitution to avoid a substitution race condition.
Thanks to SRE.
2004-10-30 Michael Yount <[email protected]>
* bin/mj_enqueue: Place the mj_queueserv lock in the lock
directory. Suggested by SRE.
* lib/Mj/Archive.pm: (add_done) Sort the archives to
prevent a race condition.
(get_all_data, expand_range) Support split archives.
Thanks to Roger Klorese.
* lib/Mj/Lock.pm: (expire_locks) Do not remove the queueserv
lock file.
* setup/setup_func.pl: (make_alias_symlinks) Unlink before
creating a symlink. Thanks to SRE.
2004-10-27 Michael Yount <[email protected]>
* lib/Majordomo.pm: (list_config_get) Retrieve GLOBAL
settings for the ALL pseudo-list. Thanks to Marc Fournier.
2004-10-23 Michael Yount <[email protected]>
* lib/Mj/Inform.pm: (inform) Add a shell hook.
Suggested by Marc Fournier and John Hansen.
2004-10-22 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (lists) Use the lists_aux_none format
file when no auxiliary lists are found.
Thanks to Roger Klorese.
2004-10-21 Michael Yount <[email protected]>
* bin/mj_wwwadm: Add support for the sublist command.
* lib/Majordomo.pm: (sublist, _sublist) Add support
for the sublist command. Suggested by Roger Klorese.
(_subscribe) Exclude digest subscriptions for sublists.
(trigger) Update the registry after a subscription
expires. Thanks to SRE.
* lib/Mj/CommandProps.pm: Add support for the sublist command.
* lib/Mj/Format.pm: Add support for the sublist command.
* lib/Mj/List.pm: (get_setting_data) Exclude digests
from the list of classes for sublists.
(aux_create, aux_destroy) Support the creation and destruction
of sublists.
* lib/Mj/SimpleDB/Base.pm: (erase) Remove a sublist's database
file if one exists.
2004-10-18 Michael Yount <[email protected]>
* lib/Majordomo.pm: Version number is now 0.1200410180.
(_lists_aux) The lists-aux command now displays only
auxiliary lists.
(who_chunk) Bugfix: Retrieve subscriber info for sublists
of the DEFAULT pseudo-list.
(standard_subs) Add the PLIST substitution, which contains
the list name without any sublist.
* lib/Mj/CommandProps.pm: The lists-aux command precludes
the use of other command modes.
* lib/Mj/Format.pm: (lists) Add format file support for the
lists-aux command.
* lib/Mj/Inform.pm: (_inform_owner) Bugfix: Use GLOBAL
settings when informing about the DEFAULT pseudo-list.
2004-10-13 Michael Yount <[email protected]>
* bin/mj_wwwadm: Fix substitution typos.
* lib/Majordomo.pm: (_changeaddr) Use the xformed
address instead of the stripped address for equivalence
tests. Thanks to SRE.
(_unalias) Remove hard-coded error messages.
* lib/Mj/CommandProps.pm: Allow the unalias command to
accept a here document.
* lib/Mj/Format.pm: (unalias) Process with g_sub().
(g_sub) Support the VICTIM substitution when the
command fails.
2004-10-12 Michael Yount <[email protected]>
* bin/mj_wwwadm: Add support for the unalias command,
and allow the aliases database to be searched.
* bin/mj_wwwusr: Delete unneeded request data before
the "show" command is run.
* lib/Majordomo.pm: (who_chunk) Handle chunks of data
more consistently when some data are discarded.
* lib/Mj/Format.pm: (who) Add format file support for
the "who-alias" command.
2004-10-10 Michael Yount <[email protected]>
* lib/Mj/Deliver.pm, et al.: Make use of the qmail path
specified during the installation process.
2004-10-09 Michael Yount <[email protected]>
* lib/Majordomo.pm: Version number is now 0.1200410090
(_reg_add) Atomically change the registration data to
avoid a race condition. Thanks to SRE.
2004-10-03 Michael Yount <[email protected]>
* bin/mj_confirm, mj_wwwadm, mj_wwwusr: Change the debug
level to match the appropriate debug setting.
* bin/mj_queuerun: Limit each queue runner to 1000 messages.
2004-09-30 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (_r_strip_body) Alter the headers
of a cleaned or formatted body part as little as possible.
2004-09-29 Michael Yount <[email protected]>
* bin/mj_enqueue, et al.: Change the real uid and gid
to match their effective counterparts.
Thanks to James Grinter.
* lib/Mj/Config.pm: (parse_attachment_filters) Support
the "keep" action, which allows multipart types to pass
without having their subparts filtered.
* lib/Mj/Resend.pm: (_post) Use the original message body
instead of the decoded and re-encoded body if no alterations
were made to the body.
Thanks to Steve Kennedy.
2004-09-18 Michael Yount <[email protected]>
* Makefile.PL, postinstall: Qmail requires mj_enqueue
and mj_email to be setuid in case a domain is managed
by some user other than the majordomo user.
Thanks to Peter Ajamian.
2004-09-17 Michael Yount <[email protected]>
* lib/Mj/Access.pm: (list_access_check) Remove
definition test, which was preventing reply messages
from being sent.
* lib/Mj/Format.pm: (who) Support a "who_none" format
file, which indicates that no addresses were found.
Thanks to SRE.
* lib/Mj/Resend.pm: (post) Do not send an ack if the
reply is NONE. Thanks to SRE.
2004-09-11 Michael Yount <[email protected]>
* bin/mj_wwwadm: Add support for directory and file
creation and deletion.
* lib/Majordomo.pm: (_put) Untaint the file name.
* lib/Mj/Format.pm: (put) Support the put_delete
and put_dir format files.
2004-09-10 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (put) Support PARENT and PATH
substitutions.
2004-09-09 Michael Yount <[email protected]>
* lib/Majordomo.pm: (archive_start) Initialize to avoid
warnings.
* lib/Mj/Access.pm: (list_access_check) Initialize the
victim variable.
(_a_default) Supply a reason when "list" access causes
a request to be denied.
* lib/Mj/Format.pm: (g_get) File and directory substitutions
only apply to the "get" command.
* lib/Mj/List.pm: (is_subscriber) Add a definition test
to avoid crashing.
2004-09-08 Michael Yount <[email protected]>
* bin/mj_confirm: Clear the token after the accept or
reject command is issued. Thanks to Steven Orr.
* bin/mj_wwwusr: Bugfix: Initialize variable to
avoid access check crash. Thanks to Roger Klorese.
* lib/Majordomo.pm: (_faq, help_start, _info, _intro)
Allow files to be mailed from the wwwadm interface.
* lib/Mj/Format.pm: (help, g_get) Allow files to be
mailed from the wwwadm interface.
* lib/Mj/Parser.pm: (parse_part) Add blank lines for
readability.
2004-09-06 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_changeaddr) Preserve
subscriptions from aliased addresses.
(_unalias) Correct subscription addresses and alias
targets.
2004-09-05 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_alias_reverse_lookup) Base the
lookup on the target, not the striptarget, field.
(_changeaddr) Issue an error if the old and new addresses
are identical.
Bugfix: Adjust aliases properly when the changeaddr command
is issued from an alias. Thanks to Roger Klorese.
* lib/Mj/Format.pm: (show) Substitution correction.
2004-09-04 Michael Yount <[email protected]>
* lib/Mj/FileSpace.pm: (index) Return 1 instead of 0
if the directory is empty.
* lib/Mj/Format.pm: (index) Add format file support.
2004-09-03 Michael Yount <[email protected]>
* bin/mj_email, mj_queuerun: Remove temporary files.
* lib/Mj/Access.pm: (_a_reply, _a_replyfile) Return
"NONE" instead of an empty string for the "NONE" reply.
* lib/Mj/Format.pm: Don't print anything if a command
does not succeed and a reply of "NONE" is specified.
* lib/Mj/Parser.pm: (parse_part) Don't print the
results if a command does not succeed and a reply
of "NONE" is specified.
2004-09-02 Michael Yount <[email protected]>
* bin/mj_wwwadm: Add support for an archive search form
on the archive summary page.
* lib/Majordomo.pm: Version number is now 0.1200409020.
(archive_chunk) Mail messages retrieved with the archive-get
command to the victim, not to the user.
* lib/Mj/Format.pm: (archive) Support the YEARS substitution
in summary mode, which contains a list of the years for
which archives are available.
2004-09-01 Michael Yount <[email protected]>
* bin/mj_wwwadm: Bugfix: Process configshow arguments
correctly.
2004-08-31 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_archive) Only show archives for
the specified sublist when the archive-summary command
is used.
* lib/Mj/Archive.pm: (summary) Only summarize archives
for the specified sublist.
2004-08-30 Michael Yount <[email protected]>
* bin/mj_wwwadm: Support the plain who command.
* lib/Mj/Format.pm: (who) Add format file support for
the who-summary command.
(archive) Allow the web interfaces to break long lines in
plain text message parts. Implemented by Peter Ajamian.
2004-08-29 Michael Yount <[email protected]>
* bin/mj_wwwusr: Allow the archive-get and archive-get-digest
commands to work.
* lib/Majordomo.pm: (_list_file_get_string) Unlink the
temporary file if substitutions are provided.
(archive_chunk) Replaced hard-coded English with error files.
Use digest_archive_preindex and related files to format digests
retrieved by the archive-get-digest command.
(_digest_get_headers) New method. Retrieve headers from
message_headers and other settings and perform variable
substitution.
(_set) Use digest_partial_preindex and related files to
format partial digests.
* lib/Mj/Format.pm: (archive) Add format file support for
the archive-get and archive-get-digest commands.
(configshow) Convert comments from plain text to HTML for
the web interfaces.
* lib/Mj/Resend.pm: (do_digests) Call _digest_get_headers
to obtain headers.
* lib/Mj/Util.pm: (text_to_html) New routine. Convert
text to HTML in a way that allows new line breaks.
* lib/Mj/Digest/Build.pm: (build) Remove redundant "To"
and "From" headers.
2004-08-26 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (lists) Use separate head and foot
format files for the lists-full command.
2004-08-22 Michael Yount <[email protected]>
* bin/mj_wwwusr: Ask for an e-mail address with optional
name as needed, instead of displaying an error message.
Require a valid e-mail address to use the archive command.
* lib/Majordomo.pm: (connect) Allow the web interfaces
to perform their own e-mail address authentication.
2004-08-21 Michael Yount <[email protected]>
* bin/mj_wwwusr: Ask for a list name or login as needed
instead of displaying an error message.
Thanks to Steven Orr.
2004-08-09 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (post) Initialize the admin and
taboo access variables.
2004-08-03 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (do_digests) Bugfix: Override the
SENDER substitution using the actual sender.
Thanks to Dean Collins.
2004-07-12 Michael Yount <[email protected]>
* setup/setup_func.pl: (read_mj_config) Allow values
to be read from an installed .mj_config file.
Thanks to Peter Ajamian.
2004-07-11 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_createlist) Copy the MTA options
to avoid persistently changing them in "nocreate" mode.
Thanks to Darren Stalder.
* setup/query_util.pl: (get_passwd) Do not allow commas
in passwords.
Thanks to Darren Stalder.
* setup/setup_func.pl: (install_response_files) Install
the setup scripts to allow site/domain reconfiguration
outside the source directory.
2004-07-10 Michael Yount <[email protected]>
* lib/Majordomo.pm: Version number is now 0.1200407100.
* lib/Mj/Parser.pm: (parse_part) Support the SESSIONID
substitution in the command summary.
* lib/Mj/Resend.pm: (_check_approval) Issue an error
if an "Approved" line is not followed by a blank line
or a valid e-mail header.
2004-06-28 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_changeaddr) Allow two addresses
with identical xforms, which are not aliases, to be
used. Thanks to SRE.
2004-06-26 Michael Yount <[email protected]>
* lib/Mj/BounceParser.pm: Add various sanity checks.
Thanks to SRE.
2004-06-22 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_rekey) Bugfix: Take bookkeeping
aliases into account when rekeying the alias database.
Thanks to SRE.
* lib/Mj/List.pm: (aux_rekey) Bugfix: Rekey based
upon the stripped address, to allow xforms to be reversed.
Thanks to SRE.
2004-06-19 Michael Yount <[email protected]>
* lib/Mj/CommandProps.pm: Bugfix: The "info" and "intro"
commands should also work in a GLOBAL or DEFAULT context.
2004-06-14 Michael Yount <[email protected]>
* lib/Mj/SimpleDB/Text.pm: (get_matching_quick_regexp) Bugfix:
Remove anchors from the pattern more thoroughly.
(The rekey-verify command was returning spurious results for
text databases.) Thanks to SRE.
2004-05-24 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_showtokens) Show tokens for the
"ALL" pseudo-list along with GLOBAL tokens.
* lib/Mj/Token.pm: (confirm) Bugfix: Record commands
for the "ALL" pseudo-list under ALL rather than GLOBAL.
Thanks to Roger Klorese.
2004-05-17 Michael Yount <[email protected]>
* lib/Mj/CommandProps.pm: Allow the who command to use
the "common" and "alias" modes together.
2004-04-29 Michael Yount <[email protected]>
* bin/mj_wwwadm: Bugfix: Remove white space from list names.
Thanks to SRE.
2004-04-07 Michael Yount <[email protected]>
* bin/mj_email, mj_enqueue: (do_qmail) Bugfix:
Recognize extensions to the majordomo-owner address.
Thanks to Peter Ajamian.
* lib/Mj/Access.pm: (list_access_check) Add support
for the COMMAND substitution to reply files.
* lib/Mj/Config.pm: (parse_bounce_rules) Bugfix:
eliminate rule duplication. Thanks to Peter Ajamian.
2004-03-24 Michael Yount <[email protected]>
* lib/Mj/FileSpace.pm: (_empty_dir) Bugfix: Call
closedir() instead of close() for a directory.
* lib/Mj/List.pm: (rename_archive) Bugfix: Call
closedir() instead of close() for a directory.
2004-03-02 Michael Yount <[email protected]>
* lib/Majordomo.pm: (who_chunk) Bugfix: Reduce the
chunk size as addresses with bounces are found.
* lib/Mj/Archive.pm: (_dim) Bugfix: Cope properly
with leap years. Thanks to Steven Orr.
* lib/Mj/Format.pm: (who) Support the MODE substitution.
2004-02-16 Michael Yount <[email protected]>
* convertdb.pl: Add -p (list files but don't change them)
and -c (clean up backup databases) options. Thanks to SRE.
2004-02-11 Michael Yount <[email protected]>
* lib/Mj/BounceHandler.pm: (handle_bounce_token) Bugfix:
Use the correct sender in inform() call.
* lib/Mj/MailOut.pm: (mail_entity) Add Date and Message-ID
headers if they are not present.
Thanks to Richard Birkett.
2004-02-10 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (parse_bounce_rules)
Validate "remove" action modes.
2004-02-09 Michael Yount <[email protected]>
* lib/Mj/BounceHandler.pm: (handle_bounce_probe)
Include the reasons from the token data.
(handle_bounce_user) Bugfix: Only mention that
the subscriber was removed for no probe/no consult.
Thanks to SRE.
2004-02-06 Michael Yount <[email protected]>
* lib/Majordomo.pm: (digest) Add missing substitutions.
Thanks to SRE.
* lib/Mj/Format.pm: (createlist, set, show) Sanitize
lists more carefully. Thanks to SRE.
* lib/Mj/Inform.pm: (_inform_owner) Remove example.com
from two substitutions. Thanks to SRE.
* lib/Mj/Util.pm: (process_rule) Add "or" to the list
of Safe compartment operations. Thanks to SRE.
2004-02-04 Michael Yount <[email protected]>
* lib/Majordomo.pm: (connect) Initialize variables
sooner to avoid warnings. Thanks to Brock Rozen.
2004-02-03 Michael Yount <[email protected]>
* convertdb.pl: Remove parentheses in "grep" arguments.
Thanks to SRE.
* bin/mj_queueserv: (in, out) Validate file handle.
Thanks to SRE.
* lib/Majordomo.pm: (_make_list) Add valid_list
callback.
* lib/Mj/Access.pm: (_d_post) Add anchors to restrict_post
tests.
* lib/Mj/Config.pm: (parse_restrict_post) Validate
the list names.
(_compile_rule) Bugfix: Separate right parens from
comparisons. Thanks to SRE.
* lib/Mj/Util.pm: (shell_hook) Do not use ".." in
scripts directory name in consideration of symlinks.
Thanks to SRE.
* setup/install_util.pl: (copy_file, rcopy) Unlink
the destination before copying. Thanks to SRE.
2004-01-27 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (parse_keyed) Bugfix: Count
array elements before splicing them.
Thanks to Brock Rozen.
2004-01-23 Michael Yount <[email protected]>
* lib/Mj/Access.pm: (list_access_check) Bugfix: Arrange
to delete the spool file for a posted message if the only
terminal action is "forward".
* lib/Mj/Resend.pm: (post) Delete any temporary files
(In particular, the spool file if a message was forwarded.)
2004-01-20 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (post, _post, _check_approval, do_digests)
Bugfix: Record the correct interface in the log.
Thanks to Brock Rozen.
2004-01-19 Michael Yount <[email protected]>
* lib/Mj/Access.pm: (check_headers) Bugfix:
Add missing Safe compartment operations for perl 5.8.
Thanks to Brock Rozen.
2004-01-17 Michael Yount <[email protected]>
* lib/Mj/Parser.pm: (parse_part) Bugfix: fix typo
that prevented results from being mailed to a 3d party.
Thanks to Dean Collins.
2004-01-14 Michael Yount <[email protected]>
* bin/mj_shell: Add support for the "default list" command.
2004-01-13 Michael Yount <[email protected]>
* lib/Majordomo.pm: Version number is now 0.1200401130.
(get_all_lists, help_start) Set the "nostall" access
variable to avoid delays.
(_get_stock) Disable all warnings briefly to avoid
perl 5.8.2 spurious warnings. Thanks to Brock Rozen.
(alias, createlist, et al.) Call list_access_check
instead of global_access_check for all GLOBAL commands
to accommodate list admin credentials for the commands.
* lib/Mj/Access.pm: (list_access_check) Support
the list_password access variable, which will recognize
list admin credentials used in a GLOBAL context.
Instead of reporting an invalid password, by default
a valid list admin password will be ignored.
* lib/Mj/CommandProps.pm: Add support for the "list"
and "list_password" general access variables, and
the "newlist" access variable for the createlist
command.
Bugfix: The unsubscribe command does not support
the "ALL" list.
* lib/Mj/Config.pm: (_compile_rule) Bugfix: Fix
quoting problems when access variables appear on
the right-hand side of comparisons.
* lib/Mj/MailOut.pm: (mail_message) Do not mail
messages to example.com addresses.
* lib/Mj/Parser.pm: (parse_part) Improve support
for the "default list" command.
* lib/Mj/Token.pm: (confirm) Ensure that GLOBAL
commands result in GLOBAL tokens.
2003-11-19 Michael Yount <[email protected]>
* convertdb.pl: Support db->text conversions, and
improve error checking.
Thanks to Mohamed Lrhazi.
* bin/mj_shell, mj_wwwadm: Use "default" descriptions
for the newfaq, newinfo, and newintro commands.
* lib/Majordomo.pm: Version number is now 0.1200311190.
(_get_stock) "no warnings" directive is not supported
by perl 5.5. Thanks to Marc Fournier.
2003-11-18 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_put) If the file description is
the word "default," use the existing description.
(_get_stock) Avoid spurious "deprecated" warnings from
perl 5.8.2. Thanks to Brock Rozen.
* lib/Mj/Parser.pm: Remove hard-coded English.
Use a file's description in the Subject header if the
output of a command is mailed to another person.
2003-11-16 Michael Yount <[email protected]>
* lib/Mj/Addr.pm: (_validate) Bugfix: Return the full domain.
Thanks to Roger Klorese.
2003-11-12 Michael Yount <[email protected]>
* lib/Mj/BounceHandler.pm: (handle_bounce_message) Override
the address found by the parser with the VERP address if
necessary.
(handle_bounce_removal) Bugfix: Convert the address from
an object to a string when substituting.
Thanks to Roger Klorese and Jeff Wasilko.
2003-11-08 Michael Yount <[email protected]>
* lib/Mj/MailOut.pm: (welcome) Increase the message count
only if a welcome file has already been processed.
Thanks to Roger Klorese.
2003-11-04 Michael Yount <[email protected]>
* lib/Majordomo.pm: Version number is now 0.1200311040.
(_createlist) Pass the domain name to the shell hook.
* lib/Mj/BounceHandler.pm: (_hbr_noprobe) Pass the
domain, list, and user to the shell hook.
* lib/Mj/Resend.pm: (_r_strip_body) Add missing ops
for perl 5.8.1 compatibility. Warn if an error occurs
in the filtering code.
2003-11-03 Michael Yount <[email protected]>
* setup/install_util.pl: (copy_file) If a link was requested
and the Mj2 and CGI directories occupy different partitions,
use a symbolic link.
Thanks to Eric Sorenson.
2003-11-02 Michael Yount <[email protected]>
* lib/Mj/Addr.pm: (_xform) Add safe ops for perl 5.8.1
compatability.
* lib/Mj/Resend.pm: (_check_header, _check_body, _r_strip_body)
Add safe ops for perl 5.8.1 compatibility.
* lib/Mj/Util.pm: (process_rule, re_match) Add safe ops
for perl 5.8.1 compatibility.
Thanks to Brock Rozen.
2003-11-01 Michael Yount <[email protected]>
* Makefile.PL: Compensate for changes in the MakeMaker
installbin routine. Thanks to Devin Reade.
2003-10-29 Michael Yount <[email protected]>
* lib/Mj/MIMEParser.pm: (parse_open) Bugfix: Call
parse_in() instead of parse_open() as needed to allow
Mj2 to work with MIME::Tools version 4 again.
* lib/Mj/Resend.pm: (_r_ck_header) Bugfix: Initialize
the dup_msg_id access variable correctly to avoid
tickling the tainting bug in perl 5.5 and earlier versions.
2003-10-28 Michael Yount <[email protected]>
* bin/mj_enqueue: Cope better with empty messages.
Thanks to SRE.
* lib/Mj/BounceHandler.pm: Rewrite to use messages
instead of hard-coded English.
(handle_bounce_message) Compensate for truncated VERP
addresses. Thanks to Jeff Wasilko.
* lib/Mj/BounceParser.pm: (parse_dsn) Cope with DSN
irregularities. Thanks to Jeff Wasilko.
* lib/Mj/CommandProps.pm: Allow the "reason" action
to be used in the bounce_rules setting.
* lib/Mj/Config.pm: (_compile_rule, _ck_var) Bugfix:
Allow variables to be used on the right side of comparisons.
Thanks to SRE.
* lib/Mj/SimpleDB/Text.pm: (get_matching*regexp) Bugfix:
Remove anchors before calling Mj::File::search().
Thanks to Eric Luhrs.
2003-10-07 Michael Yount <[email protected]>
* lib/Mj/Access.pm: (_d_post) Bugfix: Use the correct
sublist name when testing for Mj1-style restrict_post groups.
2003-09-22 Michael Yount <[email protected]>
* lib/Majordomo.pm: (substitute_vars_format) Bugfix:
Restore newline replacement trick to preserve formatting
alignment. Thanks to Roger Klorese.
2003-09-18 Michael Yount <[email protected]>
* lib/Majordomo.pm: (substitute_vars_format) Bugfix:
Remove backslashes before dollar signs on lines that
have no substitution variables. Account for newlines
in regular expressions. Thanks to Roger Klorese.
* lib/Mj/Addr.pm: (new) Bugfix: Unfold the address
before parsing it. Thanks to David Miller.
2003-09-14 Michael Yount <[email protected]>
* lib/Mj/Config.pm: (_compile_rule) Bugfix: A sublist
followed by a right paren (e.g., "(!@MAIN)") in a rule
would result in a syntax error because the paren was discarded.
* lib/Mj/Util.pm: (process_rule) Bugfix: The default
"ignore" is not a terminal action.
2003-09-12 Michael Yount <[email protected]>
* lib/Mj/Format.pm: (configset, configshow, sescape)
Escape dollar signs to avoid unwanted substitutions.
Thanks to SRE.
2003-08-30 Michael Yount <[email protected]>
* lib/Majordomo.pm: (_get_msg_data) Improve MIME
entity validation.
* lib/Mj/Resend.pm: (_r_ck_body, _add_fters) Improve
validation of MIME body parts.
2003-08-13 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (_r_strip_body) Bugfix: allow
single-part HTML messages to be cleaned.
(clean_text) Distinguish empty elements from elements
with content.
Process the decoded, not encoded, text.
* lib/Mj/Util.pm: (plain_to_hyper) Change the escape()
calling conventions
(clean_html) Distinguish empty elements from elements
with content.
2003-08-12 Michael Yount <[email protected]>
* lib/Mj/Resend.pm: (_r_strip_body) Bugfix: preserve
the original character set and encoding of altered
message parts.
(_format_text) Process the decoded, not encoded, text.
2003-06-20 Michael Yount <[email protected]>
* lib/Majordomo.pm: (connect) Close the session handle
explicitly to avoid potential descriptor leak.
* lib/Mj/Token.pm: Improve error checking when
_make_tokendb is called.