Browse Source

normalizemime: Added normalizemime 1.19 - MIME normalizer for content analysis

early
Alejandro Mery 15 years ago
parent
commit
6ee67219b3
2 changed files with 70 additions and 0 deletions
  1. +29
    -0
      mail/normalizemime/normalizemime.conf
  2. +41
    -0
      mail/normalizemime/normalizemime.desc

+ 29
- 0
mail/normalizemime/normalizemime.conf

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../normalizemime/normalizemime.conf
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
srctar=none
makeopt=
makeinstopt=
normalizemime_make()
{
local src=$( match_source_file -p . )
$CXX -W -Wall -o $pkg "$src"
}
hook_add premake 5 'normalizemime_make'
hook_add postmake 5 'cp $pkg $root$bindir/'

+ 41
- 0
mail/normalizemime/normalizemime.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../normalizemime/normalizemime.desc
[COPY] Copyright (C) 2008 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] MIME normalizer for content analysis
[T] Read an ftp://ftp.rfc-editor.org/in-notes/rfc2045.txt message and try
[T] to normalize the content to 8bit encoding with utf-8 character set.
[T] Additionally, filter headers and remove HTML from message parts.
[T]
[T] After this filtering, the email message no more confirms to any
[T] standards, and formatting information is irreversibly lost. Even the
[T] MIME message structure is potentially corrupted as the encodings are
[T] decoded and message separators may appear inside the data.
[T]
[T] This filter is useful for preprocessing messages for content
[T] recognizing spam filters, like crm114.
[U] http://hyvatti.iki.fi/~jaakko/spam
[A] Jaakko Hyvatti <Jaakko.Hyvatti@iki.fi>
[M] Alejandro Mery <amery@opensde.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 1.19
[P] X -----5---9 800.000
[D] 1461496989 normalizemime-1.19.cc !http://hyvatti.iki.fi/~jaakko/spam/normalizemime.cc

Loading…
Cancel
Save