]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/blob - ChangeLog
* Import spamass-milter 0.3.1
[deb_pkgs/spamass-milter.git] / ChangeLog
1 2006-04-05 10:59  Dan Nelson <dnelson@allantgroup.com>
2
3         * NEWS, configure.in:
4
5         0.3.1
6
7 2006-03-23 15:51  Dan Nelson <dnelson@allantgroup.com>
8
9         * NEWS:
10
11         news update (sa 3.1.1, better Received header)
12
13 2006-03-23 15:41  Dan Nelson <dnelson@allantgroup.com>
14
15         * spamass-milter.cpp:
16
17         Spamassassin 3.1.1 now emits headers with CRLF if the incoming message
18         has CRLFs.  Make sure that we strip the CR from wrapped headers when we
19         parse the returned message.
20
21 2006-01-23 14:47  Dan Nelson <dnelson@allantgroup.com>
22
23         * Makefile.am:
24
25         .deps isn't created since we use no-dependencies
26
27 2005-10-06 10:12  Dan Nelson <dnelson@allantgroup.com>
28
29         * configure.in:
30
31         Add /usr/sbin to the list of directories to look for sendmail in, just
32         in case the user doesn't have it in their $PATH.  /usr/lib was the
33         historical location for sendmail, but most systems put the real binary
34         in /usr/sbin now.
35
36 2005-08-15 10:10  Dan Nelson <dnelson@allantgroup.com>
37
38         * README:
39
40         Remove references to INSTALL, also mention autogen.sh.
41
42         http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14090
43
44 2005-06-02 13:30  Dan Nelson <dnelson@allantgroup.com>
45
46         * spamass-milter.cpp:
47
48         It turns out that mlfi_close /can/ be called without mlfi_connect, and
49         there is no guarantee that the context has been set.  If it's NULL,
50         just return.
51
52 2005-04-06 21:04  Dan Nelson <dnelson@allantgroup.com>
53
54         * README, spamass-milter.cpp, spamass-milter.h:
55
56
57         - Make our fake sendmail Received: header even better.
58
59         - Fix a silly bug in cmp_nocase_partial that made it return true if
60           either string was a prefix of the other (it should return true only
61           if s is a prefix of s2).
62
63         Thanks to Yoshitaka Tokugawa.
64
65 2005-02-22 10:10  Dan Nelson <dnelson@allantgroup.com>
66
67         * spamass-milter.cpp:
68
69         Change 172.16 to 172.16.0.0 in the usage text.  Partial IP addresses do
70         not parse correctly.
71
72 2005-02-05 01:34  Dan Nelson <dnelson@allantgroup.com>
73
74         * Makefile.am:
75
76         - new code to upload distfile and sigs to savannah's goofy ftp staging
77           area
78
79         - add mdoc2man.awk to the distfile
80
81 2005-02-05 01:03  Dan Nelson <dnelson@allantgroup.com>
82
83         * spamass-milter.cpp:
84
85         Fix some unused-variable warnings when not on FreeBSD.  The hack will
86         go away in the next release, since the bug has been fixed.
87
88 2005-02-04 13:25  Dan Nelson <dnelson@allantgroup.com>
89
90         * Makefile.am:
91
92         More automake cleanup cleanup.
93
94 2005-02-04 12:55  Dan Nelson <dnelson@allantgroup.com>
95
96         * NEWS, configure.in:
97
98         Version 0.3.0
99
100 2004-11-05 10:26  Dan Nelson <dnelson@allantgroup.com>
101
102         * autogen.sh:
103
104         update comment
105
106 2004-10-29 10:56  Dan Nelson <dnelson@allantgroup.com>
107
108         * autogen.sh:
109
110         check for automake 1.9
111
112 2004-09-23 23:42  Dan Nelson <dnelson@allantgroup.com>
113
114         * spamass-milter.cpp:
115
116         When reading headers from spamc's output, strip a trailing CR from the
117         line. if it exists.
118
119 2004-09-23 15:28  Dan Nelson <dnelson@allantgroup.com>
120
121         * configure.in:
122
123         Unlikely that this is doing any good
124
125 2004-09-23 15:27  Dan Nelson <dnelson@allantgroup.com>
126
127         * TODO:
128
129         ranges
130
131 2004-09-22 11:24  Dan Nelson <dnelson@allantgroup.com>
132
133         * TODO:
134
135         more stuff to do
136
137 2004-09-21 16:06  Dan Nelson <dnelson@allantgroup.com>
138
139         * NEWS:
140
141         fix crash on fork failure
142
143 2004-09-21 16:04  Dan Nelson <dnelson@allantgroup.com>
144
145         * spamass-milter.cpp:
146
147         Make sure variables are set in the constructor in the same order they
148         appear in the header.
149
150 2004-09-21 15:51  Dan Nelson <dnelson@allantgroup.com>
151
152         * spamass-milter.h:
153
154         Make a note that some variables should be collapsed into one
155
156 2004-09-21 15:49  Dan Nelson <dnelson@allantgroup.com>
157
158         * spamass-milter.cpp:
159
160         If a fork fails at the right time, "running" may be set when pid=-1.
161         This can be very bad when the cleanup routine runs kill(pid, SIGKILL).
162
163 2004-09-06 20:19  Dan Nelson <dnelson@allantgroup.com>
164
165         * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
166           ac_cxx_verbose_terminate_handler.m4:
167
168         Update ac-archive scripts and add upstream version ids
169
170 2004-09-06 20:12  Dan Nelson <dnelson@allantgroup.com>
171
172         * NEWS:
173
174         note that we support SA 3.0
175
176 2004-09-06 20:02  Dan Nelson <dnelson@allantgroup.com>
177
178         * ac_acx_pthread.m4:
179
180         Update to v1.10
181
182 2004-08-26 13:01  Dan Nelson <dnelson@allantgroup.com>
183
184         * spamass-milter.cpp:
185
186         When extracting the score, check for "score=###" as well as "hits=###"
187
188 2004-07-28 21:15  Dan Nelson <dnelson@allantgroup.com>
189
190         * spamass-milter.cpp:
191
192         I have no idea how gcc allowed this to compile.
193
194 2004-07-16 16:46  Dan Nelson <dnelson@allantgroup.com>
195
196         * spamass-milter.cpp:
197
198         In local_user, stop at the first "+" or "@", so we can handle
199         user+detail addresses correctly.  Something similar should be done for
200         full_user but that's a bit more complicated.
201
202 2004-07-06 12:42  Dan Nelson <dnelson@allantgroup.com>
203
204         * contrib/spamass-milter-suse.rc:
205
206         Another Linux startup script, this time for SUSE.
207
208 2004-07-01 18:02  Dan Nelson <dnelson@allantgroup.com>
209
210         * configure.in:
211
212         more inline prevention
213
214 2004-06-03 21:50  Dan Nelson <dnelson@allantgroup.com>
215
216         * spamass-milter.cpp:
217
218         Don't segfault if we can't fetch the _ and j macros.
219
220 2004-05-19 10:00  Dan Nelson <dnelson@allantgroup.com>
221
222         * spamass-milter.cpp:
223
224         Misc C++ cleanups courtesy Jeremy Lin, plus a fix for Linux's ps
225         showing blanks in the arguments to -i and -d.
226
227 2004-05-13 16:50  Dan Nelson <dnelson@allantgroup.com>
228
229         * ac_pike_compiler_flag.m4, autogen.sh:
230
231         Support automake 1.8
232
233 2004-05-13 16:43  Dan Nelson <dnelson@allantgroup.com>
234
235         * spamass-milter.cpp:
236
237         Adjust output of generated Received: header to more closely match
238         sendmail's output.  Spamassassin is very picky about parsing it.  Fixes
239         savannah bug 6970 and patch 3051.
240
241         Also convert all "RCPT TO" commands to X-Envelope-To: headers, not just
242         the first one.  This may have prevented whitelist checks from applying
243         to all recipients.
244
245 2004-05-10 13:59  Dan Nelson <dnelson@allantgroup.com>
246
247         * spamass-milter.cpp:
248
249         Don't use asprintf to expand aliases, since we also use 'buf' to read
250         the results of the popen.  Just set a 1024-char buffer, and anyone with
251         an email address longer than that loses.
252
253 2004-04-20 10:28  Dan Nelson <dnelson@allantgroup.com>
254
255         * autogen.sh:
256
257         Check for a couple more autoconf versions
258
259         Also set $AUTOM4TE and blow away autom4te* subdirs
260
261 2004-03-27 14:05  Dan Nelson <dnelson@allantgroup.com>
262
263         * TODO:
264
265         tcp wrappers support
266
267 2004-03-18 13:04  Dan Nelson <dnelson@allantgroup.com>
268
269         * TODO:
270
271         ipv6
272
273 2004-03-18 12:37  Dan Nelson <dnelson@allantgroup.com>
274
275         * configure.in, spamass-milter.1.in, spamass-milter.cpp,
276           spamass-milter.h:
277
278         Document -p and -x
279
280         Add the ability to send spam to a spambucket even if -r is set
281
282 2004-03-17 18:05  Dan Nelson <dnelson@allantgroup.com>
283
284         * NEWS:
285
286         typo.
287
288 2004-02-24 17:02  Dan Nelson <dnelson@allantgroup.com>
289
290         * autogen.sh:
291
292         Finally figured out why sometimes it would run the wrong auto* tool.
293         You need to set all 4 of these variables before calling any, or they'll
294         use their defaults which may be wrong.
295
296 2004-02-21 22:18  Dan Nelson <dnelson@allantgroup.com>
297
298         * NEWS, spamass-milter.cpp:
299
300         arg. why does cvs default to commit on a blank log.
301
302         Put email alias expansion under a flag (-x, defaulted to off).
303
304 2004-02-21 22:16  Dan Nelson <dnelson@allantgroup.com>
305
306         * spamass-milter.cpp:
307
308         [no log message]
309
310 2004-02-09 17:03  Dan Nelson <dnelson@allantgroup.com>
311
312         * contrib/spamass-milter.sh:
313
314         Convert the FreeBSD startup script to rc.subr format.
315
316 2004-01-27 13:39  Dan Nelson <dnelson@allantgroup.com>
317
318         * spamass-milter.1.in, spamass-milter.cpp:
319
320         -e now requires the default domain as a parameter.  Also fix up
321         whitespace and punctuation in the manpage.
322
323 2003-10-26 22:00  Dan Nelson <dnelson@allantgroup.com>
324
325         * autogen.sh:
326
327         Force automake to use the version of autoconf that we want.
328
329 2003-10-24 12:36  Dan Nelson <dnelson@allantgroup.com>
330
331         * contrib/spamass-milter.sh:
332
333         update FreeBSD rc script to use the pidfile
334
335 2003-10-24 01:55  Dan Nelson <dnelson@allantgroup.com>
336
337         * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
338           ac_cxx_verbose_terminate_handler.m4, configure.in,
339           spamass-milter.cpp:
340
341         Use gcc's verbose exception handler is possible.  If this function is
342         unavailable, C++ will simply abort on any exception.  Ugh.
343
344 2003-10-24 01:53  Dan Nelson <dnelson@allantgroup.com>
345
346         * ac_pike_compiler_flag.m4:
347
348         Use CPPFLAGS instead of CFLAGS/CXXFLAGS
349
350 2003-10-21 16:41  Dan Nelson <dnelson@allantgroup.com>
351
352         * NEWS:
353
354         update
355
356 2003-10-21 16:40  Dan Nelson <dnelson@allantgroup.com>
357
358         * configure.in, daemon.c, spamass-milter.cpp:
359
360         make -f fully daemonize, and add -P to create a pidfile.
361
362 2003-09-12 00:45  Dan Nelson <dnelson@allantgroup.com>
363
364         * spamass-milter.cpp:
365
366         remove $Revision:$
367
368 2003-09-12 00:42  Dan Nelson <dnelson@allantgroup.com>
369
370         * spamass-milter.cpp:
371
372         FreeBSD's libc_r userland threads has a race condition in popen, but I
373         don't know where.  Wrap it in a mutex just to be safe.
374
375 2003-09-05 21:38  Dan Nelson <dnelson@allantgroup.com>
376
377         * configure.in:
378
379         no more spamass-milter.man.in
380
381 2003-09-05 21:15  Dan Nelson <dnelson@allantgroup.com>
382
383         * Makefile.am:
384
385         no more spamass-milter.man.in
386
387 2003-09-05 21:06  Dan Nelson <dnelson@allantgroup.com>
388
389         * configure.in:
390
391         no more spamass-milter.man
392
393 2003-09-05 11:42  Dan Nelson <dnelson@allantgroup.com>
394
395         * Makefile.am:
396
397         Distribute mdoc2man.awk, and let systems without mdoc functionality
398         convert the manpage themselves.
399
400 2003-09-05 11:33  Dan Nelson <dnelson@allantgroup.com>
401
402         * mdoc2man.awk:
403
404
405         Yay!  Peter Stuge decided on a license, so bring this back into CVS.
406
407 2003-09-02 23:53  Dan Nelson <dnelson@allantgroup.com>
408
409         * spamass-milter.cpp:
410
411         Oops.  Forgot to strip the domain part in local_user when there are no brackets.
412
413 2003-08-29 11:01  Dan Nelson <dnelson@allantgroup.com>
414
415         * ac_pike_compiler_flag.m4, configure.in:
416
417         Pull in another autoconf test from Pike, which lets us test for
418         compiler flags.  Add -fno-default-inline if possible, which disables
419         inlining of functions in classes.  gdb does not process them correctly,
420         making debugging a pain.
421
422 2003-08-29 11:00  Dan Nelson <dnelson@allantgroup.com>
423
424         * spamass-milter.cpp:
425
426         Redirect stderr to stdout when running sendmail -bv; otherwise we lose
427         anything sent to stderr
428
429 2003-08-28 09:59  Dan Nelson <dnelson@allantgroup.com>
430
431         * TODO, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
432
433         Add -e flag to pass full email address to spamc
434
435         Run all recipients through sendmail -bv (this may end up behind a
436         commandline switch, but it's low-overhead so probably not).
437
438 2003-08-12 22:47  Dan Nelson <dnelson@allantgroup.com>
439
440         * configure.in, spamass-milter.cpp, spamass-milter.h:
441
442         - add printf style checking to debug() on systems that support it
443         - search for sendmail instead of relying on paths.h which may not exist
444
445 2003-08-12 22:33  Dan Nelson <dnelson@allantgroup.com>
446
447         * ac_acx_pthread.m4:
448
449         Bump original version to 1.8, since the originating webpage apparently
450         did.  There are absolutely no changes other than the version number.
451
452 2003-08-11 17:12  Dan Nelson <dnelson@allantgroup.com>
453
454         * spamass-milter.cpp:
455
456         move newrecipients out of the inner loop
457
458 2003-08-11 16:36  Dan Nelson <dnelson@allantgroup.com>
459
460         * configure.in, spamass-milter.1.in, spamass-milter.cpp,
461           spamass-milter.h:
462
463         Preliminary work to support alias/virtusertable expansion.
464         sendmail -bv is called and its output is parsed, but all we do is log it
465         so far.
466
467 2003-08-05 23:45  Dan Nelson <dnelson@allantgroup.com>
468
469         * spamass-milter.cpp:
470
471         Fix two cases where we caught an error but didn't clean up the assassin
472         object.
473
474 2003-08-05 23:29  Dan Nelson <dnelson@allantgroup.com>
475
476         * spamass-milter.cpp:
477
478         - Correctly exit if we can't exec spamc
479         - Check our polled fds for errors - prevents us from spinning if
480           something happens to spamc
481
482 2003-08-04 23:13  Dan Nelson <dnelson@allantgroup.com>
483
484         * NEWS:
485
486         document crash on empty body fix
487
488 2003-08-04 18:03  Dan Nelson <dnelson@allantgroup.com>
489
490         * Makefile.am:
491
492         Distribute subst_poll.h
493
494 2003-07-31 17:35  Dan Nelson <dnelson@allantgroup.com>
495
496         * spamass-milter.cpp:
497
498         We still need to call update_or_insert for headers if -M is set, so we
499         can cache the header value.  Just don't call the milter update
500         functions.
501
502 2003-07-31 14:13  Dan Nelson <dnelson@allantgroup.com>
503
504         * NEWS, spamass-milter.1.in, spamass-milter.cpp:
505
506         New -M flag that disables all body/header changes.  With this flag, the
507         milter is transparent to the message stream.
508
509 2003-07-21 20:10  Dan Nelson <dnelson@allantgroup.com>
510
511         * spamass-milter.cpp:
512
513         POSIX says strcasecmp requires strings.h
514
515 2003-07-16 21:28  Dan Nelson <dnelson@allantgroup.com>
516
517         * spamass-milter.cpp:
518
519         If there is no body, set bob to point to the end of the string returned
520         by spamassassin instead of string::npos.
521
522 2003-07-09 12:58  Dan Nelson <dnelson@allantgroup.com>
523
524         * TODO:
525
526         [no log message]
527
528 2003-07-07 14:46  Dan Nelson <dnelson@allantgroup.com>
529
530         * spamass-milter.cpp:
531
532         Added func logging for two returns in ::output and ::input
533
534 2003-07-07 14:44  Dan Nelson <dnelson@allantgroup.com>
535
536         * spamass-milter.cpp:
537
538         Add func debug logging for mlfi_envrcpt
539
540 2003-07-07 14:39  Dan Nelson <dnelson@allantgroup.com>
541
542         * spamass-milter.cpp:
543
544         shortcut ip_in_networklist if the list is empty.
545
546 2003-07-07 13:45  Dan Nelson <dnelson@allantgroup.com>
547
548         * TODO:
549
550         [no log message]
551
552 2003-07-02 17:28  Dan Nelson <dnelson@allantgroup.com>
553
554         * TODO:
555
556         things to do
557
558 2003-06-30 15:24  Dan Nelson <dnelson@allantgroup.com>
559
560         * configure.in:
561
562         Small workaround for people trying to configure from CVS.  Create a
563         blank spamass-milter.man.in if it doesn't already exist.
564
565 2003-06-30 15:23  Dan Nelson <dnelson@allantgroup.com>
566
567         * autogen.sh:
568
569         spell automake with a lowercase a
570
571 2003-06-26 22:24  Dan Nelson <dnelson@allantgroup.com>
572
573         * contrib/spamass-milter.spec.in:
574
575         We don't have these two files.
576
577 2003-06-26 17:13  Dan Nelson <dnelson@allantgroup.com>
578
579         * NEWS, configure.in:
580
581         Now at 0.2.0+cvs
582
583 2003-06-26 16:57  Dan Nelson <dnelson@allantgroup.com>
584
585         * NEWS, configure.in:
586
587         Version 0.2.0
588
589 2003-06-26 10:10  Dan Nelson <dnelson@allantgroup.com>
590
591         * spamass-milter.cpp:
592
593         typo
594
595 2003-06-26 09:45  Dan Nelson <dnelson@allantgroup.com>
596
597         * spamass-milter.cpp:
598
599         NULL hostaddr is actually a common occurance; running sendmail on the
600         local host does this.  Map NULL to 127.0.0.1 so it's treated just like
601         a connection to localhost port 25.
602
603 2003-06-25 11:17  Dan Nelson <dnelson@allantgroup.com>
604
605         * NEWS, spamass-milter.1.in, spamass-milter.cpp:
606
607         Document -B, and sort -h output
608
609 2003-06-25 10:17  Dan Nelson <dnelson@allantgroup.com>
610
611         * Makefile.am, configure.in, mdoc2man.awk:
612
613         I haven't gotten a license from the author of mdoc2man.awk, so remove
614         it and, distribute a preproccesed .man.in for systems without mdoc
615         macros instead.
616
617 2003-06-25 10:15  Dan Nelson <dnelson@allantgroup.com>
618
619         * spamass-milter.cpp:
620
621         Check for a NULL hostaddr in mlfi_connect.  It should never happen, so
622         emit a warning in the log when it does.
623
624 2003-06-18 18:13  Dan Nelson <dnelson@allantgroup.com>
625
626         * ac_dmalloc.m4, configure.in, spamass-milter.cpp:
627
628         - Use my own dmalloc check, since AM_WITH_DMALLOC only works for
629           nonthreaded C programs.
630
631         - Some systems provide strsep() but no prototype.  Check for that.
632
633 2003-06-18 13:57  Dan Nelson <dnelson@allantgroup.com>
634
635         * ac_pike_paths.m4, configure.in:
636
637         - Add a --with-dmalloc option
638
639         - Search some common directories for includes and libraries, to find
640           dmalloc or user-compiled sendmail libs.
641
642 2003-06-16 14:59  Dan Nelson <dnelson@allantgroup.com>
643
644         * TODO:
645
646         [no log message]
647
648 2003-06-14 14:17  Dan Nelson <dnelson@allantgroup.com>
649
650         * spamass-milter.h:
651
652         Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
653         was before rev 1.38.  This should fix reports of "spamd: bad protocol"
654         errors being logged when we kill spamc without sending any data.
655
656 2003-06-14 14:01  Dan Nelson <dnelson@allantgroup.com>
657
658         * spamass-milter.cpp:
659
660         Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
661         was before rev 1.38.  This should fix reports of "spamd: bad protocol"
662         errors being logged when we kill spamc without sending any data.
663
664 2003-06-12 21:39  Dan Nelson <dnelson@allantgroup.com>
665
666         * Makefile.am:
667
668         Add an "upload" makefile target that pushes tarballs to savannah
669
670 2003-06-12 17:41  Dan Nelson <dnelson@allantgroup.com>
671
672         * Makefile.am, spamass-milter.cpp, spamass-milter.h:
673
674         Lowercase the username when using -u; email addresses are
675         case-insensitive, but userids are usually all-lowercase and
676         case-sensitive.
677
678 2003-06-11 15:18  Dan Nelson <dnelson@allantgroup.com>
679
680         * NEWS:
681
682         update
683
684 2003-06-11 15:17  Dan Nelson <dnelson@allantgroup.com>
685
686         * spamass-milter.cpp, spamass-milter.h:
687
688         * Even better sendmail-style Received: header generation.  Pass SA the
689           value of the HELO command.  This lets rules like FORGED_HOTMAIL work.
690
691         * Beginnings of a better debug logline.  Remember the sendmail queue ID.
692           Not sure of the best way to pass it to the debug() function though.
693
694 2003-06-10 13:42  Dan Nelson <dnelson@allantgroup.com>
695
696         * README:
697
698         Remove some of the disclaimers; it's pretty stable now.
699
700 2003-06-10 00:52  Dan Nelson <dnelson@allantgroup.com>
701
702         * Makefile.am:
703
704         Tell automake we would like a bzip2 tarball also
705
706 2003-06-10 00:02  Dan Nelson <dnelson@allantgroup.com>
707
708         * strsep.c:
709
710         really add Id
711
712 2003-06-10 00:02  Dan Nelson <dnelson@allantgroup.com>
713
714         * strsep.c:
715
716         add Id
717
718 2003-06-09 23:57  Dan Nelson <dnelson@allantgroup.com>
719
720         * configure.in, spamass-milter.cpp, strsep.c:
721
722         provide a strsep() for systems without one
723
724 2003-06-09 23:47  Dan Nelson <dnelson@allantgroup.com>
725
726         * spamass-milter.cpp:
727
728         printf->fprintf
729
730 2003-06-09 22:03  Dan Nelson <dnelson@allantgroup.com>
731
732         * TODO, spamass-milter.cpp:
733
734         New flag -B.  Just like -b, but the original recipient gets the spam too.
735
736 2003-06-09 16:24  Dan Nelson <dnelson@allantgroup.com>
737
738         * TODO:
739
740         Just realized you can redirect to /dev/null to silently drop spam
741
742 2003-06-09 15:27  Dan Nelson <dnelson@allantgroup.com>
743
744         * TODO:
745
746         alias expansion?
747
748 2003-06-09 12:19  Dan Nelson <dnelson@allantgroup.com>
749
750         * NEWS, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
751
752         Add spambucket support.  "-b otheraddress" will redirect all tagged
753         spam to that address.  Original recipients get put into X-Spam-Orig-To:
754         headers.
755
756 2003-06-09 12:16  Dan Nelson <dnelson@allantgroup.com>
757
758         * spamass-milter.1.in:
759
760         mdoc cleanup
761
762 2003-06-09 10:57  Dan Nelson <dnelson@allantgroup.com>
763
764         * poll.c:
765
766         Oops.  forgot to include config.h
767
768 2003-06-07 14:50  Dan Nelson <dnelson@allantgroup.com>
769
770         * TODO:
771
772         scratchpad so I don't forget things
773
774 2003-06-07 14:43  Dan Nelson <dnelson@allantgroup.com>
775
776         * ac_vl_prog_cc_warnings.m4, configure.in:
777
778         Use VL_PROG_CC_WARNINGS to add compiler-appropriate warnings flags
779
780 2003-06-07 14:16  Dan Nelson <dnelson@allantgroup.com>
781
782         * spamass-milter.cpp, spamass-milter.h:
783
784         Instead of playing musical chairs with our private context pointer,
785         create a single structure that holds both the remote IP address and the
786         pointer to our assassin object.
787
788 2003-06-06 21:56  Dan Nelson <dnelson@allantgroup.com>
789
790         * ac_acx_pthread.m4, ac_cf_gnu_source.m4, acinclude.m4, autogen.sh:
791
792         Split 3rd-party autoconf macros out into their own files
793
794 2003-06-06 16:04  Dan Nelson <dnelson@allantgroup.com>
795
796         * NEWS:
797
798         Summarize the last few days worth of commits
799
800 2003-06-06 15:48  Dan Nelson <dnelson@allantgroup.com>
801
802         * README, spamass-milter.cpp:
803
804         Generate a better dummy Received: header.  If the admin has added the
805         "b" macro (rfc822 date) to the milter's list of visible macros, pass
806         that to spamc.  This allows SA to do Date: header validation if there
807         are no other Received: headers in the message.
808
809         Also update README to include the sendmail.mc line required to enable "b".
810
811 2003-06-06 11:37  Dan Nelson <dnelson@allantgroup.com>
812
813         * spamass-milter.cpp, spamass-milter.h:
814
815
816         Remember the envelope sender and recipient, remember the connecting IP,
817         and insert appropriate headers at the top of the message we send to
818         spamc, so that Spamassassin can use them.
819
820         The envelope info gets put into X-Envelope-From: and X-Envelope-To: ,
821         which SA will use when checking the whitelist_to and _from rules.
822
823         The connecting IP gets put into a dummy "Received: [111.222.333.444]"
824         header.  Without it, none of the DNSBL or whitelist checks will see
825         this IP.  The dummy header does not seem to trigger any "forged
826         Received:" rules, so that's good.
827
828         Note that remembering the connecting IP address means we need to carry
829         information between the lifetimes of SpamAssassin objects, so we have
830         to use the milter private data pointer.  This means that within a
831         message, the pointer points to a SpamAssassin object.  Outside of a
832         message but during a client connection, the pointer points to a struct
833         connect_info.  This means some extra work in the message error path to
834         recover the connect_info pointer.  It also means that for symmetry, we
835         have to create the SpamAssassin object at the beginning on a "message"
836         session - i.e. within mlfi_envrcpt instead of mlfi_header.
837
838         Also for ease of coding add some more output methods with string and
839         unsized void* arguments.
840
841 2003-06-06 11:22  Dan Nelson <dnelson@allantgroup.com>
842
843         * spamass-milter.cpp:
844
845         Commit Waider's updated retrieve_field function that I forgot about.
846         This fixes a bug where the milter fails to retrieve the SA score from a
847         message with absolutely no headers.   The old code could not retrieve the
848         first header in a message, and if there are no headers in the original
849         message, the X-Spam-Status header ends up being the first.
850
851 2003-06-06 11:16  Dan Nelson <dnelson@allantgroup.com>
852
853         * spamass-milter.cpp:
854
855         RFC822 says the blank line between header and body is \r\n.
856         Spamassassin doesn't seem to care but it's wrong anyway :)
857
858 2003-06-06 11:10  Dan Nelson <dnelson@allantgroup.com>
859
860         * spamass-milter.cpp:
861
862         Clean up some debugging messages
863
864 2003-06-06 11:05  Dan Nelson <dnelson@allantgroup.com>
865
866         * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
867
868         Convert the debug levels into flags, so it's easier to enable debugging
869         for a single subsystem.  The old numbers are still supported.
870
871 2003-06-06 10:43  Dan Nelson <dnelson@allantgroup.com>
872
873         * spamass-milter.cpp:
874
875         Cleanup commit.  You don't need a semicolon after a function body, and
876         Intel's compiler warns about them.
877
878 2003-06-06 10:34  Dan Nelson <dnelson@allantgroup.com>
879
880         * Makefile.am:
881
882         explicitly make spamass-milter.cpp depend on spamass-milter.h
883
884 2003-06-05 16:18  Dan Nelson <dnelson@allantgroup.com>
885
886         * spamass-milter.cpp:
887
888         reword -i description so it says skip checks instead of skip the
889         mail itself
890
891 2003-06-04 14:41  Dan Nelson <dnelson@allantgroup.com>
892
893         * spamass-milter.cpp:
894
895         I thought I cut'n'pasted this right, but I didn't.  Allocate the
896         right number of bytes for the internalnets array when resizing.
897
898 2003-06-03 02:20  Dan Nelson <dnelson@allantgroup.com>
899
900         * NEWS, spamass-milter.1.in:
901
902         update NEWS, adjust description of -i
903
904 2003-06-03 01:36  Dan Nelson <dnelson@allantgroup.com>
905
906         * spamass-milter.cpp, spamass-milter.h:
907
908         gcc 2.95 apparently can't handle the case where a struct and an element
909         have the same name.
910
911 2003-06-03 01:24  Dan Nelson <dnelson@allantgroup.com>
912
913         * AUTHORS, spamass-milter.1.in, spamass-milter.cpp,
914           spamass-milter.h:
915
916         Add -i to list netblocks to ignore (argument is a comma-delimited list
917         of ip addresses, ip/netmask, or ip/bits).
918
919         Remember arguments after --, and pass them to spamc.  This makes the -D
920         flag redundant, and lets you change the port number, enable SSL mode,
921         etc.
922
923 2003-06-02 21:09  Dan Nelson <dnelson@allantgroup.com>
924
925         * mdoc2man.awk:
926
927         If the server cannot process mdoc macros, use mdoc2man to generate a
928         manpage with man macros instead.
929
930 2003-06-02 21:08  Dan Nelson <dnelson@allantgroup.com>
931
932         * Makefile.am, configure.in, spamass-milter.cpp:
933
934
935         If the server cannot process mdoc macros, use mdoc2man to generate a
936         manpage with man macros instead.
937
938 2003-03-10 21:40  Dan Nelson <dnelson@allantgroup.com>
939
940         * configure.in, poll.c:
941
942         add some more headers to pooll.c, and allow the user to force poll
943         emulation, for testing.
944
945 2003-03-10 17:42  Dan Nelson <dnelson@allantgroup.com>
946
947         * autogen.sh:
948
949         expand check to search for automake as well, check for more versions
950
951 2003-03-06 23:11  Dan Nelson <dnelson@allantgroup.com>
952
953         * configure.in:
954
955         Oops.  Forgot to enable the poll.h test.
956
957 2003-03-06 22:33  Dan Nelson <dnelson@allantgroup.com>
958
959         * spamass-milter.1.in, spamass-milter.cpp:
960
961         Use 'defaultuser' instead of 'user' as an example when talking about
962         the argument to the -u flag.
963
964 2003-03-06 22:26  Dan Nelson <dnelson@allantgroup.com>
965
966         * spamass-milter.1.in:
967
968         Document the -D host flag.
969
970 2003-03-06 15:50  Dan Nelson <dnelson@allantgroup.com>
971
972         * configure.in:
973
974         I keep forgetting to bump the version number before and after a
975         release.  We are now at 0.1.3a+cvs
976
977 2003-03-06 15:40  Dan Nelson <dnelson@allantgroup.com>
978
979         * poll.c, subst_poll.h:
980
981
982         Add Ids, also record that fact that this function was lifted from
983         the "wy60" terminal emulator software by Markus Gutschke.
984
985 2003-03-06 15:37  Dan Nelson <dnelson@allantgroup.com>
986
987         * Makefile.am, configure.in, poll.c, spamass-milter.cpp,
988           subst_poll.h:
989
990
991         Provide a substitute poll() function for systems that are missing it.
992
993 2003-03-06 15:33  Dan Nelson <dnelson@allantgroup.com>
994
995         * spamass-milter.cpp, AUTHORS, contrib/spamass-milter-redhat.rc:
996
997
998         . Add the ability to connect to a spamd on another server (-D host)
999
1000         . Change the redhat rc script's path to match where an RPM would put
1001           spamass-milter
1002
1003 2003-01-21 14:44  Dan Nelson <dnelson@allantgroup.com>
1004
1005         * spamass-milter.cpp:
1006
1007         (forced commit due to empty log message)
1008
1009         Fix "-u" to actually pass its argument to spamc instead of hardcoding
1010         "_multi_".
1011
1012 2003-01-21 14:42  Dan Nelson <dnelson@allantgroup.com>
1013
1014         * spamass-milter.cpp:
1015
1016         [no log message]
1017
1018 2003-01-17 14:53  Dan Nelson <dnelson@allantgroup.com>
1019
1020         * contrib/spamass-milter-redhat.rc:
1021
1022         Config files are sourced and do not require the execute bit set, so
1023         just test to see if the file exists.
1024
1025 2002-12-31 14:17  Dan Nelson <dnelson@allantgroup.com>
1026
1027         * NEWS, configure.in:
1028
1029         Version 0.1.3a
1030
1031 2002-12-31 14:03  Dan Nelson <dnelson@allantgroup.com>
1032
1033         * spamass-milter.cpp:
1034
1035         Add a call to fork spamc after header processing, as a fallback case
1036         for when no headers are sent at all.
1037
1038 2002-12-31 13:34  Dan Nelson <dnelson@allantgroup.com>
1039
1040         * spamass-milter.cpp:
1041
1042         add a big more debugging to the poll loop
1043
1044 2002-12-27 16:32  Dan Nelson <dnelson@allantgroup.com>
1045
1046         * configure.in:
1047
1048         Version is now 0.1.3+cvs
1049
1050 2002-12-27 15:53  Dan Nelson <dnelson@allantgroup.com>
1051
1052         * configure.in:
1053
1054         Change version to 0.1.3
1055
1056 2002-12-27 15:52  Dan Nelson <dnelson@allantgroup.com>
1057
1058         * NEWS:
1059
1060         Add Id
1061
1062 2002-12-27 15:50  Dan Nelson <dnelson@allantgroup.com>
1063
1064         * NEWS:
1065
1066         News for 0.1.3
1067
1068 2002-12-27 15:38  Dan Nelson <dnelson@allantgroup.com>
1069
1070         * Makefile.am:
1071
1072         Add FreeBSD rc script
1073
1074 2002-12-27 15:36  Dan Nelson <dnelson@allantgroup.com>
1075
1076         * contrib/spamass-milter.sh:
1077
1078         add Id
1079
1080 2002-12-27 15:35  Dan Nelson <dnelson@allantgroup.com>
1081
1082         * contrib/spamass-milter.sh:
1083
1084         Add a FreeBSD startup script
1085
1086 2002-12-23 11:08  Dan Nelson <dnelson@allantgroup.com>
1087
1088         * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1089
1090         Add -u option to pass the username to spamc.  Without -u behaviour
1091         should be unchanged.
1092
1093 2002-12-21 12:20  Dan Nelson <dnelson@allantgroup.com>
1094
1095         * spamass-milter.cpp:
1096
1097         Check for an empty header
1098
1099 2002-12-21 12:18  Dan Nelson <dnelson@allantgroup.com>
1100
1101         * spamass-milter.1.in:
1102
1103         document debug level 3
1104
1105 2002-11-17 17:01  Dan Nelson <dnelson@allantgroup.com>
1106
1107         * AUTHORS:
1108
1109         Update list of patch submitters
1110
1111 2002-11-17 16:57  Dan Nelson <dnelson@allantgroup.com>
1112
1113         * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1114
1115         Add -r flag, which allows you to have sendmail reject the message if SA
1116         tags it as spam, or if it exceeds a given score.
1117
1118         Closes patches 440 and 441, submitted by Patrick Monnerat <pm@datasphere.ch>
1119
1120 2002-11-15 17:22  Dan Nelson <dnelson@allantgroup.com>
1121
1122         * spamass-milter.1.in, spamass-milter.cpp:
1123
1124         Add -m option, which disables body, Subject:, and Content-Type: header
1125         modification.  Closes patch 385.
1126
1127 2002-11-15 15:54  Dan Nelson <dnelson@allantgroup.com>
1128
1129         * configure.in:
1130
1131         Revert the spamc check back to the way it was (find absolute path of
1132         spamc).  We'll do "spamc with arguments" testing later, when the milter
1133         can actaully handle it.
1134
1135 2002-11-15 01:18  Dan Nelson <dnelson@allantgroup.com>
1136
1137         * Makefile.am:
1138
1139         Switch from --fsf to --no-wrap, which is really what I wanted in the
1140         first place.
1141
1142 2002-11-15 01:17  Dan Nelson <dnelson@allantgroup.com>
1143
1144         * autogen.sh:
1145
1146
1147         Try really hard to run a new-ish version of autoconf.  This should make
1148         rhautogen.sh obsolete.
1149
1150 2002-11-15 01:04  Dan Nelson <dnelson@allantgroup.com>
1151
1152         * spamass-milter.cpp, spamass-milter.h:
1153
1154
1155         - Factor out all the header-changing code into a single
1156           update_or_insert function.  This greatly simplifies the whole
1157           program, finally making it insert/change/leave correctly for all the
1158           headers it touches.
1159
1160         - Fix mlfi_header to actually suppress incoming SA headers like it's
1161           supposed to.  This fixes a bug where an incoming SA header with the
1162           wrong case would end up overriding the header our SA tries to add.
1163
1164         - Declare a temporary string variable to hold the body text before we
1165           call smfi_replacebody.  Trying to do stringvar.substr(x,x).c_str()
1166           simply will not work.  substr() creates a temporary string object,
1167           c_str() dutifully returns a pointer to it, and when the destructor
1168           for the temp string frees the memory, the data the pointer points to
1169           gets blown away.  This fixes a longstanding bug where tagged emails
1170           would have their message body completely overwritten with x00 or xD0
1171           on OSes that ensure that free'd memory is blanked.
1172
1173         - C++ should be strangled, then shot, then burned, and the ashes set
1174           into a cement block and dumped into the ocean.  This should be
1175           obvious.
1176
1177 2002-11-14 21:23  Dan Nelson <dnelson@allantgroup.com>
1178
1179         * acinclude.m4:
1180
1181         Update acx_pthread; Tru64 and HP-UX compatibility, and make sure the tests are run under C
1182
1183 2002-11-14 21:22  Dan Nelson <dnelson@allantgroup.com>
1184
1185         * configure.in:
1186
1187         Only add /usr/lib/libmilter as a library path if the directory exists
1188
1189 2002-09-23 00:39  Dan Nelson <dnelson@allantgroup.com>
1190
1191         * configure.in:
1192
1193         Previous commit should read
1194
1195         AC_CHECK_PROG doesn't work; AC_CHECK_PROGS does.
1196
1197 2002-09-23 00:39  Dan Nelson <dnelson@allantgroup.com>
1198
1199         * configure.in:
1200
1201         AC_CHECK_PROG doesn't work; AC_CHECK_PROG does.
1202
1203 2002-09-20 16:15  Dan Nelson <dnelson@allantgroup.com>
1204
1205         * configure.in:
1206
1207
1208         Allow the user to specify spamc arguments during configure
1209
1210 2002-09-18 12:17  Dan Nelson <dnelson@allantgroup.com>
1211
1212         * Makefile.am, configure.in:
1213
1214
1215         Change version number to reflace that there are post-release changes.
1216
1217         Change how the ChangeLog is created for the distribution file, so we
1218         don't get a 0-byte ChangeLog.bak in the .tar.gz.
1219
1220 2002-08-28 11:54  Dan Nelson <dnelson@allantgroup.com>
1221
1222         * spamass-milter.cpp:
1223
1224         Add Id variable to store CVS version in the binary
1225
1226 2002-08-23 11:59  Dan Nelson <dnelson@allantgroup.com>
1227
1228         * spamass-milter.cpp:
1229
1230         Fix bug that caused doubling of Content-Type: on spam emails.
1231
1232 2002-08-19 15:39  Dan Nelson <dnelson@allantgroup.com>
1233
1234         * contrib/: spamass-milter-redhat.rc, spamass-milter.spec.in:
1235
1236         * Patches from Fritz Elfert <fritz.elfert@to.com>
1237           - Use RPM macros everywhere (this fixes install of manpage)
1238           - Changed Group to an official group of RedHat
1239           - Added preun and post scriptlets
1240           - Made clean scriptlet foolproof
1241           - Added condrestart to redhat rc script
1242
1243 2002-08-18 16:38  Dan Nelson <dnelson@allantgroup.com>
1244
1245         * NEWS:
1246
1247         Fix typo
1248
1249 2002-08-18 16:13  Dan Nelson <dnelson@allantgroup.com>
1250
1251         * NEWS:
1252
1253         News for 0.1.2
1254
1255 2002-08-18 16:13  Dan Nelson <dnelson@allantgroup.com>
1256
1257         * AUTHORS:
1258
1259         Update with my name, and add Waider
1260
1261 2002-08-18 15:53  Dan Nelson <dnelson@allantgroup.com>
1262
1263         * ChangeLog, Makefile.am:
1264
1265         More cleanup for the distribution.
1266
1267         - Zero out ChangeLog, as it is now autogenerated by "make dist".  You
1268           can manually generate one with "make changelog", but your tree must
1269           have been checked out with CVS for it to work (i.e. the dist tarball
1270           won't work, but then again it will ship with a matching ChangeLog, so
1271           who cares)
1272
1273         - Add some more files to maintainer-clean-local: and distclean-local:
1274           targets, as the autoconf/make people can't seem to keep track of what
1275           files their own tools generate.
1276
1277 2002-08-18 15:44  Dan Nelson <dnelson@allantgroup.com>
1278
1279         * contrib/users:
1280
1281         List of committer IDs and names, for use by cvs2cl
1282
1283 2002-08-17 22:09  Dan Nelson <dnelson@allantgroup.com>
1284
1285         * spamass-milter.1.in:
1286
1287         Remove some extra comments
1288
1289 2002-08-14 11:15  Dan Nelson <dnelson@allantgroup.com>
1290
1291         * spamass-milter.cpp:
1292
1293
1294         Fix swapped variables names preventing subject and content-type from
1295         being updated (from Lance A. Brown)
1296
1297 2002-07-25 23:32  Dan Nelson <dnelson@allantgroup.com>
1298
1299         * Makefile.am, configure.in, spamass-milter.1.in:
1300
1301         Minimal manpage.
1302
1303 2002-07-24 11:19  Dan Nelson <dnelson@allantgroup.com>
1304
1305         * Makefile.am, autogen.sh, configure.in, rhautogen.sh,
1306           contrib/spamass-milter, contrib/spamass-milter-redhat.rc,
1307           contrib/spamass-milter.spec.in:
1308
1309
1310         - Add RedHat .spec and .rc files
1311
1312         - Add contrib/ files to the distfile
1313
1314 2002-07-22 22:48  Dan Nelson <dnelson@allantgroup.com>
1315
1316         * spamass-milter.cpp:
1317
1318         Forgot to mention; the previous commit was patch 354
1319
1320 2002-07-22 22:47  Dan Nelson <dnelson@allantgroup.com>
1321
1322         * spamass-milter.cpp:
1323
1324
1325         Only replace Subject: and Content-Type: headers if they change
1326
1327 2002-07-22 22:46  Dan Nelson <dnelson@allantgroup.com>
1328
1329         * configure.in:
1330
1331         Make failure to find milter library fatal
1332
1333 2002-07-22 22:34  Dan Nelson <dnelson@allantgroup.com>
1334
1335         * spamass-milter.cpp:
1336
1337
1338         Patch 341
1339
1340         - Fix typo affecting the case of incoming spam with no subject
1341
1342 2002-07-22 21:05  Dan Nelson <dnelson@allantgroup.com>
1343
1344         * acinclude.m4:
1345
1346         Fix an accidentally spammed embedded Id
1347
1348 2002-07-22 21:02  Dan Nelson <dnelson@allantgroup.com>
1349
1350         * Makefile.am, acconfig.h, acinclude.m4, autogen.sh, configure.in,
1351           spamass-milter.cpp, spamass-milter.h:
1352
1353
1354         - Update to autoconf 2.53
1355         - Use ACX_PTHREAD for more portable threads detection
1356         - Only -lmilter is required; search for -lsm or -lsmutil when -lmilter fails,
1357           for compatibility with older sendmails
1358         - Only mfapi.h is required
1359         - add net library checks for Solaris
1360         - Reorder entries in autogen.sh
1361         - Move struct declarations into headers, and variable definitions into
1362           source.
1363         - add -d debug flag
1364         - fix incorrect use of LOG_ macros
1365         - use poll when feeding data to spamc to avoid the 250k deadlock
1366         - compiles with gcc 3.1
1367
1368 2002-04-27 12:14  Georg C. F. Greve  <greve@gnu.org>
1369
1370         * contrib/spamass-milter:
1371
1372         adopted for commandline-parameter change
1373
1374 2002-04-27 12:05  Georg C. F. Greve  <greve@gnu.org>
1375
1376         * ChangeLog, spamass-milter.cpp, spamass-milter.h:
1377
1378         Added support for 'X-Spam-Level' Flag introduced with version 2.20 of SpamAssassin
1379
1380 2002-03-27 09:56  Michael Brown <michael@supermathie.net>
1381
1382         * spamass-milter.cpp:
1383
1384         Added a -f option that makes spamass-milter fork into the background
1385         spamass-milt now removes the socket if it already exists.
1386
1387 2002-03-06 07:07  Georg C. F. Greve  <greve@gnu.org>
1388
1389         * AUTHORS, ChangeLog, NEWS, configure.in, spamass-milter.cpp,
1390           spamass-milter.h, contrib/spamass-milter:
1391
1392         Applied some patches. Rights assigned to FSF Europe. Appointed Michael as maintainer.
1393
1394 2002-02-26 06:55  Georg C. F. Greve  <greve@gnu.org>
1395
1396         * contrib/spamass-milter:
1397
1398         seems I forgot to commit it last time. *sigh*
1399
1400 2002-01-31 09:56  Georg C. F. Greve  <greve@gnu.org>
1401
1402         * NEWS:
1403
1404         News for 0.1.1
1405
1406 2002-01-31 09:34  Georg C. F. Greve  <greve@gnu.org>
1407
1408         * spamass-milter.cpp:
1409
1410         fixed some typing bugs... :-)
1411
1412 2002-01-31 09:28  Georg C. F. Greve  <greve@gnu.org>
1413
1414         * spamass-milter.cpp, spamass-milter.h, ChangeLog, configure.in:
1415
1416         * Update for Version 2.0+ of SpamAssassin
1417         * Only modify mail *not* rated Spam before, leave marked Spam untouched
1418
1419 2002-01-16 16:24  Georg C. F. Greve  <greve@gnu.org>
1420
1421         * spamass-milter.cpp:
1422
1423         output package name & version with usage
1424
1425 2002-01-16 16:19  Georg C. F. Greve  <greve@gnu.org>
1426
1427         * spamass-milter.cpp:
1428
1429         now using SPAMC variable determined in configure
1430
1431 2002-01-16 16:16  Georg C. F. Greve  <greve@gnu.org>
1432
1433         * contrib/README.gnus:
1434
1435         This might be useful to other gnus users.
1436
1437 2002-01-16 16:10  Georg C. F. Greve  <greve@gnu.org>
1438
1439         * README:
1440
1441         A small README to have minimal documentation
1442
1443 2002-01-16 15:41  Georg C. F. Greve  <greve@gnu.org>
1444
1445         * Makefile.am, acconfig.h, configure.in:
1446
1447         Autoconf should work now
1448
1449 2002-01-16 14:30  Georg C. F. Greve  <greve@gnu.org>
1450
1451         * acconfig.h, config.h.in, AUTHORS, NEWS, README:
1452
1453         autoconf setup still needs polishing
1454
1455 2002-01-16 14:26  Georg C. F. Greve  <greve@gnu.org>
1456
1457         * ChangeLog, Makefile.am, autogen.sh, configure.in, config.h.in:
1458
1459         autoconf setup still needs polishing
1460
1461 2002-01-16 03:41  Georg C. F. Greve  <greve@gnu.org>
1462
1463         * spamass-milter.cpp, spamass-milter.h:
1464
1465         Source Base
1466