1 2014-09-10 20:43 kovert
7 2014-09-10 20:42 kovert
9 * contrib/spamass-milter:
13 2014-09-10 20:39 kovert
17 add auth_* bits to confMILTER_MACROS_ENVFROM
19 2014-08-14 22:46 kovert
23 add -a to getopt args; print -C/-R in help output
25 2014-08-14 22:25 kovert
27 * spamass-milter.1.in, spamass-milter.cpp:
29 Add extra-patch-rejecttext1 from FreeBSD, which deals with issues
30 in bug id #16395 and feature request 103491.
32 2014-08-14 22:07 kovert
36 incorporate freebsd's freebsd-patches/extra-patch-addauth (per bug 21046
39 2014-08-14 21:51 kovert
41 * configure.in, spamass-milter.cpp, spamass-milter.h:
43 bump version to 0.3.9.dev
45 apply gcc warnings patch from bug#29326 (Paul Howarth <pghmcfc>)
47 2014-08-13 23:53 kovert
49 * spamass-milter.1.in, spamass-milter.cpp:
51 add -P option to deal with edge case described i bug #14730
53 2014-08-13 23:36 kovert
55 * spamass-milter.cpp, spamass-milter.h:
57 make -i work with ipv6 addresses
59 patch from http://wilmer.gaa.st/blog/archives/61-spamass-milter-and-IPv6.html
63 2011-02-14 16:56 Dan Nelson <dnelson@allantgroup.com>
69 2011-02-14 16:50 Dan Nelson <dnelson@allantgroup.com>
73 revert 1.93 committed in error
75 2011-02-14 16:50 Dan Nelson <dnelson@allantgroup.com>
79 revert 1.25 committed in error
81 2011-02-14 16:48 Dan Nelson <dnelson@allantgroup.com>
85 revert 1.6 committed in error
87 2011-02-14 16:46 Dan Nelson <dnelson@allantgroup.com>
89 * ChangeLog, Makefile.am, spamass-milter.cpp, spamass-milter.h:
91 savannah disabled ftp uploads, at some point, so try rsync again
93 2011-02-14 16:31 Dan Nelson <dnelson@allantgroup.com>
99 2011-02-11 01:01 Dan Nelson <dnelson@allantgroup.com>
101 * spamass-milter.cpp, spamass-milter.h:
104 Replace all instances of popen() with a custom function that takes an argv
105 instead of a single string, to avoid a security hole when untrusted user
106 input is used as part of the command.
108 2006-07-24 15:59 Dan Nelson <dnelson@allantgroup.com>
110 * spamass-milter.cpp:
112 Add missing ")" after envelope-from and add missing ";" before date in
113 generated Received: header.
115 http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17178
117 2006-04-19 11:40 Dan Nelson <dnelson@allantgroup.com>
121 add a line for confMILTER_MACROS_ENVRCPT
123 2006-04-05 11:59 Dan Nelson <dnelson@allantgroup.com>
125 * NEWS, configure.in:
129 2006-03-23 16:51 Dan Nelson <dnelson@allantgroup.com>
133 news update (sa 3.1.1, better Received header)
135 2006-03-23 16:41 Dan Nelson <dnelson@allantgroup.com>
137 * spamass-milter.cpp:
139 Spamassassin 3.1.1 now emits headers with CRLF if the incoming message
140 has CRLFs. Make sure that we strip the CR from wrapped headers when we
141 parse the returned message.
143 2006-01-23 15:47 Dan Nelson <dnelson@allantgroup.com>
147 .deps isn't created since we use no-dependencies
149 2005-10-06 11:12 Dan Nelson <dnelson@allantgroup.com>
153 Add /usr/sbin to the list of directories to look for sendmail in, just
154 in case the user doesn't have it in their $PATH. /usr/lib was the
155 historical location for sendmail, but most systems put the real binary
158 2005-08-15 11:10 Dan Nelson <dnelson@allantgroup.com>
162 Remove references to INSTALL, also mention autogen.sh.
164 http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14090
166 2005-06-02 14:30 Dan Nelson <dnelson@allantgroup.com>
168 * spamass-milter.cpp:
170 It turns out that mlfi_close /can/ be called without mlfi_connect, and
171 there is no guarantee that the context has been set. If it's NULL,
174 2005-04-06 22:04 Dan Nelson <dnelson@allantgroup.com>
176 * README, spamass-milter.cpp, spamass-milter.h:
179 - Make our fake sendmail Received: header even better.
181 - Fix a silly bug in cmp_nocase_partial that made it return true if
182 either string was a prefix of the other (it should return true only
183 if s is a prefix of s2).
185 Thanks to Yoshitaka Tokugawa.
187 2005-02-22 11:10 Dan Nelson <dnelson@allantgroup.com>
189 * spamass-milter.cpp:
191 Change 172.16 to 172.16.0.0 in the usage text. Partial IP addresses do
194 2005-02-05 02:34 Dan Nelson <dnelson@allantgroup.com>
198 - new code to upload distfile and sigs to savannah's goofy ftp staging
201 - add mdoc2man.awk to the distfile
203 2005-02-05 02:03 Dan Nelson <dnelson@allantgroup.com>
205 * spamass-milter.cpp:
207 Fix some unused-variable warnings when not on FreeBSD. The hack will
208 go away in the next release, since the bug has been fixed.
210 2005-02-04 14:25 Dan Nelson <dnelson@allantgroup.com>
214 More automake cleanup cleanup.
216 2005-02-04 13:55 Dan Nelson <dnelson@allantgroup.com>
218 * NEWS, configure.in:
222 2004-11-05 11:26 Dan Nelson <dnelson@allantgroup.com>
228 2004-10-29 11:56 Dan Nelson <dnelson@allantgroup.com>
232 check for automake 1.9
234 2004-09-24 00:42 Dan Nelson <dnelson@allantgroup.com>
236 * spamass-milter.cpp:
238 When reading headers from spamc's output, strip a trailing CR from the
241 2004-09-23 16:28 Dan Nelson <dnelson@allantgroup.com>
245 Unlikely that this is doing any good
247 2004-09-23 16:27 Dan Nelson <dnelson@allantgroup.com>
253 2004-09-22 12:24 Dan Nelson <dnelson@allantgroup.com>
259 2004-09-21 17:06 Dan Nelson <dnelson@allantgroup.com>
263 fix crash on fork failure
265 2004-09-21 17:04 Dan Nelson <dnelson@allantgroup.com>
267 * spamass-milter.cpp:
269 Make sure variables are set in the constructor in the same order they
270 appear in the header.
272 2004-09-21 16:51 Dan Nelson <dnelson@allantgroup.com>
276 Make a note that some variables should be collapsed into one
278 2004-09-21 16:49 Dan Nelson <dnelson@allantgroup.com>
280 * spamass-milter.cpp:
282 If a fork fails at the right time, "running" may be set when pid=-1.
283 This can be very bad when the cleanup routine runs kill(pid, SIGKILL).
285 2004-09-06 21:19 Dan Nelson <dnelson@allantgroup.com>
287 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
288 ac_cxx_verbose_terminate_handler.m4:
290 Update ac-archive scripts and add upstream version ids
292 2004-09-06 21:12 Dan Nelson <dnelson@allantgroup.com>
296 note that we support SA 3.0
298 2004-09-06 21:02 Dan Nelson <dnelson@allantgroup.com>
304 2004-08-26 14:01 Dan Nelson <dnelson@allantgroup.com>
306 * spamass-milter.cpp:
308 When extracting the score, check for "score=###" as well as "hits=###"
310 2004-07-28 22:15 Dan Nelson <dnelson@allantgroup.com>
312 * spamass-milter.cpp:
314 I have no idea how gcc allowed this to compile.
316 2004-07-16 17:46 Dan Nelson <dnelson@allantgroup.com>
318 * spamass-milter.cpp:
320 In local_user, stop at the first "+" or "@", so we can handle
321 user+detail addresses correctly. Something similar should be done for
322 full_user but that's a bit more complicated.
324 2004-07-06 13:42 Dan Nelson <dnelson@allantgroup.com>
326 * contrib/spamass-milter-suse.rc:
328 Another Linux startup script, this time for SUSE.
330 2004-07-01 19:02 Dan Nelson <dnelson@allantgroup.com>
334 more inline prevention
336 2004-06-03 22:50 Dan Nelson <dnelson@allantgroup.com>
338 * spamass-milter.cpp:
340 Don't segfault if we can't fetch the _ and j macros.
342 2004-05-19 11:00 Dan Nelson <dnelson@allantgroup.com>
344 * spamass-milter.cpp:
346 Misc C++ cleanups courtesy Jeremy Lin, plus a fix for Linux's ps
347 showing blanks in the arguments to -i and -d.
349 2004-05-13 17:50 Dan Nelson <dnelson@allantgroup.com>
351 * ac_pike_compiler_flag.m4, autogen.sh:
355 2004-05-13 17:43 Dan Nelson <dnelson@allantgroup.com>
357 * spamass-milter.cpp:
359 Adjust output of generated Received: header to more closely match
360 sendmail's output. Spamassassin is very picky about parsing it. Fixes
361 savannah bug 6970 and patch 3051.
363 Also convert all "RCPT TO" commands to X-Envelope-To: headers, not just
364 the first one. This may have prevented whitelist checks from applying
367 2004-05-10 14:59 Dan Nelson <dnelson@allantgroup.com>
369 * spamass-milter.cpp:
371 Don't use asprintf to expand aliases, since we also use 'buf' to read
372 the results of the popen. Just set a 1024-char buffer, and anyone with
373 an email address longer than that loses.
375 2004-04-20 11:28 Dan Nelson <dnelson@allantgroup.com>
379 Check for a couple more autoconf versions
381 Also set $AUTOM4TE and blow away autom4te* subdirs
383 2004-03-27 15:05 Dan Nelson <dnelson@allantgroup.com>
389 2004-03-18 14:04 Dan Nelson <dnelson@allantgroup.com>
395 2004-03-18 13:37 Dan Nelson <dnelson@allantgroup.com>
397 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
402 Add the ability to send spam to a spambucket even if -r is set
404 2004-03-17 19:05 Dan Nelson <dnelson@allantgroup.com>
410 2004-02-24 18:02 Dan Nelson <dnelson@allantgroup.com>
414 Finally figured out why sometimes it would run the wrong auto* tool.
415 You need to set all 4 of these variables before calling any, or they'll
416 use their defaults which may be wrong.
418 2004-02-21 23:18 Dan Nelson <dnelson@allantgroup.com>
420 * NEWS, spamass-milter.cpp:
422 arg. why does cvs default to commit on a blank log.
424 Put email alias expansion under a flag (-x, defaulted to off).
426 2004-02-21 23:16 Dan Nelson <dnelson@allantgroup.com>
428 * spamass-milter.cpp:
432 2004-02-09 18:03 Dan Nelson <dnelson@allantgroup.com>
434 * contrib/spamass-milter.sh:
436 Convert the FreeBSD startup script to rc.subr format.
438 2004-01-27 14:39 Dan Nelson <dnelson@allantgroup.com>
440 * spamass-milter.1.in, spamass-milter.cpp:
442 -e now requires the default domain as a parameter. Also fix up
443 whitespace and punctuation in the manpage.
445 2003-10-26 23:00 Dan Nelson <dnelson@allantgroup.com>
449 Force automake to use the version of autoconf that we want.
451 2003-10-24 13:36 Dan Nelson <dnelson@allantgroup.com>
453 * contrib/spamass-milter.sh:
455 update FreeBSD rc script to use the pidfile
457 2003-10-24 02:55 Dan Nelson <dnelson@allantgroup.com>
459 * ac_cxx_exceptions.m4, ac_cxx_namespaces.m4,
460 ac_cxx_verbose_terminate_handler.m4, configure.in,
463 Use gcc's verbose exception handler is possible. If this function is
464 unavailable, C++ will simply abort on any exception. Ugh.
466 2003-10-24 02:53 Dan Nelson <dnelson@allantgroup.com>
468 * ac_pike_compiler_flag.m4:
470 Use CPPFLAGS instead of CFLAGS/CXXFLAGS
472 2003-10-21 17:41 Dan Nelson <dnelson@allantgroup.com>
478 2003-10-21 17:40 Dan Nelson <dnelson@allantgroup.com>
480 * configure.in, daemon.c, spamass-milter.cpp:
482 make -f fully daemonize, and add -P to create a pidfile.
484 2003-09-12 01:45 Dan Nelson <dnelson@allantgroup.com>
486 * spamass-milter.cpp:
490 2003-09-12 01:42 Dan Nelson <dnelson@allantgroup.com>
492 * spamass-milter.cpp:
494 FreeBSD's libc_r userland threads has a race condition in popen, but I
495 don't know where. Wrap it in a mutex just to be safe.
497 2003-09-05 22:38 Dan Nelson <dnelson@allantgroup.com>
501 no more spamass-milter.man.in
503 2003-09-05 22:15 Dan Nelson <dnelson@allantgroup.com>
507 no more spamass-milter.man.in
509 2003-09-05 22:06 Dan Nelson <dnelson@allantgroup.com>
513 no more spamass-milter.man
515 2003-09-05 12:42 Dan Nelson <dnelson@allantgroup.com>
519 Distribute mdoc2man.awk, and let systems without mdoc functionality
520 convert the manpage themselves.
522 2003-09-05 12:33 Dan Nelson <dnelson@allantgroup.com>
527 Yay! Peter Stuge decided on a license, so bring this back into CVS.
529 2003-09-03 00:53 Dan Nelson <dnelson@allantgroup.com>
531 * spamass-milter.cpp:
533 Oops. Forgot to strip the domain part in local_user when there are no brackets.
535 2003-08-29 12:01 Dan Nelson <dnelson@allantgroup.com>
537 * ac_pike_compiler_flag.m4, configure.in:
539 Pull in another autoconf test from Pike, which lets us test for
540 compiler flags. Add -fno-default-inline if possible, which disables
541 inlining of functions in classes. gdb does not process them correctly,
542 making debugging a pain.
544 2003-08-29 12:00 Dan Nelson <dnelson@allantgroup.com>
546 * spamass-milter.cpp:
548 Redirect stderr to stdout when running sendmail -bv; otherwise we lose
549 anything sent to stderr
551 2003-08-28 10:59 Dan Nelson <dnelson@allantgroup.com>
553 * TODO, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
555 Add -e flag to pass full email address to spamc
557 Run all recipients through sendmail -bv (this may end up behind a
558 commandline switch, but it's low-overhead so probably not).
560 2003-08-12 23:47 Dan Nelson <dnelson@allantgroup.com>
562 * configure.in, spamass-milter.cpp, spamass-milter.h:
564 - add printf style checking to debug() on systems that support it
565 - search for sendmail instead of relying on paths.h which may not exist
567 2003-08-12 23:33 Dan Nelson <dnelson@allantgroup.com>
571 Bump original version to 1.8, since the originating webpage apparently
572 did. There are absolutely no changes other than the version number.
574 2003-08-11 18:12 Dan Nelson <dnelson@allantgroup.com>
576 * spamass-milter.cpp:
578 move newrecipients out of the inner loop
580 2003-08-11 17:36 Dan Nelson <dnelson@allantgroup.com>
582 * configure.in, spamass-milter.1.in, spamass-milter.cpp,
585 Preliminary work to support alias/virtusertable expansion.
586 sendmail -bv is called and its output is parsed, but all we do is log it
589 2003-08-06 00:45 Dan Nelson <dnelson@allantgroup.com>
591 * spamass-milter.cpp:
593 Fix two cases where we caught an error but didn't clean up the assassin
596 2003-08-06 00:29 Dan Nelson <dnelson@allantgroup.com>
598 * spamass-milter.cpp:
600 - Correctly exit if we can't exec spamc
601 - Check our polled fds for errors - prevents us from spinning if
602 something happens to spamc
604 2003-08-05 00:13 Dan Nelson <dnelson@allantgroup.com>
608 document crash on empty body fix
610 2003-08-04 19:03 Dan Nelson <dnelson@allantgroup.com>
614 Distribute subst_poll.h
616 2003-07-31 18:35 Dan Nelson <dnelson@allantgroup.com>
618 * spamass-milter.cpp:
620 We still need to call update_or_insert for headers if -M is set, so we
621 can cache the header value. Just don't call the milter update
624 2003-07-31 15:13 Dan Nelson <dnelson@allantgroup.com>
626 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
628 New -M flag that disables all body/header changes. With this flag, the
629 milter is transparent to the message stream.
631 2003-07-21 21:10 Dan Nelson <dnelson@allantgroup.com>
633 * spamass-milter.cpp:
635 POSIX says strcasecmp requires strings.h
637 2003-07-16 22:28 Dan Nelson <dnelson@allantgroup.com>
639 * spamass-milter.cpp:
641 If there is no body, set bob to point to the end of the string returned
642 by spamassassin instead of string::npos.
644 2003-07-09 13:58 Dan Nelson <dnelson@allantgroup.com>
650 2003-07-07 15:46 Dan Nelson <dnelson@allantgroup.com>
652 * spamass-milter.cpp:
654 Added func logging for two returns in ::output and ::input
656 2003-07-07 15:44 Dan Nelson <dnelson@allantgroup.com>
658 * spamass-milter.cpp:
660 Add func debug logging for mlfi_envrcpt
662 2003-07-07 15:39 Dan Nelson <dnelson@allantgroup.com>
664 * spamass-milter.cpp:
666 shortcut ip_in_networklist if the list is empty.
668 2003-07-07 14:45 Dan Nelson <dnelson@allantgroup.com>
674 2003-07-02 18:28 Dan Nelson <dnelson@allantgroup.com>
680 2003-06-30 16:24 Dan Nelson <dnelson@allantgroup.com>
684 Small workaround for people trying to configure from CVS. Create a
685 blank spamass-milter.man.in if it doesn't already exist.
687 2003-06-30 16:23 Dan Nelson <dnelson@allantgroup.com>
691 spell automake with a lowercase a
693 2003-06-26 23:24 Dan Nelson <dnelson@allantgroup.com>
695 * contrib/spamass-milter.spec.in:
697 We don't have these two files.
699 2003-06-26 18:13 Dan Nelson <dnelson@allantgroup.com>
701 * NEWS, configure.in:
705 2003-06-26 17:57 Dan Nelson <dnelson@allantgroup.com>
707 * NEWS, configure.in:
711 2003-06-26 11:10 Dan Nelson <dnelson@allantgroup.com>
713 * spamass-milter.cpp:
717 2003-06-26 10:45 Dan Nelson <dnelson@allantgroup.com>
719 * spamass-milter.cpp:
721 NULL hostaddr is actually a common occurance; running sendmail on the
722 local host does this. Map NULL to 127.0.0.1 so it's treated just like
723 a connection to localhost port 25.
725 2003-06-25 12:17 Dan Nelson <dnelson@allantgroup.com>
727 * NEWS, spamass-milter.1.in, spamass-milter.cpp:
729 Document -B, and sort -h output
731 2003-06-25 11:17 Dan Nelson <dnelson@allantgroup.com>
733 * Makefile.am, configure.in, mdoc2man.awk:
735 I haven't gotten a license from the author of mdoc2man.awk, so remove
736 it and, distribute a preproccesed .man.in for systems without mdoc
739 2003-06-25 11:15 Dan Nelson <dnelson@allantgroup.com>
741 * spamass-milter.cpp:
743 Check for a NULL hostaddr in mlfi_connect. It should never happen, so
744 emit a warning in the log when it does.
746 2003-06-18 19:13 Dan Nelson <dnelson@allantgroup.com>
748 * ac_dmalloc.m4, configure.in, spamass-milter.cpp:
750 - Use my own dmalloc check, since AM_WITH_DMALLOC only works for
751 nonthreaded C programs.
753 - Some systems provide strsep() but no prototype. Check for that.
755 2003-06-18 14:57 Dan Nelson <dnelson@allantgroup.com>
757 * ac_pike_paths.m4, configure.in:
759 - Add a --with-dmalloc option
761 - Search some common directories for includes and libraries, to find
762 dmalloc or user-compiled sendmail libs.
764 2003-06-16 15:59 Dan Nelson <dnelson@allantgroup.com>
770 2003-06-14 15:17 Dan Nelson <dnelson@allantgroup.com>
774 Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
775 was before rev 1.38. This should fix reports of "spamd: bad protocol"
776 errors being logged when we kill spamc without sending any data.
778 2003-06-14 15:01 Dan Nelson <dnelson@allantgroup.com>
780 * spamass-milter.cpp:
782 Move the launch of spamc from mlfi_envrcpt back to mlfi_header where it
783 was before rev 1.38. This should fix reports of "spamd: bad protocol"
784 errors being logged when we kill spamc without sending any data.
786 2003-06-12 22:39 Dan Nelson <dnelson@allantgroup.com>
790 Add an "upload" makefile target that pushes tarballs to savannah
792 2003-06-12 18:41 Dan Nelson <dnelson@allantgroup.com>
794 * Makefile.am, spamass-milter.cpp, spamass-milter.h:
796 Lowercase the username when using -u; email addresses are
797 case-insensitive, but userids are usually all-lowercase and
800 2003-06-11 16:18 Dan Nelson <dnelson@allantgroup.com>
806 2003-06-11 16:17 Dan Nelson <dnelson@allantgroup.com>
808 * spamass-milter.cpp, spamass-milter.h:
810 * Even better sendmail-style Received: header generation. Pass SA the
811 value of the HELO command. This lets rules like FORGED_HOTMAIL work.
813 * Beginnings of a better debug logline. Remember the sendmail queue ID.
814 Not sure of the best way to pass it to the debug() function though.
816 2003-06-10 14:42 Dan Nelson <dnelson@allantgroup.com>
820 Remove some of the disclaimers; it's pretty stable now.
822 2003-06-10 01:52 Dan Nelson <dnelson@allantgroup.com>
826 Tell automake we would like a bzip2 tarball also
828 2003-06-10 01:02 Dan Nelson <dnelson@allantgroup.com>
834 2003-06-10 01:02 Dan Nelson <dnelson@allantgroup.com>
840 2003-06-10 00:57 Dan Nelson <dnelson@allantgroup.com>
842 * configure.in, spamass-milter.cpp, strsep.c:
844 provide a strsep() for systems without one
846 2003-06-10 00:47 Dan Nelson <dnelson@allantgroup.com>
848 * spamass-milter.cpp:
852 2003-06-09 23:03 Dan Nelson <dnelson@allantgroup.com>
854 * TODO, spamass-milter.cpp:
856 New flag -B. Just like -b, but the original recipient gets the spam too.
858 2003-06-09 17:24 Dan Nelson <dnelson@allantgroup.com>
862 Just realized you can redirect to /dev/null to silently drop spam
864 2003-06-09 16:27 Dan Nelson <dnelson@allantgroup.com>
870 2003-06-09 13:19 Dan Nelson <dnelson@allantgroup.com>
872 * NEWS, spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
874 Add spambucket support. "-b otheraddress" will redirect all tagged
875 spam to that address. Original recipients get put into X-Spam-Orig-To:
878 2003-06-09 13:16 Dan Nelson <dnelson@allantgroup.com>
880 * spamass-milter.1.in:
884 2003-06-09 11:57 Dan Nelson <dnelson@allantgroup.com>
888 Oops. forgot to include config.h
890 2003-06-07 15:50 Dan Nelson <dnelson@allantgroup.com>
894 scratchpad so I don't forget things
896 2003-06-07 15:43 Dan Nelson <dnelson@allantgroup.com>
898 * ac_vl_prog_cc_warnings.m4, configure.in:
900 Use VL_PROG_CC_WARNINGS to add compiler-appropriate warnings flags
902 2003-06-07 15:16 Dan Nelson <dnelson@allantgroup.com>
904 * spamass-milter.cpp, spamass-milter.h:
906 Instead of playing musical chairs with our private context pointer,
907 create a single structure that holds both the remote IP address and the
908 pointer to our assassin object.
910 2003-06-06 22:56 Dan Nelson <dnelson@allantgroup.com>
912 * ac_acx_pthread.m4, ac_cf_gnu_source.m4, acinclude.m4, autogen.sh:
914 Split 3rd-party autoconf macros out into their own files
916 2003-06-06 17:04 Dan Nelson <dnelson@allantgroup.com>
920 Summarize the last few days worth of commits
922 2003-06-06 16:48 Dan Nelson <dnelson@allantgroup.com>
924 * README, spamass-milter.cpp:
926 Generate a better dummy Received: header. If the admin has added the
927 "b" macro (rfc822 date) to the milter's list of visible macros, pass
928 that to spamc. This allows SA to do Date: header validation if there
929 are no other Received: headers in the message.
931 Also update README to include the sendmail.mc line required to enable "b".
933 2003-06-06 12:37 Dan Nelson <dnelson@allantgroup.com>
935 * spamass-milter.cpp, spamass-milter.h:
938 Remember the envelope sender and recipient, remember the connecting IP,
939 and insert appropriate headers at the top of the message we send to
940 spamc, so that Spamassassin can use them.
942 The envelope info gets put into X-Envelope-From: and X-Envelope-To: ,
943 which SA will use when checking the whitelist_to and _from rules.
945 The connecting IP gets put into a dummy "Received: [111.222.333.444]"
946 header. Without it, none of the DNSBL or whitelist checks will see
947 this IP. The dummy header does not seem to trigger any "forged
948 Received:" rules, so that's good.
950 Note that remembering the connecting IP address means we need to carry
951 information between the lifetimes of SpamAssassin objects, so we have
952 to use the milter private data pointer. This means that within a
953 message, the pointer points to a SpamAssassin object. Outside of a
954 message but during a client connection, the pointer points to a struct
955 connect_info. This means some extra work in the message error path to
956 recover the connect_info pointer. It also means that for symmetry, we
957 have to create the SpamAssassin object at the beginning on a "message"
958 session - i.e. within mlfi_envrcpt instead of mlfi_header.
960 Also for ease of coding add some more output methods with string and
961 unsized void* arguments.
963 2003-06-06 12:22 Dan Nelson <dnelson@allantgroup.com>
965 * spamass-milter.cpp:
967 Commit Waider's updated retrieve_field function that I forgot about.
968 This fixes a bug where the milter fails to retrieve the SA score from a
969 message with absolutely no headers. The old code could not retrieve the
970 first header in a message, and if there are no headers in the original
971 message, the X-Spam-Status header ends up being the first.
973 2003-06-06 12:16 Dan Nelson <dnelson@allantgroup.com>
975 * spamass-milter.cpp:
977 RFC822 says the blank line between header and body is \r\n.
978 Spamassassin doesn't seem to care but it's wrong anyway :)
980 2003-06-06 12:10 Dan Nelson <dnelson@allantgroup.com>
982 * spamass-milter.cpp:
984 Clean up some debugging messages
986 2003-06-06 12:05 Dan Nelson <dnelson@allantgroup.com>
988 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
990 Convert the debug levels into flags, so it's easier to enable debugging
991 for a single subsystem. The old numbers are still supported.
993 2003-06-06 11:43 Dan Nelson <dnelson@allantgroup.com>
995 * spamass-milter.cpp:
997 Cleanup commit. You don't need a semicolon after a function body, and
998 Intel's compiler warns about them.
1000 2003-06-06 11:34 Dan Nelson <dnelson@allantgroup.com>
1004 explicitly make spamass-milter.cpp depend on spamass-milter.h
1006 2003-06-05 17:18 Dan Nelson <dnelson@allantgroup.com>
1008 * spamass-milter.cpp:
1010 reword -i description so it says skip checks instead of skip the
1013 2003-06-04 15:41 Dan Nelson <dnelson@allantgroup.com>
1015 * spamass-milter.cpp:
1017 I thought I cut'n'pasted this right, but I didn't. Allocate the
1018 right number of bytes for the internalnets array when resizing.
1020 2003-06-03 03:20 Dan Nelson <dnelson@allantgroup.com>
1022 * NEWS, spamass-milter.1.in:
1024 update NEWS, adjust description of -i
1026 2003-06-03 02:36 Dan Nelson <dnelson@allantgroup.com>
1028 * spamass-milter.cpp, spamass-milter.h:
1030 gcc 2.95 apparently can't handle the case where a struct and an element
1033 2003-06-03 02:24 Dan Nelson <dnelson@allantgroup.com>
1035 * AUTHORS, spamass-milter.1.in, spamass-milter.cpp,
1038 Add -i to list netblocks to ignore (argument is a comma-delimited list
1039 of ip addresses, ip/netmask, or ip/bits).
1041 Remember arguments after --, and pass them to spamc. This makes the -D
1042 flag redundant, and lets you change the port number, enable SSL mode,
1045 2003-06-02 22:09 Dan Nelson <dnelson@allantgroup.com>
1049 If the server cannot process mdoc macros, use mdoc2man to generate a
1050 manpage with man macros instead.
1052 2003-06-02 22:08 Dan Nelson <dnelson@allantgroup.com>
1054 * Makefile.am, configure.in, spamass-milter.cpp:
1057 If the server cannot process mdoc macros, use mdoc2man to generate a
1058 manpage with man macros instead.
1060 2003-03-10 22:40 Dan Nelson <dnelson@allantgroup.com>
1062 * configure.in, poll.c:
1064 add some more headers to pooll.c, and allow the user to force poll
1065 emulation, for testing.
1067 2003-03-10 18:42 Dan Nelson <dnelson@allantgroup.com>
1071 expand check to search for automake as well, check for more versions
1073 2003-03-07 00:11 Dan Nelson <dnelson@allantgroup.com>
1077 Oops. Forgot to enable the poll.h test.
1079 2003-03-06 23:33 Dan Nelson <dnelson@allantgroup.com>
1081 * spamass-milter.1.in, spamass-milter.cpp:
1083 Use 'defaultuser' instead of 'user' as an example when talking about
1084 the argument to the -u flag.
1086 2003-03-06 23:26 Dan Nelson <dnelson@allantgroup.com>
1088 * spamass-milter.1.in:
1090 Document the -D host flag.
1092 2003-03-06 16:50 Dan Nelson <dnelson@allantgroup.com>
1096 I keep forgetting to bump the version number before and after a
1097 release. We are now at 0.1.3a+cvs
1099 2003-03-06 16:40 Dan Nelson <dnelson@allantgroup.com>
1101 * poll.c, subst_poll.h:
1104 Add Ids, also record that fact that this function was lifted from
1105 the "wy60" terminal emulator software by Markus Gutschke.
1107 2003-03-06 16:37 Dan Nelson <dnelson@allantgroup.com>
1109 * Makefile.am, configure.in, poll.c, spamass-milter.cpp,
1113 Provide a substitute poll() function for systems that are missing it.
1115 2003-03-06 16:33 Dan Nelson <dnelson@allantgroup.com>
1117 * spamass-milter.cpp, AUTHORS, contrib/spamass-milter-redhat.rc:
1120 . Add the ability to connect to a spamd on another server (-D host)
1122 . Change the redhat rc script's path to match where an RPM would put
1125 2003-01-21 15:44 Dan Nelson <dnelson@allantgroup.com>
1127 * spamass-milter.cpp:
1129 (forced commit due to empty log message)
1131 Fix "-u" to actually pass its argument to spamc instead of hardcoding
1134 2003-01-21 15:42 Dan Nelson <dnelson@allantgroup.com>
1136 * spamass-milter.cpp:
1140 2003-01-17 15:53 Dan Nelson <dnelson@allantgroup.com>
1142 * contrib/spamass-milter-redhat.rc:
1144 Config files are sourced and do not require the execute bit set, so
1145 just test to see if the file exists.
1147 2002-12-31 15:17 Dan Nelson <dnelson@allantgroup.com>
1149 * NEWS, configure.in:
1153 2002-12-31 15:03 Dan Nelson <dnelson@allantgroup.com>
1155 * spamass-milter.cpp:
1157 Add a call to fork spamc after header processing, as a fallback case
1158 for when no headers are sent at all.
1160 2002-12-31 14:34 Dan Nelson <dnelson@allantgroup.com>
1162 * spamass-milter.cpp:
1164 add a big more debugging to the poll loop
1166 2002-12-27 17:32 Dan Nelson <dnelson@allantgroup.com>
1170 Version is now 0.1.3+cvs
1172 2002-12-27 16:53 Dan Nelson <dnelson@allantgroup.com>
1176 Change version to 0.1.3
1178 2002-12-27 16:52 Dan Nelson <dnelson@allantgroup.com>
1184 2002-12-27 16:50 Dan Nelson <dnelson@allantgroup.com>
1190 2002-12-27 16:38 Dan Nelson <dnelson@allantgroup.com>
1194 Add FreeBSD rc script
1196 2002-12-27 16:36 Dan Nelson <dnelson@allantgroup.com>
1198 * contrib/spamass-milter.sh:
1202 2002-12-27 16:35 Dan Nelson <dnelson@allantgroup.com>
1204 * contrib/spamass-milter.sh:
1206 Add a FreeBSD startup script
1208 2002-12-23 12:08 Dan Nelson <dnelson@allantgroup.com>
1210 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1212 Add -u option to pass the username to spamc. Without -u behaviour
1213 should be unchanged.
1215 2002-12-21 13:20 Dan Nelson <dnelson@allantgroup.com>
1217 * spamass-milter.cpp:
1219 Check for an empty header
1221 2002-12-21 13:18 Dan Nelson <dnelson@allantgroup.com>
1223 * spamass-milter.1.in:
1225 document debug level 3
1227 2002-11-17 18:01 Dan Nelson <dnelson@allantgroup.com>
1231 Update list of patch submitters
1233 2002-11-17 17:57 Dan Nelson <dnelson@allantgroup.com>
1235 * spamass-milter.1.in, spamass-milter.cpp, spamass-milter.h:
1237 Add -r flag, which allows you to have sendmail reject the message if SA
1238 tags it as spam, or if it exceeds a given score.
1240 Closes patches 440 and 441, submitted by Patrick Monnerat <pm@datasphere.ch>
1242 2002-11-15 18:22 Dan Nelson <dnelson@allantgroup.com>
1244 * spamass-milter.1.in, spamass-milter.cpp:
1246 Add -m option, which disables body, Subject:, and Content-Type: header
1247 modification. Closes patch 385.
1249 2002-11-15 16:54 Dan Nelson <dnelson@allantgroup.com>
1253 Revert the spamc check back to the way it was (find absolute path of
1254 spamc). We'll do "spamc with arguments" testing later, when the milter
1255 can actaully handle it.
1257 2002-11-15 02:18 Dan Nelson <dnelson@allantgroup.com>
1261 Switch from --fsf to --no-wrap, which is really what I wanted in the
1264 2002-11-15 02:17 Dan Nelson <dnelson@allantgroup.com>
1269 Try really hard to run a new-ish version of autoconf. This should make
1270 rhautogen.sh obsolete.
1272 2002-11-15 02:04 Dan Nelson <dnelson@allantgroup.com>
1274 * spamass-milter.cpp, spamass-milter.h:
1277 - Factor out all the header-changing code into a single
1278 update_or_insert function. This greatly simplifies the whole
1279 program, finally making it insert/change/leave correctly for all the
1282 - Fix mlfi_header to actually suppress incoming SA headers like it's
1283 supposed to. This fixes a bug where an incoming SA header with the
1284 wrong case would end up overriding the header our SA tries to add.
1286 - Declare a temporary string variable to hold the body text before we
1287 call smfi_replacebody. Trying to do stringvar.substr(x,x).c_str()
1288 simply will not work. substr() creates a temporary string object,
1289 c_str() dutifully returns a pointer to it, and when the destructor
1290 for the temp string frees the memory, the data the pointer points to
1291 gets blown away. This fixes a longstanding bug where tagged emails
1292 would have their message body completely overwritten with x00 or xD0
1293 on OSes that ensure that free'd memory is blanked.
1295 - C++ should be strangled, then shot, then burned, and the ashes set
1296 into a cement block and dumped into the ocean. This should be
1299 2002-11-14 22:23 Dan Nelson <dnelson@allantgroup.com>
1303 Update acx_pthread; Tru64 and HP-UX compatibility, and make sure the tests are run under C
1305 2002-11-14 22:22 Dan Nelson <dnelson@allantgroup.com>
1309 Only add /usr/lib/libmilter as a library path if the directory exists
1311 2002-09-23 01:39 Dan Nelson <dnelson@allantgroup.com>
1315 Previous commit should read
1317 AC_CHECK_PROG doesn't work; AC_CHECK_PROGS does.
1319 2002-09-23 01:39 Dan Nelson <dnelson@allantgroup.com>
1323 AC_CHECK_PROG doesn't work; AC_CHECK_PROG does.
1325 2002-09-20 17:15 Dan Nelson <dnelson@allantgroup.com>
1330 Allow the user to specify spamc arguments during configure
1332 2002-09-18 13:17 Dan Nelson <dnelson@allantgroup.com>
1334 * Makefile.am, configure.in:
1337 Change version number to reflace that there are post-release changes.
1339 Change how the ChangeLog is created for the distribution file, so we
1340 don't get a 0-byte ChangeLog.bak in the .tar.gz.
1342 2002-08-28 12:54 Dan Nelson <dnelson@allantgroup.com>
1344 * spamass-milter.cpp:
1346 Add Id variable to store CVS version in the binary
1348 2002-08-23 12:59 Dan Nelson <dnelson@allantgroup.com>
1350 * spamass-milter.cpp:
1352 Fix bug that caused doubling of Content-Type: on spam emails.
1354 2002-08-19 16:39 Dan Nelson <dnelson@allantgroup.com>
1356 * contrib/: spamass-milter-redhat.rc, spamass-milter.spec.in:
1358 * Patches from Fritz Elfert <fritz.elfert@to.com>
1359 - Use RPM macros everywhere (this fixes install of manpage)
1360 - Changed Group to an official group of RedHat
1361 - Added preun and post scriptlets
1362 - Made clean scriptlet foolproof
1363 - Added condrestart to redhat rc script
1365 2002-08-18 17:38 Dan Nelson <dnelson@allantgroup.com>
1371 2002-08-18 17:13 Dan Nelson <dnelson@allantgroup.com>
1377 2002-08-18 17:13 Dan Nelson <dnelson@allantgroup.com>
1381 Update with my name, and add Waider
1383 2002-08-18 16:53 Dan Nelson <dnelson@allantgroup.com>
1385 * ChangeLog, Makefile.am:
1387 More cleanup for the distribution.
1389 - Zero out ChangeLog, as it is now autogenerated by "make dist". You
1390 can manually generate one with "make changelog", but your tree must
1391 have been checked out with CVS for it to work (i.e. the dist tarball
1392 won't work, but then again it will ship with a matching ChangeLog, so
1395 - Add some more files to maintainer-clean-local: and distclean-local:
1396 targets, as the autoconf/make people can't seem to keep track of what
1397 files their own tools generate.
1399 2002-08-18 16:44 Dan Nelson <dnelson@allantgroup.com>
1403 List of committer IDs and names, for use by cvs2cl
1405 2002-08-17 23:09 Dan Nelson <dnelson@allantgroup.com>
1407 * spamass-milter.1.in:
1409 Remove some extra comments
1411 2002-08-14 12:15 Dan Nelson <dnelson@allantgroup.com>
1413 * spamass-milter.cpp:
1416 Fix swapped variables names preventing subject and content-type from
1417 being updated (from Lance A. Brown)
1419 2002-07-26 00:32 Dan Nelson <dnelson@allantgroup.com>
1421 * Makefile.am, configure.in, spamass-milter.1.in:
1425 2002-07-24 12:19 Dan Nelson <dnelson@allantgroup.com>
1427 * Makefile.am, autogen.sh, configure.in, rhautogen.sh,
1428 contrib/spamass-milter, contrib/spamass-milter-redhat.rc,
1429 contrib/spamass-milter.spec.in:
1432 - Add RedHat .spec and .rc files
1434 - Add contrib/ files to the distfile
1436 2002-07-22 23:48 Dan Nelson <dnelson@allantgroup.com>
1438 * spamass-milter.cpp:
1440 Forgot to mention; the previous commit was patch 354
1442 2002-07-22 23:47 Dan Nelson <dnelson@allantgroup.com>
1444 * spamass-milter.cpp:
1447 Only replace Subject: and Content-Type: headers if they change
1449 2002-07-22 23:46 Dan Nelson <dnelson@allantgroup.com>
1453 Make failure to find milter library fatal
1455 2002-07-22 23:34 Dan Nelson <dnelson@allantgroup.com>
1457 * spamass-milter.cpp:
1462 - Fix typo affecting the case of incoming spam with no subject
1464 2002-07-22 22:05 Dan Nelson <dnelson@allantgroup.com>
1468 Fix an accidentally spammed embedded Id
1470 2002-07-22 22:02 Dan Nelson <dnelson@allantgroup.com>
1472 * Makefile.am, acconfig.h, acinclude.m4, autogen.sh, configure.in,
1473 spamass-milter.cpp, spamass-milter.h:
1476 - Update to autoconf 2.53
1477 - Use ACX_PTHREAD for more portable threads detection
1478 - Only -lmilter is required; search for -lsm or -lsmutil when -lmilter fails,
1479 for compatibility with older sendmails
1480 - Only mfapi.h is required
1481 - add net library checks for Solaris
1482 - Reorder entries in autogen.sh
1483 - Move struct declarations into headers, and variable definitions into
1486 - fix incorrect use of LOG_ macros
1487 - use poll when feeding data to spamc to avoid the 250k deadlock
1488 - compiles with gcc 3.1
1490 2002-04-27 13:14 Georg C. F. Greve <greve@gnu.org>
1492 * contrib/spamass-milter:
1494 adopted for commandline-parameter change
1496 2002-04-27 13:05 Georg C. F. Greve <greve@gnu.org>
1498 * ChangeLog, spamass-milter.cpp, spamass-milter.h:
1500 Added support for 'X-Spam-Level' Flag introduced with version 2.20 of SpamAssassin
1502 2002-03-27 10:56 Michael Brown <michael@supermathie.net>
1504 * spamass-milter.cpp:
1506 Added a -f option that makes spamass-milter fork into the background
1507 spamass-milt now removes the socket if it already exists.
1509 2002-03-06 08:07 Georg C. F. Greve <greve@gnu.org>
1511 * AUTHORS, ChangeLog, NEWS, configure.in, spamass-milter.cpp,
1512 spamass-milter.h, contrib/spamass-milter:
1514 Applied some patches. Rights assigned to FSF Europe. Appointed Michael as maintainer.
1516 2002-02-26 07:55 Georg C. F. Greve <greve@gnu.org>
1518 * contrib/spamass-milter:
1520 seems I forgot to commit it last time. *sigh*
1522 2002-01-31 10:56 Georg C. F. Greve <greve@gnu.org>
1528 2002-01-31 10:34 Georg C. F. Greve <greve@gnu.org>
1530 * spamass-milter.cpp:
1532 fixed some typing bugs... :-)
1534 2002-01-31 10:28 Georg C. F. Greve <greve@gnu.org>
1536 * spamass-milter.cpp, spamass-milter.h, ChangeLog, configure.in:
1538 * Update for Version 2.0+ of SpamAssassin
1539 * Only modify mail *not* rated Spam before, leave marked Spam untouched
1541 2002-01-16 17:24 Georg C. F. Greve <greve@gnu.org>
1543 * spamass-milter.cpp:
1545 output package name & version with usage
1547 2002-01-16 17:19 Georg C. F. Greve <greve@gnu.org>
1549 * spamass-milter.cpp:
1551 now using SPAMC variable determined in configure
1553 2002-01-16 17:16 Georg C. F. Greve <greve@gnu.org>
1555 * contrib/README.gnus:
1557 This might be useful to other gnus users.
1559 2002-01-16 17:10 Georg C. F. Greve <greve@gnu.org>
1563 A small README to have minimal documentation
1565 2002-01-16 16:41 Georg C. F. Greve <greve@gnu.org>
1567 * Makefile.am, acconfig.h, configure.in:
1569 Autoconf should work now
1571 2002-01-16 15:30 Georg C. F. Greve <greve@gnu.org>
1573 * acconfig.h, config.h.in, AUTHORS, NEWS, README:
1575 autoconf setup still needs polishing
1577 2002-01-16 15:26 Georg C. F. Greve <greve@gnu.org>
1579 * ChangeLog, Makefile.am, autogen.sh, configure.in, config.h.in:
1581 autoconf setup still needs polishing
1583 2002-01-16 04:41 Georg C. F. Greve <greve@gnu.org>
1585 * spamass-milter.cpp, spamass-milter.h: