testheader.sh #4

  • //
  • guest/
  • bryan_costales/
  • tests/
  • testheader.sh
  • View
  • Commits
  • Open Download .zip Download (735 B)
#!/bin/sh
. ./all.env
cat <<EOF > $TEMPPAT
X-test-x-track: testing accepted
Received: not from our MX
Received: our MX said 65.54.247.58
Cc: (John Doe) doe@ourhost.gov
Cc: "John Doe" <doe@ourhost.gov>
Bcc: doe
Cc: doe@ourhost.gov (John Doe)
Bcc: <<<doe@ourhost.gov>>>
To: andy@ourhost.gov, <bob@ourhost.gov>, (Carl) carl@ourhost.gov
Message-Id: <a@b> flags=[MID]
Message-Id: <ab> flags=[MID]
Message-Id: <@b> flags=[MID]
Message-Id: <a@> flags=[MID]
Message-Id: a@b flags=[MID]
From: a flags=
From: a@ flags=
From: a@host.foo flags=[FRM]
EOF
cd ..; $PROG -Dheader > $TEMPOUT
if `diff $TEMPPAT $TEMPOUT`; then
	echo "	"$0:"	"OK
	rm $TEMPPAT $TEMPOUT
	exit 0
fi
echo "	"$0:"	"failed
diff -c $TEMPPAT $TEMPOUT
rm $TEMPPAT $TEMPOUT
exit 1
# Change User Description Committed
#4 4222 bryan_costales Massive rewrite to speed up the database writes.
Using a single database now with duplicate keys
where the keys are the IP numbers. Added a purge
command and removed the garbage command. Fixed
some leaking memory bugs and properly closed the
database in a few places were it was not
properly closed. Updated the docs to reflect
this and bumped both the database version and
release number. Running on a FreeBSD 3.x machine
and a Solaris 9 machine.
#3 3998 bryan_costales Brought the whole distribution up to V0.9
Added a huge abount of documentation.
Added slowedit find
Created startup scripts to launch for testing
Fixed numerous bugs.
Fixed a few portablity issues.
Installed hooks for whitelisting and IP aliases.
#2 3890 bryan_costales This is the 0.6 release. The following have been
added with the uses indicated:

    Source files: edit.c -- the slowedit functions
              compat.c -- missing system files
    Autoconf:     configure.ac, makefile.am config.h
              aclocal.m4 acinclude.m4 build/
    Documents:    doc/ -- html and man(1) documents
    Testing:      tests/ -- regressive testing
    TODO:          -- revised to show actual progress
#1 3838 bryan_costales This is pre-release 0.5 (rcs numbering) which includes:
    The milter source files and Makefile
    A regressive testing subdirectory with Makefile and /bin/sh scripts.
    A patches subdirectory with a patch file for V8.13 sendmail
All have been compiled and tested on a 64bit Sun Solaris 9 machine.