1 2011-02-14 15:56 Dan Nelson <dnelson@allantgroup.com>
7 2011-02-14 15:50 Dan Nelson <dnelson@allantgroup.com>
11 revert 1.93 committed in error
13 2011-02-14 15:50 Dan Nelson <dnelson@allantgroup.com>
17 revert 1.25 committed in error
19 2011-02-14 15:48 Dan Nelson <dnelson@allantgroup.com>
23 revert 1.6 committed in error
25 2011-02-14 15:46 Dan Nelson <dnelson@allantgroup.com>
27 * ChangeLog, Makefile.am, spamass-milter.cpp, spamass-milter.h:
29 savannah disabled ftp uploads, at some point, so try rsync again
31 2011-02-14 15:31 Dan Nelson <dnelson@allantgroup.com>
37 2011-02-11 00:01 Dan Nelson <dnelson@allantgroup.com>
39 * spamass-milter.cpp, spamass-milter.h:
42 Replace all instances of popen() with a custom function that takes an argv
43 instead of a single string, to avoid a security hole when untrusted user
44 input is used as part of the command.
46 2006-07-24 14:59 Dan Nelson <dnelson@allantgroup.com>
50 Add missing ")" after envelope-from and add missing ";" before date in
51 generated Received: header.
53 http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17178
55 2006-04-19 10:40 Dan Nelson <dnelson@allantgroup.com>
59 add a line for confMILTER_MACROS_ENVRCPT
61 2006-04-05 10:59 Dan Nelson <dnelson@allantgroup.com>
67 2006-03-23 15:51 Dan Nelson <dnelson@allantgroup.com>
71 news update (sa 3.1.1, better Received header)
73 2006-03-23 15:41 Dan Nelson <dnelson@allantgroup.com>
77 Spamassassin 3.1.1 now emits headers with CRLF if the incoming message
78 has CRLFs. Make sure that we strip the CR from wrapped headers when we
79 parse the returned message.
81 2006-01-23 14:47 Dan Nelson <dnelson@allantgroup.com>
85 .deps isn't created since we use no-dependencies
87 2005-10-06 10:12 Dan Nelson <dnelson@allantgroup.com>
91 Add /usr/sbin to the list of directories to look for sendmail in, just
92 in case the user doesn't have it in their $PATH. /usr/lib was the
93 historical location for sendmail, but most systems put the real binary
96 2005-08-15 10:10 Dan Nelson <dnelson@allantgroup.com>
100 Remove references to INSTALL, also mention autogen.sh.
102 http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14090
104 2005-06-02 13:30 Dan Nelson <dnelson@allantgroup.com>
106 * spamass-milter.cpp:
108 It turns out that mlfi_close /can/ be called without mlfi_connect, and
109 there is no guarantee that the context has been set. If it's NULL,
112 2005-04-06 21:04 Dan Nelson <dnelson@allantgroup.com>
114 * README, spamass-milter.cpp, spamass-milter.h:
117 - Make our fake sendmail Received: header even better.
119 - Fix a silly bug in cmp_nocase_partial that made it return true if
120 either string was a prefix of the other (it should return true only
121 if s is a prefix of s2).
123 Thanks to Yoshitaka Tokugawa.
125 2005-02-22 10:10 Dan Nelson <dnelson@allantgroup.com>
127 * spamass-milter.cpp:
129 Change 172.16 to 172.16.0.0 in the usage text. Partial IP addresses do
132 2005-02-05 01:34 Dan Nelson <dnelson@allantgroup.com>
136 - new code to upload distfile and sigs to savannah's goofy ftp staging
139 - add mdoc2man.awk to the distfile
141 2005-02-05 01:03 Dan Nelson <dnelson@allantgroup.com>
143 * spamass-milter.cpp:
145 Fix some unused-variable warnings when not on FreeBSD. The hack will
146 go away in the next release, since the bug has been fixed.
148 2005-02-04 13:25 Dan Nelson <dnelson@allantgroup.com>
152 More automake cleanup cleanup.
154 2005-02-04 12:55 Dan Nelson <dnelson@allantgroup.com>
156 * NEWS, configure.in:
160 2004-11-05 10:26 Dan Nelson <dnelson@allantgroup.com>
166 2004-10-29 10:56 Dan Nelson <dnelson@allantgroup.com>
170 check for automake 1.9
172 2004-09-23 23:42 Dan Nelson <dnelson@allantgroup.com>
174 * spamass-milter.cpp:
176 When reading headers from spamc's output, strip a trailing CR from the
179 2004-09-23 15:28 Dan Nelson <dnelson@allantgroup.com>
183 Unlikely that this is doing any good
185 2004-09-23 15:27 Dan Nelson <dnelson@allantgroup.com>
191 2004-09-22 11:24 Dan Nelson <dnelson@allantgroup.com>
197 2004-09-21 16:06 Dan Nelson <dnelson@allantgroup.com>
201 fix crash on fork failure
203 2004-09-21 16:04 Dan Nelson <dnelson@allantgroup.com>
205 * spamass-milter.cpp:
207 Make sure variables are set in the constructor in the same order they
208 appear in the header.
210 2004-09-21 15:51 Dan Nelson <dnelson@allantgroup.com>
214 Make a note that some variables should be collapsed into one
216 2004-09-21 15:49 Dan Nelson <dnelson@allantgroup.com>
218 * spamass-milter.cpp:
220 If a fork fails at the right time, "running" may be set when pid=-1.
221 This can be very bad when the cleanup routine runs kill(pid, SIGKILL).
223 2004-09-06 20:19 Dan Nelson <dnelson@allantgroup.com>
225 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
226 ac_cxx_verbose_terminate_handler.m4:
228 Update ac-archive scripts and add upstream version ids
230 2004-09-06 20:12 Dan Nelson <dnelson@allantgroup.com>
234 note that we support SA 3.0
236 2004-09-06 20:02 Dan Nelson <dnelson@allantgroup.com>
242 2004-08-26 13:01 Dan Nelson <dnelson@allantgroup.com>
244 * spamass-milter.cpp:
246 When extracting the score, check for "score=###" as well as "hits=###"
248 2004-07-28 21:15 Dan Nelson <dnelson@allantgroup.com>
250 * spamass-milter.cpp:
252 I have no idea how gcc allowed this to compile.
254 2004-07-16 16:46 Dan Nelson <dnelson@allantgroup.com>
256 * spamass-milter.cpp:
258 In local_user, stop at the first "+" or "@", so we can handle
259 user+detail addresses correctly. Something similar should be done for
260 full_user but that's a bit more complicated.
262 2004-07-06 12:42 Dan Nelson <dnelson@allantgroup.com>
264 * contrib/spamass-milter-suse.rc:
266 Another Linux startup script, this time for SUSE.
268 2004-07-01 18:02 Dan Nelson <dnelson@allantgroup.com>
272 more inline prevention
274 2004-06-03 21:50 Dan Nelson <dnelson@allantgroup.com>
276 * spamass-milter.cpp:
278 Don't segfault if we can't fetch the _ and j macros.
280 2004-05-19 10:00 Dan Nelson <dnelson@allantgroup.com>
282 * spamass-milter.cpp:
284 Misc C++ cleanups courtesy Jeremy Lin, plus a fix for Linux's ps
285 showing blanks in the arguments to -i and -d.
287 2004-05-13 16:50 Dan Nelson <dnelson@allantgroup.com>
289 * ac_pike_compiler_flag.m4, autogen.sh:
293 2004-05-13 16:43 Dan Nelson <dnelson@allantgroup.com>
295 * spamass-milter.cpp:
297 Adjust output of generated Received: header to more closely match
298 sendmail's output. Spamassassin is very picky about parsing it. Fixes
299 savannah bug 6970 and patch 3051.
301 Also convert all "RCPT TO" commands to X-Envelope-To: headers, not just
302 the first one. This may have prevented whitelist checks from applying
305 2004-05-10 13:59 Dan Nelson <dnelson@allantgroup.com>
307 * spamass-milter.cpp:
309 Don't use asprintf to expand aliases, since we also use 'buf' to read
310 the results of the popen. Just set a 1024-char buffer, and anyone with
311 an email address longer than that loses.
313 2004-04-20 10:28 Dan Nelson <dnelson@allantgroup.com>
317 Check for a couple more autoconf versions
319 Also set $AUTOM4TE and blow away autom4te* subdirs
321 2004-03-27 14:05 Dan Nelson <dnelson@allantgroup.com>
327 2004-03-18 13:04 Dan Nelson <dnelson@allantgroup.com>
333 2004-03-18 12:37 Dan Nelson <dnelson@allantgroup.com>
335 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
340 Add the ability to send spam to a spambucket even if -r is set
342 2004-03-17 18:05 Dan Nelson <dnelson@allantgroup.com>
348 2004-02-24 17:02 Dan Nelson <dnelson@allantgroup.com>
352 Finally figured out why sometimes it would run the wrong auto* tool.
353 You need to set all 4 of these variables before calling any, or they'll
354 use their defaults which may be wrong.
356 2004-02-21 22:18 Dan Nelson <dnelson@allantgroup.com>
358 * NEWS, spamass-milter.cpp:
360 arg. why does cvs default to commit on a blank log.
362 Put email alias expansion under a flag (-x, defaulted to off).
364 2004-02-21 22:16 Dan Nelson <dnelson@allantgroup.com>
366 * spamass-milter.cpp:
370 2004-02-09 17:03 Dan Nelson <dnelson@allantgroup.com>
372 * contrib/spamass-milter.sh:
374 Convert the FreeBSD startup script to rc.subr format.
376 2004-01-27 13:39 Dan Nelson <dnelson@allantgroup.com>
378 * spamass-milter.1.in, spamass-milter.cpp:
380 -e now requires the default domain as a parameter. Also fix up
381 whitespace and punctuation in the manpage.
383 2003-10-26 22:00 Dan Nelson <dnelson@allantgroup.com>
387 Force automake to use the version of autoconf that we want.
389 2003-10-24 12:36 Dan Nelson <dnelson@allantgroup.com>
391 * contrib/spamass-milter.sh:
393 update FreeBSD rc script to use the pidfile
395 2003-10-24 01:55 Dan Nelson <dnelson@allantgroup.com>
397 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
398 ac_cxx_verbose_terminate_handler.m4, configure.in,
401 Use gcc's verbose exception handler is possible. If this function is
402 unavailable, C++ will simply abort on any exception. Ugh.
404 2003-10-24 01:53 Dan Nelson <dnelson@allantgroup.com>
406 * ac_pike_compiler_flag.m4:
408 Use CPPFLAGS instead of CFLAGS/CXXFLAGS
410 2003-10-21 16:41 Dan Nelson <dnelson@allantgroup.com>
416 2003-10-21 16:40 Dan Nelson <dnelson@allantgroup.com>
418 * configure.in, daemon.c, spamass-milter.cpp:
420 make -f fully daemonize, and add -P to create a pidfile.
422 2003-09-12 00:45 Dan Nelson <dnelson@allantgroup.com>
424 * spamass-milter.cpp:
428 2003-09-12 00:42 Dan Nelson <dnelson@allantgroup.com>
430 * spamass-milter.cpp:
432 FreeBSD's libc_r userland threads has a race condition in popen, but I
433 don't know where. Wrap it in a mutex just to be safe.
435 2003-09-05 21:38 Dan Nelson <dnelson@allantgroup.com>
439 no more spamass-milter.man.in
441 2003-09-05 21:15 Dan Nelson <dnelson@allantgroup.com>
445 no more spamass-milter.man.in
447 2003-09-05 21:06 Dan Nelson <dnelson@allantgroup.com>
451 no more spamass-milter.man
453 2003-09-05 11:42 Dan Nelson <dnelson@allantgroup.com>
457 Distribute mdoc2man.awk, and let systems without mdoc functionality
458 convert the manpage themselves.
460 2003-09-05 11:33 Dan Nelson <dnelson@allantgroup.com>
465 Yay! Peter Stuge decided on a license, so bring this back into CVS.
467 2003-09-02 23:53 Dan Nelson <dnelson@allantgroup.com>
469 * spamass-milter.cpp:
471 Oops. Forgot to strip the domain part in local_user when there are no brackets.
473 2003-08-29 11:01 Dan Nelson <dnelson@allantgroup.com>
475 * ac_pike_compiler_flag.m4, configure.in:
477 Pull in another autoconf test from Pike, which lets us test for
478 compiler flags. Add -fno-default-inline if possible, which disables
479 inlining of functions in classes. gdb does not process them correctly,
480 making debugging a pain.
482 2003-08-29 11:00 Dan Nelson <dnelson@allantgroup.com>
484 * spamass-milter.cpp:
486 Redirect stderr to stdout when running sendmail -bv; otherwise we lose
487 anything sent to stderr
489 2003-08-28 09:59 Dan Nelson <dnelson@allantgroup.com>
491 * TODO, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
493 Add -e flag to pass full email address to spamc
495 Run all recipients through sendmail -bv (this may end up behind a
496 commandline switch, but it's low-overhead so probably not).
498 2003-08-12 22:47 Dan Nelson <dnelson@allantgroup.com>
500 * configure.in, spamass-milter.cpp, spamass-milter.h:
502 - add printf style checking to debug() on systems that support it
503 - search for sendmail instead of relying on paths.h which may not exist
505 2003-08-12 22:33 Dan Nelson <dnelson@allantgroup.com>
509 Bump original version to 1.8, since the originating webpage apparently
510 did. There are absolutely no changes other than the version number.
512 2003-08-11 17:12 Dan Nelson <dnelson@allantgroup.com>
514 * spamass-milter.cpp:
516 move newrecipients out of the inner loop
518 2003-08-11 16:36 Dan Nelson <dnelson@allantgroup.com>
520 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
523 Preliminary work to support alias/virtusertable expansion.
524 sendmail -bv is called and its output is parsed, but all we do is log it
527 2003-08-05 23:45 Dan Nelson <dnelson@allantgroup.com>
529 * spamass-milter.cpp:
531 Fix two cases where we caught an error but didn't clean up the assassin
534 2003-08-05 23:29 Dan Nelson <dnelson@allantgroup.com>
536 * spamass-milter.cpp:
538 - Correctly exit if we can't exec spamc
539 - Check our polled fds for errors - prevents us from spinning if
540 something happens to spamc
542 2003-08-04 23:13 Dan Nelson <dnelson@allantgroup.com>
546 document crash on empty body fix
548 2003-08-04 18:03 Dan Nelson <dnelson@allantgroup.com>
552 Distribute subst_poll.h
554 2003-07-31 17:35 Dan Nelson <dnelson@allantgroup.com>
556 * spamass-milter.cpp:
558 We still need to call update_or_insert for headers if -M is set, so we
559 can cache the header value. Just don't call the milter update
562 2003-07-31 14:13 Dan Nelson <dnelson@allantgroup.com>
564 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
566 New -M flag that disables all body/header changes. With this flag, the
567 milter is transparent to the message stream.
569 2003-07-21 20:10 Dan Nelson <dnelson@allantgroup.com>
571 * spamass-milter.cpp:
573 POSIX says strcasecmp requires strings.h
575 2003-07-16 21:28 Dan Nelson <dnelson@allantgroup.com>
577 * spamass-milter.cpp:
579 If there is no body, set bob to point to the end of the string returned
580 by spamassassin instead of string::npos.
582 2003-07-09 12:58 Dan Nelson <dnelson@allantgroup.com>
588 2003-07-07 14:46 Dan Nelson <dnelson@allantgroup.com>
590 * spamass-milter.cpp:
592 Added func logging for two returns in ::output and ::input
594 2003-07-07 14:44 Dan Nelson <dnelson@allantgroup.com>
596 * spamass-milter.cpp:
598 Add func debug logging for mlfi_envrcpt
600 2003-07-07 14:39 Dan Nelson <dnelson@allantgroup.com>
602 * spamass-milter.cpp:
604 shortcut ip_in_networklist if the list is empty.
606 2003-07-07 13:45 Dan Nelson <dnelson@allantgroup.com>
612 2003-07-02 17:28 Dan Nelson <dnelson@allantgroup.com>
618 2003-06-30 15:24 Dan Nelson <dnelson@allantgroup.com>
622 Small workaround for people trying to configure from CVS. Create a
623 blank spamass-milter.man.in if it doesn't already exist.
625 2003-06-30 15:23 Dan Nelson <dnelson@allantgroup.com>
629 spell automake with a lowercase a
631 2003-06-26 22:24 Dan Nelson <dnelson@allantgroup.com>
633 * contrib/spamass-milter.spec.in:
635 We don't have these two files.
637 2003-06-26 17:13 Dan Nelson <dnelson@allantgroup.com>
639 * NEWS, configure.in:
643 2003-06-26 16:57 Dan Nelson <dnelson@allantgroup.com>
645 * NEWS, configure.in:
649 2003-06-26 10:10 Dan Nelson <dnelson@allantgroup.com>
651 * spamass-milter.cpp:
655 2003-06-26 09:45 Dan Nelson <dnelson@allantgroup.com>
657 * spamass-milter.cpp:
659 NULL hostaddr is actually a common occurance; running sendmail on the
660 local host does this. Map NULL to 127.0.0.1 so it's treated just like
661 a connection to localhost port 25.
663 2003-06-25 11:17 Dan Nelson <dnelson@allantgroup.com>
665 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
667 Document -B, and sort -h output
669 2003-06-25 10:17 Dan Nelson <dnelson@allantgroup.com>
671 * Makefile.am, configure.in, mdoc2man.awk:
673 I haven't gotten a license from the author of mdoc2man.awk, so remove
674 it and, distribute a preproccesed .man.in for systems without mdoc
677 2003-06-25 10:15 Dan Nelson <dnelson@allantgroup.com>
679 * spamass-milter.cpp:
681 Check for a NULL hostaddr in mlfi_connect. It should never happen, so
682 emit a warning in the log when it does.
684 2003-06-18 18:13 Dan Nelson <dnelson@allantgroup.com>
686 * ac_dmalloc.m4, configure.in, spamass-milter.cpp:
688 - Use my own dmalloc check, since AM_WITH_DMALLOC only works for
689 nonthreaded C programs.
691 - Some systems provide strsep() but no prototype. Check for that.
693 2003-06-18 13:57 Dan Nelson <dnelson@allantgroup.com>
695 * ac_pike_paths.m4, configure.in:
697 - Add a --with-dmalloc option
699 - Search some common directories for includes and libraries, to find
700 dmalloc or user-compiled sendmail libs.
702 2003-06-16 14:59 Dan Nelson <dnelson@allantgroup.com>
708 2003-06-14 14:17 Dan Nelson <dnelson@allantgroup.com>
712 Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
713 was before rev 1.38. This should fix reports of "spamd: bad protocol"
714 errors being logged when we kill spamc without sending any data.
716 2003-06-14 14:01 Dan Nelson <dnelson@allantgroup.com>
718 * spamass-milter.cpp:
720 Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
721 was before rev 1.38. This should fix reports of "spamd: bad protocol"
722 errors being logged when we kill spamc without sending any data.
724 2003-06-12 21:39 Dan Nelson <dnelson@allantgroup.com>
728 Add an "upload" makefile target that pushes tarballs to savannah
730 2003-06-12 17:41 Dan Nelson <dnelson@allantgroup.com>
732 * Makefile.am, spamass-milter.cpp, spamass-milter.h:
734 Lowercase the username when using -u; email addresses are
735 case-insensitive, but userids are usually all-lowercase and
738 2003-06-11 15:18 Dan Nelson <dnelson@allantgroup.com>
744 2003-06-11 15:17 Dan Nelson <dnelson@allantgroup.com>
746 * spamass-milter.cpp, spamass-milter.h:
748 * Even better sendmail-style Received: header generation. Pass SA the
749 value of the HELO command. This lets rules like FORGED_HOTMAIL work.
751 * Beginnings of a better debug logline. Remember the sendmail queue ID.
752 Not sure of the best way to pass it to the debug() function though.
754 2003-06-10 13:42 Dan Nelson <dnelson@allantgroup.com>
758 Remove some of the disclaimers; it's pretty stable now.
760 2003-06-10 00:52 Dan Nelson <dnelson@allantgroup.com>
764 Tell automake we would like a bzip2 tarball also
766 2003-06-10 00:02 Dan Nelson <dnelson@allantgroup.com>
772 2003-06-10 00:02 Dan Nelson <dnelson@allantgroup.com>
778 2003-06-09 23:57 Dan Nelson <dnelson@allantgroup.com>
780 * configure.in, spamass-milter.cpp, strsep.c:
782 provide a strsep() for systems without one
784 2003-06-09 23:47 Dan Nelson <dnelson@allantgroup.com>
786 * spamass-milter.cpp:
790 2003-06-09 22:03 Dan Nelson <dnelson@allantgroup.com>
792 * TODO, spamass-milter.cpp:
794 New flag -B. Just like -b, but the original recipient gets the spam too.
796 2003-06-09 16:24 Dan Nelson <dnelson@allantgroup.com>
800 Just realized you can redirect to /dev/null to silently drop spam
802 2003-06-09 15:27 Dan Nelson <dnelson@allantgroup.com>
808 2003-06-09 12:19 Dan Nelson <dnelson@allantgroup.com>
810 * NEWS, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
812 Add spambucket support. "-b otheraddress" will redirect all tagged
813 spam to that address. Original recipients get put into X-Spam-Orig-To:
816 2003-06-09 12:16 Dan Nelson <dnelson@allantgroup.com>
818 * spamass-milter.1.in:
822 2003-06-09 10:57 Dan Nelson <dnelson@allantgroup.com>
826 Oops. forgot to include config.h
828 2003-06-07 14:50 Dan Nelson <dnelson@allantgroup.com>
832 scratchpad so I don't forget things
834 2003-06-07 14:43 Dan Nelson <dnelson@allantgroup.com>
836 * ac_vl_prog_cc_warnings.m4, configure.in:
838 Use VL_PROG_CC_WARNINGS to add compiler-appropriate warnings flags
840 2003-06-07 14:16 Dan Nelson <dnelson@allantgroup.com>
842 * spamass-milter.cpp, spamass-milter.h:
844 Instead of playing musical chairs with our private context pointer,
845 create a single structure that holds both the remote IP address and the
846 pointer to our assassin object.
848 2003-06-06 21:56 Dan Nelson <dnelson@allantgroup.com>
850 * ac_acx_pthread.m4, ac_cf_gnu_source.m4, acinclude.m4, autogen.sh:
852 Split 3rd-party autoconf macros out into their own files
854 2003-06-06 16:04 Dan Nelson <dnelson@allantgroup.com>
858 Summarize the last few days worth of commits
860 2003-06-06 15:48 Dan Nelson <dnelson@allantgroup.com>
862 * README, spamass-milter.cpp:
864 Generate a better dummy Received: header. If the admin has added the
865 "b" macro (rfc822 date) to the milter's list of visible macros, pass
866 that to spamc. This allows SA to do Date: header validation if there
867 are no other Received: headers in the message.
869 Also update README to include the sendmail.mc line required to enable "b".
871 2003-06-06 11:37 Dan Nelson <dnelson@allantgroup.com>
873 * spamass-milter.cpp, spamass-milter.h:
876 Remember the envelope sender and recipient, remember the connecting IP,
877 and insert appropriate headers at the top of the message we send to
878 spamc, so that Spamassassin can use them.
880 The envelope info gets put into X-Envelope-From: and X-Envelope-To: ,
881 which SA will use when checking the whitelist_to and _from rules.
883 The connecting IP gets put into a dummy "Received: [111.222.333.444]"
884 header. Without it, none of the DNSBL or whitelist checks will see
885 this IP. The dummy header does not seem to trigger any "forged
886 Received:" rules, so that's good.
888 Note that remembering the connecting IP address means we need to carry
889 information between the lifetimes of SpamAssassin objects, so we have
890 to use the milter private data pointer. This means that within a
891 message, the pointer points to a SpamAssassin object. Outside of a
892 message but during a client connection, the pointer points to a struct
893 connect_info. This means some extra work in the message error path to
894 recover the connect_info pointer. It also means that for symmetry, we
895 have to create the SpamAssassin object at the beginning on a "message"
896 session - i.e. within mlfi_envrcpt instead of mlfi_header.
898 Also for ease of coding add some more output methods with string and
899 unsized void* arguments.
901 2003-06-06 11:22 Dan Nelson <dnelson@allantgroup.com>
903 * spamass-milter.cpp:
905 Commit Waider's updated retrieve_field function that I forgot about.
906 This fixes a bug where the milter fails to retrieve the SA score from a
907 message with absolutely no headers. The old code could not retrieve the
908 first header in a message, and if there are no headers in the original
909 message, the X-Spam-Status header ends up being the first.
911 2003-06-06 11:16 Dan Nelson <dnelson@allantgroup.com>
913 * spamass-milter.cpp:
915 RFC822 says the blank line between header and body is \r\n.
916 Spamassassin doesn't seem to care but it's wrong anyway :)
918 2003-06-06 11:10 Dan Nelson <dnelson@allantgroup.com>
920 * spamass-milter.cpp:
922 Clean up some debugging messages
924 2003-06-06 11:05 Dan Nelson <dnelson@allantgroup.com>
926 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
928 Convert the debug levels into flags, so it's easier to enable debugging
929 for a single subsystem. The old numbers are still supported.
931 2003-06-06 10:43 Dan Nelson <dnelson@allantgroup.com>
933 * spamass-milter.cpp:
935 Cleanup commit. You don't need a semicolon after a function body, and
936 Intel's compiler warns about them.
938 2003-06-06 10:34 Dan Nelson <dnelson@allantgroup.com>
942 explicitly make spamass-milter.cpp depend on spamass-milter.h
944 2003-06-05 16:18 Dan Nelson <dnelson@allantgroup.com>
946 * spamass-milter.cpp:
948 reword -i description so it says skip checks instead of skip the
951 2003-06-04 14:41 Dan Nelson <dnelson@allantgroup.com>
953 * spamass-milter.cpp:
955 I thought I cut'n'pasted this right, but I didn't. Allocate the
956 right number of bytes for the internalnets array when resizing.
958 2003-06-03 02:20 Dan Nelson <dnelson@allantgroup.com>
960 * NEWS, spamass-milter.1.in:
962 update NEWS, adjust description of -i
964 2003-06-03 01:36 Dan Nelson <dnelson@allantgroup.com>
966 * spamass-milter.cpp, spamass-milter.h:
968 gcc 2.95 apparently can't handle the case where a struct and an element
971 2003-06-03 01:24 Dan Nelson <dnelson@allantgroup.com>
973 * AUTHORS, spamass-milter.1.in, spamass-milter.cpp,
976 Add -i to list netblocks to ignore (argument is a comma-delimited list
977 of ip addresses, ip/netmask, or ip/bits).
979 Remember arguments after --, and pass them to spamc. This makes the -D
980 flag redundant, and lets you change the port number, enable SSL mode,
983 2003-06-02 21:09 Dan Nelson <dnelson@allantgroup.com>
987 If the server cannot process mdoc macros, use mdoc2man to generate a
988 manpage with man macros instead.
990 2003-06-02 21:08 Dan Nelson <dnelson@allantgroup.com>
992 * Makefile.am, configure.in, spamass-milter.cpp:
995 If the server cannot process mdoc macros, use mdoc2man to generate a
996 manpage with man macros instead.
998 2003-03-10 21:40 Dan Nelson <dnelson@allantgroup.com>
1000 * configure.in, poll.c:
1002 add some more headers to pooll.c, and allow the user to force poll
1003 emulation, for testing.
1005 2003-03-10 17:42 Dan Nelson <dnelson@allantgroup.com>
1009 expand check to search for automake as well, check for more versions
1011 2003-03-06 23:11 Dan Nelson <dnelson@allantgroup.com>
1015 Oops. Forgot to enable the poll.h test.
1017 2003-03-06 22:33 Dan Nelson <dnelson@allantgroup.com>
1019 * spamass-milter.1.in, spamass-milter.cpp:
1021 Use 'defaultuser' instead of 'user' as an example when talking about
1022 the argument to the -u flag.
1024 2003-03-06 22:26 Dan Nelson <dnelson@allantgroup.com>
1026 * spamass-milter.1.in:
1028 Document the -D host flag.
1030 2003-03-06 15:50 Dan Nelson <dnelson@allantgroup.com>
1034 I keep forgetting to bump the version number before and after a
1035 release. We are now at 0.1.3a+cvs
1037 2003-03-06 15:40 Dan Nelson <dnelson@allantgroup.com>
1039 * poll.c, subst_poll.h:
1042 Add Ids, also record that fact that this function was lifted from
1043 the "wy60" terminal emulator software by Markus Gutschke.
1045 2003-03-06 15:37 Dan Nelson <dnelson@allantgroup.com>
1047 * Makefile.am, configure.in, poll.c, spamass-milter.cpp,
1051 Provide a substitute poll() function for systems that are missing it.
1053 2003-03-06 15:33 Dan Nelson <dnelson@allantgroup.com>
1055 * spamass-milter.cpp, AUTHORS, contrib/spamass-milter-redhat.rc:
1058 . Add the ability to connect to a spamd on another server (-D host)
1060 . Change the redhat rc script's path to match where an RPM would put
1063 2003-01-21 14:44 Dan Nelson <dnelson@allantgroup.com>
1065 * spamass-milter.cpp:
1067 (forced commit due to empty log message)
1069 Fix "-u" to actually pass its argument to spamc instead of hardcoding
1072 2003-01-21 14:42 Dan Nelson <dnelson@allantgroup.com>
1074 * spamass-milter.cpp:
1078 2003-01-17 14:53 Dan Nelson <dnelson@allantgroup.com>
1080 * contrib/spamass-milter-redhat.rc:
1082 Config files are sourced and do not require the execute bit set, so
1083 just test to see if the file exists.
1085 2002-12-31 14:17 Dan Nelson <dnelson@allantgroup.com>
1087 * NEWS, configure.in:
1091 2002-12-31 14:03 Dan Nelson <dnelson@allantgroup.com>
1093 * spamass-milter.cpp:
1095 Add a call to fork spamc after header processing, as a fallback case
1096 for when no headers are sent at all.
1098 2002-12-31 13:34 Dan Nelson <dnelson@allantgroup.com>
1100 * spamass-milter.cpp:
1102 add a big more debugging to the poll loop
1104 2002-12-27 16:32 Dan Nelson <dnelson@allantgroup.com>
1108 Version is now 0.1.3+cvs
1110 2002-12-27 15:53 Dan Nelson <dnelson@allantgroup.com>
1114 Change version to 0.1.3
1116 2002-12-27 15:52 Dan Nelson <dnelson@allantgroup.com>
1122 2002-12-27 15:50 Dan Nelson <dnelson@allantgroup.com>
1128 2002-12-27 15:38 Dan Nelson <dnelson@allantgroup.com>
1132 Add FreeBSD rc script
1134 2002-12-27 15:36 Dan Nelson <dnelson@allantgroup.com>
1136 * contrib/spamass-milter.sh:
1140 2002-12-27 15:35 Dan Nelson <dnelson@allantgroup.com>
1142 * contrib/spamass-milter.sh:
1144 Add a FreeBSD startup script
1146 2002-12-23 11:08 Dan Nelson <dnelson@allantgroup.com>
1148 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1150 Add -u option to pass the username to spamc. Without -u behaviour
1151 should be unchanged.
1153 2002-12-21 12:20 Dan Nelson <dnelson@allantgroup.com>
1155 * spamass-milter.cpp:
1157 Check for an empty header
1159 2002-12-21 12:18 Dan Nelson <dnelson@allantgroup.com>
1161 * spamass-milter.1.in:
1163 document debug level 3
1165 2002-11-17 17:01 Dan Nelson <dnelson@allantgroup.com>
1169 Update list of patch submitters
1171 2002-11-17 16:57 Dan Nelson <dnelson@allantgroup.com>
1173 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1175 Add -r flag, which allows you to have sendmail reject the message if SA
1176 tags it as spam, or if it exceeds a given score.
1178 Closes patches 440 and 441, submitted by Patrick Monnerat <pm@datasphere.ch>
1180 2002-11-15 17:22 Dan Nelson <dnelson@allantgroup.com>
1182 * spamass-milter.1.in, spamass-milter.cpp:
1184 Add -m option, which disables body, Subject:, and Content-Type: header
1185 modification. Closes patch 385.
1187 2002-11-15 15:54 Dan Nelson <dnelson@allantgroup.com>
1191 Revert the spamc check back to the way it was (find absolute path of
1192 spamc). We'll do "spamc with arguments" testing later, when the milter
1193 can actaully handle it.
1195 2002-11-15 01:18 Dan Nelson <dnelson@allantgroup.com>
1199 Switch from --fsf to --no-wrap, which is really what I wanted in the
1202 2002-11-15 01:17 Dan Nelson <dnelson@allantgroup.com>
1207 Try really hard to run a new-ish version of autoconf. This should make
1208 rhautogen.sh obsolete.
1210 2002-11-15 01:04 Dan Nelson <dnelson@allantgroup.com>
1212 * spamass-milter.cpp, spamass-milter.h:
1215 - Factor out all the header-changing code into a single
1216 update_or_insert function. This greatly simplifies the whole
1217 program, finally making it insert/change/leave correctly for all the
1220 - Fix mlfi_header to actually suppress incoming SA headers like it's
1221 supposed to. This fixes a bug where an incoming SA header with the
1222 wrong case would end up overriding the header our SA tries to add.
1224 - Declare a temporary string variable to hold the body text before we
1225 call smfi_replacebody. Trying to do stringvar.substr(x,x).c_str()
1226 simply will not work. substr() creates a temporary string object,
1227 c_str() dutifully returns a pointer to it, and when the destructor
1228 for the temp string frees the memory, the data the pointer points to
1229 gets blown away. This fixes a longstanding bug where tagged emails
1230 would have their message body completely overwritten with x00 or xD0
1231 on OSes that ensure that free'd memory is blanked.
1233 - C++ should be strangled, then shot, then burned, and the ashes set
1234 into a cement block and dumped into the ocean. This should be
1237 2002-11-14 21:23 Dan Nelson <dnelson@allantgroup.com>
1241 Update acx_pthread; Tru64 and HP-UX compatibility, and make sure the tests are run under C
1243 2002-11-14 21:22 Dan Nelson <dnelson@allantgroup.com>
1247 Only add /usr/lib/libmilter as a library path if the directory exists
1249 2002-09-23 00:39 Dan Nelson <dnelson@allantgroup.com>
1253 Previous commit should read
1255 AC_CHECK_PROG doesn't work; AC_CHECK_PROGS does.
1257 2002-09-23 00:39 Dan Nelson <dnelson@allantgroup.com>
1261 AC_CHECK_PROG doesn't work; AC_CHECK_PROG does.
1263 2002-09-20 16:15 Dan Nelson <dnelson@allantgroup.com>
1268 Allow the user to specify spamc arguments during configure
1270 2002-09-18 12:17 Dan Nelson <dnelson@allantgroup.com>
1272 * Makefile.am, configure.in:
1275 Change version number to reflace that there are post-release changes.
1277 Change how the ChangeLog is created for the distribution file, so we
1278 don't get a 0-byte ChangeLog.bak in the .tar.gz.
1280 2002-08-28 11:54 Dan Nelson <dnelson@allantgroup.com>
1282 * spamass-milter.cpp:
1284 Add Id variable to store CVS version in the binary
1286 2002-08-23 11:59 Dan Nelson <dnelson@allantgroup.com>
1288 * spamass-milter.cpp:
1290 Fix bug that caused doubling of Content-Type: on spam emails.
1292 2002-08-19 15:39 Dan Nelson <dnelson@allantgroup.com>
1294 * contrib/: spamass-milter-redhat.rc, spamass-milter.spec.in:
1296 * Patches from Fritz Elfert <fritz.elfert@to.com>
1297 - Use RPM macros everywhere (this fixes install of manpage)
1298 - Changed Group to an official group of RedHat
1299 - Added preun and post scriptlets
1300 - Made clean scriptlet foolproof
1301 - Added condrestart to redhat rc script
1303 2002-08-18 16:38 Dan Nelson <dnelson@allantgroup.com>
1309 2002-08-18 16:13 Dan Nelson <dnelson@allantgroup.com>
1315 2002-08-18 16:13 Dan Nelson <dnelson@allantgroup.com>
1319 Update with my name, and add Waider
1321 2002-08-18 15:53 Dan Nelson <dnelson@allantgroup.com>
1323 * ChangeLog, Makefile.am:
1325 More cleanup for the distribution.
1327 - Zero out ChangeLog, as it is now autogenerated by "make dist". You
1328 can manually generate one with "make changelog", but your tree must
1329 have been checked out with CVS for it to work (i.e. the dist tarball
1330 won't work, but then again it will ship with a matching ChangeLog, so
1333 - Add some more files to maintainer-clean-local: and distclean-local:
1334 targets, as the autoconf/make people can't seem to keep track of what
1335 files their own tools generate.
1337 2002-08-18 15:44 Dan Nelson <dnelson@allantgroup.com>
1341 List of committer IDs and names, for use by cvs2cl
1343 2002-08-17 22:09 Dan Nelson <dnelson@allantgroup.com>
1345 * spamass-milter.1.in:
1347 Remove some extra comments
1349 2002-08-14 11:15 Dan Nelson <dnelson@allantgroup.com>
1351 * spamass-milter.cpp:
1354 Fix swapped variables names preventing subject and content-type from
1355 being updated (from Lance A. Brown)
1357 2002-07-25 23:32 Dan Nelson <dnelson@allantgroup.com>
1359 * Makefile.am, configure.in, spamass-milter.1.in:
1363 2002-07-24 11:19 Dan Nelson <dnelson@allantgroup.com>
1365 * Makefile.am, autogen.sh, configure.in, rhautogen.sh,
1366 contrib/spamass-milter, contrib/spamass-milter-redhat.rc,
1367 contrib/spamass-milter.spec.in:
1370 - Add RedHat .spec and .rc files
1372 - Add contrib/ files to the distfile
1374 2002-07-22 22:48 Dan Nelson <dnelson@allantgroup.com>
1376 * spamass-milter.cpp:
1378 Forgot to mention; the previous commit was patch 354
1380 2002-07-22 22:47 Dan Nelson <dnelson@allantgroup.com>
1382 * spamass-milter.cpp:
1385 Only replace Subject: and Content-Type: headers if they change
1387 2002-07-22 22:46 Dan Nelson <dnelson@allantgroup.com>
1391 Make failure to find milter library fatal
1393 2002-07-22 22:34 Dan Nelson <dnelson@allantgroup.com>
1395 * spamass-milter.cpp:
1400 - Fix typo affecting the case of incoming spam with no subject
1402 2002-07-22 21:05 Dan Nelson <dnelson@allantgroup.com>
1406 Fix an accidentally spammed embedded Id
1408 2002-07-22 21:02 Dan Nelson <dnelson@allantgroup.com>
1410 * Makefile.am, acconfig.h, acinclude.m4, autogen.sh, configure.in,
1411 spamass-milter.cpp, spamass-milter.h:
1414 - Update to autoconf 2.53
1415 - Use ACX_PTHREAD for more portable threads detection
1416 - Only -lmilter is required; search for -lsm or -lsmutil when -lmilter fails,
1417 for compatibility with older sendmails
1418 - Only mfapi.h is required
1419 - add net library checks for Solaris
1420 - Reorder entries in autogen.sh
1421 - Move struct declarations into headers, and variable definitions into
1424 - fix incorrect use of LOG_ macros
1425 - use poll when feeding data to spamc to avoid the 250k deadlock
1426 - compiles with gcc 3.1
1428 2002-04-27 12:14 Georg C. F. Greve <greve@gnu.org>
1430 * contrib/spamass-milter:
1432 adopted for commandline-parameter change
1434 2002-04-27 12:05 Georg C. F. Greve <greve@gnu.org>
1436 * ChangeLog, spamass-milter.cpp, spamass-milter.h:
1438 Added support for 'X-Spam-Level' Flag introduced with version 2.20 of SpamAssassin
1440 2002-03-27 09:56 Michael Brown <michael@supermathie.net>
1442 * spamass-milter.cpp:
1444 Added a -f option that makes spamass-milter fork into the background
1445 spamass-milt now removes the socket if it already exists.
1447 2002-03-06 07:07 Georg C. F. Greve <greve@gnu.org>
1449 * AUTHORS, ChangeLog, NEWS, configure.in, spamass-milter.cpp,
1450 spamass-milter.h, contrib/spamass-milter:
1452 Applied some patches. Rights assigned to FSF Europe. Appointed Michael as maintainer.
1454 2002-02-26 06:55 Georg C. F. Greve <greve@gnu.org>
1456 * contrib/spamass-milter:
1458 seems I forgot to commit it last time. *sigh*
1460 2002-01-31 09:56 Georg C. F. Greve <greve@gnu.org>
1466 2002-01-31 09:34 Georg C. F. Greve <greve@gnu.org>
1468 * spamass-milter.cpp:
1470 fixed some typing bugs... :-)
1472 2002-01-31 09:28 Georg C. F. Greve <greve@gnu.org>
1474 * spamass-milter.cpp, spamass-milter.h, ChangeLog, configure.in:
1476 * Update for Version 2.0+ of SpamAssassin
1477 * Only modify mail *not* rated Spam before, leave marked Spam untouched
1479 2002-01-16 16:24 Georg C. F. Greve <greve@gnu.org>
1481 * spamass-milter.cpp:
1483 output package name & version with usage
1485 2002-01-16 16:19 Georg C. F. Greve <greve@gnu.org>
1487 * spamass-milter.cpp:
1489 now using SPAMC variable determined in configure
1491 2002-01-16 16:16 Georg C. F. Greve <greve@gnu.org>
1493 * contrib/README.gnus:
1495 This might be useful to other gnus users.
1497 2002-01-16 16:10 Georg C. F. Greve <greve@gnu.org>
1501 A small README to have minimal documentation
1503 2002-01-16 15:41 Georg C. F. Greve <greve@gnu.org>
1505 * Makefile.am, acconfig.h, configure.in:
1507 Autoconf should work now
1509 2002-01-16 14:30 Georg C. F. Greve <greve@gnu.org>
1511 * acconfig.h, config.h.in, AUTHORS, NEWS, README:
1513 autoconf setup still needs polishing
1515 2002-01-16 14:26 Georg C. F. Greve <greve@gnu.org>
1517 * ChangeLog, Makefile.am, autogen.sh, configure.in, config.h.in:
1519 autoconf setup still needs polishing
1521 2002-01-16 03:41 Georg C. F. Greve <greve@gnu.org>
1523 * spamass-milter.cpp, spamass-milter.h: