1 2006-04-05 10:59 Dan Nelson <dnelson@allantgroup.com>
7 2006-03-23 15:51 Dan Nelson <dnelson@allantgroup.com>
11 news update (sa 3.1.1, better Received header)
13 2006-03-23 15:41 Dan Nelson <dnelson@allantgroup.com>
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.
21 2006-01-23 14:47 Dan Nelson <dnelson@allantgroup.com>
25 .deps isn't created since we use no-dependencies
27 2005-10-06 10:12 Dan Nelson <dnelson@allantgroup.com>
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
36 2005-08-15 10:10 Dan Nelson <dnelson@allantgroup.com>
40 Remove references to INSTALL, also mention autogen.sh.
42 http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14090
44 2005-06-02 13:30 Dan Nelson <dnelson@allantgroup.com>
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,
52 2005-04-06 21:04 Dan Nelson <dnelson@allantgroup.com>
54 * README, spamass-milter.cpp, spamass-milter.h:
57 - Make our fake sendmail Received: header even better.
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).
63 Thanks to Yoshitaka Tokugawa.
65 2005-02-22 10:10 Dan Nelson <dnelson@allantgroup.com>
69 Change 172.16 to 172.16.0.0 in the usage text. Partial IP addresses do
72 2005-02-05 01:34 Dan Nelson <dnelson@allantgroup.com>
76 - new code to upload distfile and sigs to savannah's goofy ftp staging
79 - add mdoc2man.awk to the distfile
81 2005-02-05 01:03 Dan Nelson <dnelson@allantgroup.com>
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.
88 2005-02-04 13:25 Dan Nelson <dnelson@allantgroup.com>
92 More automake cleanup cleanup.
94 2005-02-04 12:55 Dan Nelson <dnelson@allantgroup.com>
100 2004-11-05 10:26 Dan Nelson <dnelson@allantgroup.com>
106 2004-10-29 10:56 Dan Nelson <dnelson@allantgroup.com>
110 check for automake 1.9
112 2004-09-23 23:42 Dan Nelson <dnelson@allantgroup.com>
114 * spamass-milter.cpp:
116 When reading headers from spamc's output, strip a trailing CR from the
119 2004-09-23 15:28 Dan Nelson <dnelson@allantgroup.com>
123 Unlikely that this is doing any good
125 2004-09-23 15:27 Dan Nelson <dnelson@allantgroup.com>
131 2004-09-22 11:24 Dan Nelson <dnelson@allantgroup.com>
137 2004-09-21 16:06 Dan Nelson <dnelson@allantgroup.com>
141 fix crash on fork failure
143 2004-09-21 16:04 Dan Nelson <dnelson@allantgroup.com>
145 * spamass-milter.cpp:
147 Make sure variables are set in the constructor in the same order they
148 appear in the header.
150 2004-09-21 15:51 Dan Nelson <dnelson@allantgroup.com>
154 Make a note that some variables should be collapsed into one
156 2004-09-21 15:49 Dan Nelson <dnelson@allantgroup.com>
158 * spamass-milter.cpp:
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).
163 2004-09-06 20:19 Dan Nelson <dnelson@allantgroup.com>
165 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
166 ac_cxx_verbose_terminate_handler.m4:
168 Update ac-archive scripts and add upstream version ids
170 2004-09-06 20:12 Dan Nelson <dnelson@allantgroup.com>
174 note that we support SA 3.0
176 2004-09-06 20:02 Dan Nelson <dnelson@allantgroup.com>
182 2004-08-26 13:01 Dan Nelson <dnelson@allantgroup.com>
184 * spamass-milter.cpp:
186 When extracting the score, check for "score=###" as well as "hits=###"
188 2004-07-28 21:15 Dan Nelson <dnelson@allantgroup.com>
190 * spamass-milter.cpp:
192 I have no idea how gcc allowed this to compile.
194 2004-07-16 16:46 Dan Nelson <dnelson@allantgroup.com>
196 * spamass-milter.cpp:
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.
202 2004-07-06 12:42 Dan Nelson <dnelson@allantgroup.com>
204 * contrib/spamass-milter-suse.rc:
206 Another Linux startup script, this time for SUSE.
208 2004-07-01 18:02 Dan Nelson <dnelson@allantgroup.com>
212 more inline prevention
214 2004-06-03 21:50 Dan Nelson <dnelson@allantgroup.com>
216 * spamass-milter.cpp:
218 Don't segfault if we can't fetch the _ and j macros.
220 2004-05-19 10:00 Dan Nelson <dnelson@allantgroup.com>
222 * spamass-milter.cpp:
224 Misc C++ cleanups courtesy Jeremy Lin, plus a fix for Linux's ps
225 showing blanks in the arguments to -i and -d.
227 2004-05-13 16:50 Dan Nelson <dnelson@allantgroup.com>
229 * ac_pike_compiler_flag.m4, autogen.sh:
233 2004-05-13 16:43 Dan Nelson <dnelson@allantgroup.com>
235 * spamass-milter.cpp:
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.
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
245 2004-05-10 13:59 Dan Nelson <dnelson@allantgroup.com>
247 * spamass-milter.cpp:
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.
253 2004-04-20 10:28 Dan Nelson <dnelson@allantgroup.com>
257 Check for a couple more autoconf versions
259 Also set $AUTOM4TE and blow away autom4te* subdirs
261 2004-03-27 14:05 Dan Nelson <dnelson@allantgroup.com>
267 2004-03-18 13:04 Dan Nelson <dnelson@allantgroup.com>
273 2004-03-18 12:37 Dan Nelson <dnelson@allantgroup.com>
275 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
280 Add the ability to send spam to a spambucket even if -r is set
282 2004-03-17 18:05 Dan Nelson <dnelson@allantgroup.com>
288 2004-02-24 17:02 Dan Nelson <dnelson@allantgroup.com>
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.
296 2004-02-21 22:18 Dan Nelson <dnelson@allantgroup.com>
298 * NEWS, spamass-milter.cpp:
300 arg. why does cvs default to commit on a blank log.
302 Put email alias expansion under a flag (-x, defaulted to off).
304 2004-02-21 22:16 Dan Nelson <dnelson@allantgroup.com>
306 * spamass-milter.cpp:
310 2004-02-09 17:03 Dan Nelson <dnelson@allantgroup.com>
312 * contrib/spamass-milter.sh:
314 Convert the FreeBSD startup script to rc.subr format.
316 2004-01-27 13:39 Dan Nelson <dnelson@allantgroup.com>
318 * spamass-milter.1.in, spamass-milter.cpp:
320 -e now requires the default domain as a parameter. Also fix up
321 whitespace and punctuation in the manpage.
323 2003-10-26 22:00 Dan Nelson <dnelson@allantgroup.com>
327 Force automake to use the version of autoconf that we want.
329 2003-10-24 12:36 Dan Nelson <dnelson@allantgroup.com>
331 * contrib/spamass-milter.sh:
333 update FreeBSD rc script to use the pidfile
335 2003-10-24 01:55 Dan Nelson <dnelson@allantgroup.com>
337 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
338 ac_cxx_verbose_terminate_handler.m4, configure.in,
341 Use gcc's verbose exception handler is possible. If this function is
342 unavailable, C++ will simply abort on any exception. Ugh.
344 2003-10-24 01:53 Dan Nelson <dnelson@allantgroup.com>
346 * ac_pike_compiler_flag.m4:
348 Use CPPFLAGS instead of CFLAGS/CXXFLAGS
350 2003-10-21 16:41 Dan Nelson <dnelson@allantgroup.com>
356 2003-10-21 16:40 Dan Nelson <dnelson@allantgroup.com>
358 * configure.in, daemon.c, spamass-milter.cpp:
360 make -f fully daemonize, and add -P to create a pidfile.
362 2003-09-12 00:45 Dan Nelson <dnelson@allantgroup.com>
364 * spamass-milter.cpp:
368 2003-09-12 00:42 Dan Nelson <dnelson@allantgroup.com>
370 * spamass-milter.cpp:
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.
375 2003-09-05 21:38 Dan Nelson <dnelson@allantgroup.com>
379 no more spamass-milter.man.in
381 2003-09-05 21:15 Dan Nelson <dnelson@allantgroup.com>
385 no more spamass-milter.man.in
387 2003-09-05 21:06 Dan Nelson <dnelson@allantgroup.com>
391 no more spamass-milter.man
393 2003-09-05 11:42 Dan Nelson <dnelson@allantgroup.com>
397 Distribute mdoc2man.awk, and let systems without mdoc functionality
398 convert the manpage themselves.
400 2003-09-05 11:33 Dan Nelson <dnelson@allantgroup.com>
405 Yay! Peter Stuge decided on a license, so bring this back into CVS.
407 2003-09-02 23:53 Dan Nelson <dnelson@allantgroup.com>
409 * spamass-milter.cpp:
411 Oops. Forgot to strip the domain part in local_user when there are no brackets.
413 2003-08-29 11:01 Dan Nelson <dnelson@allantgroup.com>
415 * ac_pike_compiler_flag.m4, configure.in:
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.
422 2003-08-29 11:00 Dan Nelson <dnelson@allantgroup.com>
424 * spamass-milter.cpp:
426 Redirect stderr to stdout when running sendmail -bv; otherwise we lose
427 anything sent to stderr
429 2003-08-28 09:59 Dan Nelson <dnelson@allantgroup.com>
431 * TODO, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
433 Add -e flag to pass full email address to spamc
435 Run all recipients through sendmail -bv (this may end up behind a
436 commandline switch, but it's low-overhead so probably not).
438 2003-08-12 22:47 Dan Nelson <dnelson@allantgroup.com>
440 * configure.in, spamass-milter.cpp, spamass-milter.h:
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
445 2003-08-12 22:33 Dan Nelson <dnelson@allantgroup.com>
449 Bump original version to 1.8, since the originating webpage apparently
450 did. There are absolutely no changes other than the version number.
452 2003-08-11 17:12 Dan Nelson <dnelson@allantgroup.com>
454 * spamass-milter.cpp:
456 move newrecipients out of the inner loop
458 2003-08-11 16:36 Dan Nelson <dnelson@allantgroup.com>
460 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
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
467 2003-08-05 23:45 Dan Nelson <dnelson@allantgroup.com>
469 * spamass-milter.cpp:
471 Fix two cases where we caught an error but didn't clean up the assassin
474 2003-08-05 23:29 Dan Nelson <dnelson@allantgroup.com>
476 * spamass-milter.cpp:
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
482 2003-08-04 23:13 Dan Nelson <dnelson@allantgroup.com>
486 document crash on empty body fix
488 2003-08-04 18:03 Dan Nelson <dnelson@allantgroup.com>
492 Distribute subst_poll.h
494 2003-07-31 17:35 Dan Nelson <dnelson@allantgroup.com>
496 * spamass-milter.cpp:
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
502 2003-07-31 14:13 Dan Nelson <dnelson@allantgroup.com>
504 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
506 New -M flag that disables all body/header changes. With this flag, the
507 milter is transparent to the message stream.
509 2003-07-21 20:10 Dan Nelson <dnelson@allantgroup.com>
511 * spamass-milter.cpp:
513 POSIX says strcasecmp requires strings.h
515 2003-07-16 21:28 Dan Nelson <dnelson@allantgroup.com>
517 * spamass-milter.cpp:
519 If there is no body, set bob to point to the end of the string returned
520 by spamassassin instead of string::npos.
522 2003-07-09 12:58 Dan Nelson <dnelson@allantgroup.com>
528 2003-07-07 14:46 Dan Nelson <dnelson@allantgroup.com>
530 * spamass-milter.cpp:
532 Added func logging for two returns in ::output and ::input
534 2003-07-07 14:44 Dan Nelson <dnelson@allantgroup.com>
536 * spamass-milter.cpp:
538 Add func debug logging for mlfi_envrcpt
540 2003-07-07 14:39 Dan Nelson <dnelson@allantgroup.com>
542 * spamass-milter.cpp:
544 shortcut ip_in_networklist if the list is empty.
546 2003-07-07 13:45 Dan Nelson <dnelson@allantgroup.com>
552 2003-07-02 17:28 Dan Nelson <dnelson@allantgroup.com>
558 2003-06-30 15:24 Dan Nelson <dnelson@allantgroup.com>
562 Small workaround for people trying to configure from CVS. Create a
563 blank spamass-milter.man.in if it doesn't already exist.
565 2003-06-30 15:23 Dan Nelson <dnelson@allantgroup.com>
569 spell automake with a lowercase a
571 2003-06-26 22:24 Dan Nelson <dnelson@allantgroup.com>
573 * contrib/spamass-milter.spec.in:
575 We don't have these two files.
577 2003-06-26 17:13 Dan Nelson <dnelson@allantgroup.com>
579 * NEWS, configure.in:
583 2003-06-26 16:57 Dan Nelson <dnelson@allantgroup.com>
585 * NEWS, configure.in:
589 2003-06-26 10:10 Dan Nelson <dnelson@allantgroup.com>
591 * spamass-milter.cpp:
595 2003-06-26 09:45 Dan Nelson <dnelson@allantgroup.com>
597 * spamass-milter.cpp:
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.
603 2003-06-25 11:17 Dan Nelson <dnelson@allantgroup.com>
605 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
607 Document -B, and sort -h output
609 2003-06-25 10:17 Dan Nelson <dnelson@allantgroup.com>
611 * Makefile.am, configure.in, mdoc2man.awk:
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
617 2003-06-25 10:15 Dan Nelson <dnelson@allantgroup.com>
619 * spamass-milter.cpp:
621 Check for a NULL hostaddr in mlfi_connect. It should never happen, so
622 emit a warning in the log when it does.
624 2003-06-18 18:13 Dan Nelson <dnelson@allantgroup.com>
626 * ac_dmalloc.m4, configure.in, spamass-milter.cpp:
628 - Use my own dmalloc check, since AM_WITH_DMALLOC only works for
629 nonthreaded C programs.
631 - Some systems provide strsep() but no prototype. Check for that.
633 2003-06-18 13:57 Dan Nelson <dnelson@allantgroup.com>
635 * ac_pike_paths.m4, configure.in:
637 - Add a --with-dmalloc option
639 - Search some common directories for includes and libraries, to find
640 dmalloc or user-compiled sendmail libs.
642 2003-06-16 14:59 Dan Nelson <dnelson@allantgroup.com>
648 2003-06-14 14:17 Dan Nelson <dnelson@allantgroup.com>
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.
656 2003-06-14 14:01 Dan Nelson <dnelson@allantgroup.com>
658 * spamass-milter.cpp:
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.
664 2003-06-12 21:39 Dan Nelson <dnelson@allantgroup.com>
668 Add an "upload" makefile target that pushes tarballs to savannah
670 2003-06-12 17:41 Dan Nelson <dnelson@allantgroup.com>
672 * Makefile.am, spamass-milter.cpp, spamass-milter.h:
674 Lowercase the username when using -u; email addresses are
675 case-insensitive, but userids are usually all-lowercase and
678 2003-06-11 15:18 Dan Nelson <dnelson@allantgroup.com>
684 2003-06-11 15:17 Dan Nelson <dnelson@allantgroup.com>
686 * spamass-milter.cpp, spamass-milter.h:
688 * Even better sendmail-style Received: header generation. Pass SA the
689 value of the HELO command. This lets rules like FORGED_HOTMAIL work.
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.
694 2003-06-10 13:42 Dan Nelson <dnelson@allantgroup.com>
698 Remove some of the disclaimers; it's pretty stable now.
700 2003-06-10 00:52 Dan Nelson <dnelson@allantgroup.com>
704 Tell automake we would like a bzip2 tarball also
706 2003-06-10 00:02 Dan Nelson <dnelson@allantgroup.com>
712 2003-06-10 00:02 Dan Nelson <dnelson@allantgroup.com>
718 2003-06-09 23:57 Dan Nelson <dnelson@allantgroup.com>
720 * configure.in, spamass-milter.cpp, strsep.c:
722 provide a strsep() for systems without one
724 2003-06-09 23:47 Dan Nelson <dnelson@allantgroup.com>
726 * spamass-milter.cpp:
730 2003-06-09 22:03 Dan Nelson <dnelson@allantgroup.com>
732 * TODO, spamass-milter.cpp:
734 New flag -B. Just like -b, but the original recipient gets the spam too.
736 2003-06-09 16:24 Dan Nelson <dnelson@allantgroup.com>
740 Just realized you can redirect to /dev/null to silently drop spam
742 2003-06-09 15:27 Dan Nelson <dnelson@allantgroup.com>
748 2003-06-09 12:19 Dan Nelson <dnelson@allantgroup.com>
750 * NEWS, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
752 Add spambucket support. "-b otheraddress" will redirect all tagged
753 spam to that address. Original recipients get put into X-Spam-Orig-To:
756 2003-06-09 12:16 Dan Nelson <dnelson@allantgroup.com>
758 * spamass-milter.1.in:
762 2003-06-09 10:57 Dan Nelson <dnelson@allantgroup.com>
766 Oops. forgot to include config.h
768 2003-06-07 14:50 Dan Nelson <dnelson@allantgroup.com>
772 scratchpad so I don't forget things
774 2003-06-07 14:43 Dan Nelson <dnelson@allantgroup.com>
776 * ac_vl_prog_cc_warnings.m4, configure.in:
778 Use VL_PROG_CC_WARNINGS to add compiler-appropriate warnings flags
780 2003-06-07 14:16 Dan Nelson <dnelson@allantgroup.com>
782 * spamass-milter.cpp, spamass-milter.h:
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.
788 2003-06-06 21:56 Dan Nelson <dnelson@allantgroup.com>
790 * ac_acx_pthread.m4, ac_cf_gnu_source.m4, acinclude.m4, autogen.sh:
792 Split 3rd-party autoconf macros out into their own files
794 2003-06-06 16:04 Dan Nelson <dnelson@allantgroup.com>
798 Summarize the last few days worth of commits
800 2003-06-06 15:48 Dan Nelson <dnelson@allantgroup.com>
802 * README, spamass-milter.cpp:
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.
809 Also update README to include the sendmail.mc line required to enable "b".
811 2003-06-06 11:37 Dan Nelson <dnelson@allantgroup.com>
813 * spamass-milter.cpp, spamass-milter.h:
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.
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.
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.
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.
838 Also for ease of coding add some more output methods with string and
839 unsized void* arguments.
841 2003-06-06 11:22 Dan Nelson <dnelson@allantgroup.com>
843 * spamass-milter.cpp:
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.
851 2003-06-06 11:16 Dan Nelson <dnelson@allantgroup.com>
853 * spamass-milter.cpp:
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 :)
858 2003-06-06 11:10 Dan Nelson <dnelson@allantgroup.com>
860 * spamass-milter.cpp:
862 Clean up some debugging messages
864 2003-06-06 11:05 Dan Nelson <dnelson@allantgroup.com>
866 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
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.
871 2003-06-06 10:43 Dan Nelson <dnelson@allantgroup.com>
873 * spamass-milter.cpp:
875 Cleanup commit. You don't need a semicolon after a function body, and
876 Intel's compiler warns about them.
878 2003-06-06 10:34 Dan Nelson <dnelson@allantgroup.com>
882 explicitly make spamass-milter.cpp depend on spamass-milter.h
884 2003-06-05 16:18 Dan Nelson <dnelson@allantgroup.com>
886 * spamass-milter.cpp:
888 reword -i description so it says skip checks instead of skip the
891 2003-06-04 14:41 Dan Nelson <dnelson@allantgroup.com>
893 * spamass-milter.cpp:
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.
898 2003-06-03 02:20 Dan Nelson <dnelson@allantgroup.com>
900 * NEWS, spamass-milter.1.in:
902 update NEWS, adjust description of -i
904 2003-06-03 01:36 Dan Nelson <dnelson@allantgroup.com>
906 * spamass-milter.cpp, spamass-milter.h:
908 gcc 2.95 apparently can't handle the case where a struct and an element
911 2003-06-03 01:24 Dan Nelson <dnelson@allantgroup.com>
913 * AUTHORS, spamass-milter.1.in, spamass-milter.cpp,
916 Add -i to list netblocks to ignore (argument is a comma-delimited list
917 of ip addresses, ip/netmask, or ip/bits).
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,
923 2003-06-02 21:09 Dan Nelson <dnelson@allantgroup.com>
927 If the server cannot process mdoc macros, use mdoc2man to generate a
928 manpage with man macros instead.
930 2003-06-02 21:08 Dan Nelson <dnelson@allantgroup.com>
932 * Makefile.am, configure.in, spamass-milter.cpp:
935 If the server cannot process mdoc macros, use mdoc2man to generate a
936 manpage with man macros instead.
938 2003-03-10 21:40 Dan Nelson <dnelson@allantgroup.com>
940 * configure.in, poll.c:
942 add some more headers to pooll.c, and allow the user to force poll
943 emulation, for testing.
945 2003-03-10 17:42 Dan Nelson <dnelson@allantgroup.com>
949 expand check to search for automake as well, check for more versions
951 2003-03-06 23:11 Dan Nelson <dnelson@allantgroup.com>
955 Oops. Forgot to enable the poll.h test.
957 2003-03-06 22:33 Dan Nelson <dnelson@allantgroup.com>
959 * spamass-milter.1.in, spamass-milter.cpp:
961 Use 'defaultuser' instead of 'user' as an example when talking about
962 the argument to the -u flag.
964 2003-03-06 22:26 Dan Nelson <dnelson@allantgroup.com>
966 * spamass-milter.1.in:
968 Document the -D host flag.
970 2003-03-06 15:50 Dan Nelson <dnelson@allantgroup.com>
974 I keep forgetting to bump the version number before and after a
975 release. We are now at 0.1.3a+cvs
977 2003-03-06 15:40 Dan Nelson <dnelson@allantgroup.com>
979 * poll.c, subst_poll.h:
982 Add Ids, also record that fact that this function was lifted from
983 the "wy60" terminal emulator software by Markus Gutschke.
985 2003-03-06 15:37 Dan Nelson <dnelson@allantgroup.com>
987 * Makefile.am, configure.in, poll.c, spamass-milter.cpp,
991 Provide a substitute poll() function for systems that are missing it.
993 2003-03-06 15:33 Dan Nelson <dnelson@allantgroup.com>
995 * spamass-milter.cpp, AUTHORS, contrib/spamass-milter-redhat.rc:
998 . Add the ability to connect to a spamd on another server (-D host)
1000 . Change the redhat rc script's path to match where an RPM would put
1003 2003-01-21 14:44 Dan Nelson <dnelson@allantgroup.com>
1005 * spamass-milter.cpp:
1007 (forced commit due to empty log message)
1009 Fix "-u" to actually pass its argument to spamc instead of hardcoding
1012 2003-01-21 14:42 Dan Nelson <dnelson@allantgroup.com>
1014 * spamass-milter.cpp:
1018 2003-01-17 14:53 Dan Nelson <dnelson@allantgroup.com>
1020 * contrib/spamass-milter-redhat.rc:
1022 Config files are sourced and do not require the execute bit set, so
1023 just test to see if the file exists.
1025 2002-12-31 14:17 Dan Nelson <dnelson@allantgroup.com>
1027 * NEWS, configure.in:
1031 2002-12-31 14:03 Dan Nelson <dnelson@allantgroup.com>
1033 * spamass-milter.cpp:
1035 Add a call to fork spamc after header processing, as a fallback case
1036 for when no headers are sent at all.
1038 2002-12-31 13:34 Dan Nelson <dnelson@allantgroup.com>
1040 * spamass-milter.cpp:
1042 add a big more debugging to the poll loop
1044 2002-12-27 16:32 Dan Nelson <dnelson@allantgroup.com>
1048 Version is now 0.1.3+cvs
1050 2002-12-27 15:53 Dan Nelson <dnelson@allantgroup.com>
1054 Change version to 0.1.3
1056 2002-12-27 15:52 Dan Nelson <dnelson@allantgroup.com>
1062 2002-12-27 15:50 Dan Nelson <dnelson@allantgroup.com>
1068 2002-12-27 15:38 Dan Nelson <dnelson@allantgroup.com>
1072 Add FreeBSD rc script
1074 2002-12-27 15:36 Dan Nelson <dnelson@allantgroup.com>
1076 * contrib/spamass-milter.sh:
1080 2002-12-27 15:35 Dan Nelson <dnelson@allantgroup.com>
1082 * contrib/spamass-milter.sh:
1084 Add a FreeBSD startup script
1086 2002-12-23 11:08 Dan Nelson <dnelson@allantgroup.com>
1088 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1090 Add -u option to pass the username to spamc. Without -u behaviour
1091 should be unchanged.
1093 2002-12-21 12:20 Dan Nelson <dnelson@allantgroup.com>
1095 * spamass-milter.cpp:
1097 Check for an empty header
1099 2002-12-21 12:18 Dan Nelson <dnelson@allantgroup.com>
1101 * spamass-milter.1.in:
1103 document debug level 3
1105 2002-11-17 17:01 Dan Nelson <dnelson@allantgroup.com>
1109 Update list of patch submitters
1111 2002-11-17 16:57 Dan Nelson <dnelson@allantgroup.com>
1113 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
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.
1118 Closes patches 440 and 441, submitted by Patrick Monnerat <pm@datasphere.ch>
1120 2002-11-15 17:22 Dan Nelson <dnelson@allantgroup.com>
1122 * spamass-milter.1.in, spamass-milter.cpp:
1124 Add -m option, which disables body, Subject:, and Content-Type: header
1125 modification. Closes patch 385.
1127 2002-11-15 15:54 Dan Nelson <dnelson@allantgroup.com>
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.
1135 2002-11-15 01:18 Dan Nelson <dnelson@allantgroup.com>
1139 Switch from --fsf to --no-wrap, which is really what I wanted in the
1142 2002-11-15 01:17 Dan Nelson <dnelson@allantgroup.com>
1147 Try really hard to run a new-ish version of autoconf. This should make
1148 rhautogen.sh obsolete.
1150 2002-11-15 01:04 Dan Nelson <dnelson@allantgroup.com>
1152 * spamass-milter.cpp, spamass-milter.h:
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
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.
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.
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
1177 2002-11-14 21:23 Dan Nelson <dnelson@allantgroup.com>
1181 Update acx_pthread; Tru64 and HP-UX compatibility, and make sure the tests are run under C
1183 2002-11-14 21:22 Dan Nelson <dnelson@allantgroup.com>
1187 Only add /usr/lib/libmilter as a library path if the directory exists
1189 2002-09-23 00:39 Dan Nelson <dnelson@allantgroup.com>
1193 Previous commit should read
1195 AC_CHECK_PROG doesn't work; AC_CHECK_PROGS does.
1197 2002-09-23 00:39 Dan Nelson <dnelson@allantgroup.com>
1201 AC_CHECK_PROG doesn't work; AC_CHECK_PROG does.
1203 2002-09-20 16:15 Dan Nelson <dnelson@allantgroup.com>
1208 Allow the user to specify spamc arguments during configure
1210 2002-09-18 12:17 Dan Nelson <dnelson@allantgroup.com>
1212 * Makefile.am, configure.in:
1215 Change version number to reflace that there are post-release changes.
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.
1220 2002-08-28 11:54 Dan Nelson <dnelson@allantgroup.com>
1222 * spamass-milter.cpp:
1224 Add Id variable to store CVS version in the binary
1226 2002-08-23 11:59 Dan Nelson <dnelson@allantgroup.com>
1228 * spamass-milter.cpp:
1230 Fix bug that caused doubling of Content-Type: on spam emails.
1232 2002-08-19 15:39 Dan Nelson <dnelson@allantgroup.com>
1234 * contrib/: spamass-milter-redhat.rc, spamass-milter.spec.in:
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
1243 2002-08-18 16:38 Dan Nelson <dnelson@allantgroup.com>
1249 2002-08-18 16:13 Dan Nelson <dnelson@allantgroup.com>
1255 2002-08-18 16:13 Dan Nelson <dnelson@allantgroup.com>
1259 Update with my name, and add Waider
1261 2002-08-18 15:53 Dan Nelson <dnelson@allantgroup.com>
1263 * ChangeLog, Makefile.am:
1265 More cleanup for the distribution.
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
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.
1277 2002-08-18 15:44 Dan Nelson <dnelson@allantgroup.com>
1281 List of committer IDs and names, for use by cvs2cl
1283 2002-08-17 22:09 Dan Nelson <dnelson@allantgroup.com>
1285 * spamass-milter.1.in:
1287 Remove some extra comments
1289 2002-08-14 11:15 Dan Nelson <dnelson@allantgroup.com>
1291 * spamass-milter.cpp:
1294 Fix swapped variables names preventing subject and content-type from
1295 being updated (from Lance A. Brown)
1297 2002-07-25 23:32 Dan Nelson <dnelson@allantgroup.com>
1299 * Makefile.am, configure.in, spamass-milter.1.in:
1303 2002-07-24 11:19 Dan Nelson <dnelson@allantgroup.com>
1305 * Makefile.am, autogen.sh, configure.in, rhautogen.sh,
1306 contrib/spamass-milter, contrib/spamass-milter-redhat.rc,
1307 contrib/spamass-milter.spec.in:
1310 - Add RedHat .spec and .rc files
1312 - Add contrib/ files to the distfile
1314 2002-07-22 22:48 Dan Nelson <dnelson@allantgroup.com>
1316 * spamass-milter.cpp:
1318 Forgot to mention; the previous commit was patch 354
1320 2002-07-22 22:47 Dan Nelson <dnelson@allantgroup.com>
1322 * spamass-milter.cpp:
1325 Only replace Subject: and Content-Type: headers if they change
1327 2002-07-22 22:46 Dan Nelson <dnelson@allantgroup.com>
1331 Make failure to find milter library fatal
1333 2002-07-22 22:34 Dan Nelson <dnelson@allantgroup.com>
1335 * spamass-milter.cpp:
1340 - Fix typo affecting the case of incoming spam with no subject
1342 2002-07-22 21:05 Dan Nelson <dnelson@allantgroup.com>
1346 Fix an accidentally spammed embedded Id
1348 2002-07-22 21:02 Dan Nelson <dnelson@allantgroup.com>
1350 * Makefile.am, acconfig.h, acinclude.m4, autogen.sh, configure.in,
1351 spamass-milter.cpp, spamass-milter.h:
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
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
1368 2002-04-27 12:14 Georg C. F. Greve <greve@gnu.org>
1370 * contrib/spamass-milter:
1372 adopted for commandline-parameter change
1374 2002-04-27 12:05 Georg C. F. Greve <greve@gnu.org>
1376 * ChangeLog, spamass-milter.cpp, spamass-milter.h:
1378 Added support for 'X-Spam-Level' Flag introduced with version 2.20 of SpamAssassin
1380 2002-03-27 09:56 Michael Brown <michael@supermathie.net>
1382 * spamass-milter.cpp:
1384 Added a -f option that makes spamass-milter fork into the background
1385 spamass-milt now removes the socket if it already exists.
1387 2002-03-06 07:07 Georg C. F. Greve <greve@gnu.org>
1389 * AUTHORS, ChangeLog, NEWS, configure.in, spamass-milter.cpp,
1390 spamass-milter.h, contrib/spamass-milter:
1392 Applied some patches. Rights assigned to FSF Europe. Appointed Michael as maintainer.
1394 2002-02-26 06:55 Georg C. F. Greve <greve@gnu.org>
1396 * contrib/spamass-milter:
1398 seems I forgot to commit it last time. *sigh*
1400 2002-01-31 09:56 Georg C. F. Greve <greve@gnu.org>
1406 2002-01-31 09:34 Georg C. F. Greve <greve@gnu.org>
1408 * spamass-milter.cpp:
1410 fixed some typing bugs... :-)
1412 2002-01-31 09:28 Georg C. F. Greve <greve@gnu.org>
1414 * spamass-milter.cpp, spamass-milter.h, ChangeLog, configure.in:
1416 * Update for Version 2.0+ of SpamAssassin
1417 * Only modify mail *not* rated Spam before, leave marked Spam untouched
1419 2002-01-16 16:24 Georg C. F. Greve <greve@gnu.org>
1421 * spamass-milter.cpp:
1423 output package name & version with usage
1425 2002-01-16 16:19 Georg C. F. Greve <greve@gnu.org>
1427 * spamass-milter.cpp:
1429 now using SPAMC variable determined in configure
1431 2002-01-16 16:16 Georg C. F. Greve <greve@gnu.org>
1433 * contrib/README.gnus:
1435 This might be useful to other gnus users.
1437 2002-01-16 16:10 Georg C. F. Greve <greve@gnu.org>
1441 A small README to have minimal documentation
1443 2002-01-16 15:41 Georg C. F. Greve <greve@gnu.org>
1445 * Makefile.am, acconfig.h, configure.in:
1447 Autoconf should work now
1449 2002-01-16 14:30 Georg C. F. Greve <greve@gnu.org>
1451 * acconfig.h, config.h.in, AUTHORS, NEWS, README:
1453 autoconf setup still needs polishing
1455 2002-01-16 14:26 Georg C. F. Greve <greve@gnu.org>
1457 * ChangeLog, Makefile.am, autogen.sh, configure.in, config.h.in:
1459 autoconf setup still needs polishing
1461 2002-01-16 03:41 Georg C. F. Greve <greve@gnu.org>
1463 * spamass-milter.cpp, spamass-milter.h: