debian/0000755000000000000000000000000012037757724007204 5ustar debian/templates0000644000000000000000000000031410407315562011110 0ustar Template: mailfilter/config Type: note _Description: Mailfilter configuration To use Mailfilter you must create a ~/.mailfilterrc file. For an example take a look at /usr/share/doc/mailfilter/examples. debian/po/0000755000000000000000000000000012037757724007622 5ustar debian/po/ja.po0000644000000000000000000000241610407315562010544 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2004-01-02 05:10+0900\n" "Last-Translator: Hideki Yamane \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "mailfilter 設定" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "mailfilter を使うには ~/.mailfilterrc ファイルを作成する必要があります。" "/usr/share/doc/mailfilter/examples を参考にしてください。" debian/po/POTFILES.in0000644000000000000000000000004410407315562011362 0ustar [type: gettext/rfc822deb] templates debian/po/templates.pot0000644000000000000000000000213310407315562012330 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" debian/po/sv.po0000644000000000000000000000237010410301005010556 0ustar # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: mailfilter 0.6.2-1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2005-10-04 04:25+0200\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Mailfilter-konfiguration" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Fr att anvnda Mailfilter mste du skapa en fil kallad ~/.mailfilterrc. Ett exempel " "att titta p r /usr/share/doc/mailfilter/examples." debian/po/de.po0000644000000000000000000000240310407315562010536 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Mailfilter Konfiguration" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Um Mailfilter nutzen zu koennen, musst Du eine Datei ~/mailfilterrc " "erstellen. Beispiele liegen in /usr/share/doc/mailfilter/examples." debian/po/nl.po0000644000000000000000000000241710407315562010564 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: mailfilter\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2003-08-12 16:36+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: nl \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Mailfilter configuratie" #. Description #: ../templates:3 msgid "To use Mailfilter you must create a ~/.mailfilterrc file. For an example take a look at /usr/share/doc/mailfilter/examples." msgstr "Mailfilter maakt gebruik van een ~/.mailfilterrc bestand dat u zelf dient aan te maken. U vindt een voorbeeld in /usr/share/doc/mailfilter/examples." debian/po/pt_BR.po0000644000000000000000000000246410407315562011163 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: mailfilter_0.5.0-2\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2003-06-21 21:07-0300\n" "Last-Translator: Andr Lus Lopes \n" "Language-Team: Debian-BR Project \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configura艫o do Mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Para utilizar o Mailfilter voc dever criar um arquivo " "~/.mailfilterrc. Para um exemplo consulte " "/usr/share/doc/mailfilter/examples." debian/po/vi.po0000644000000000000000000000200310410301005010535 0ustar # Vietnamese Translation for mailfilter. # Copyright 息 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: mailfilter 0.6.2-1\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2005-06-09 21:45+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "C畉u h狸nh Mailfilter (l畛c th動)" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "畛 s畛 d畛ng Mailfilter, b畉n ph畉i t畉o m畛t t畉p tin 束~/.mailfilterrc損. 畛 t狸m m畛t l畛i th鱈 d畛, h達y xem 束/usr/share/doc/mailfilter/examples損." debian/po/es.po0000644000000000000000000000243310407315562010560 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configuracin de Mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Para usar Mailfilter tiene que crear un fichero de configuracin ~/." "mailfilterrc. Puede encontrar varios ejemplos en /usr/share/doc/mailfilter/" "examples." debian/po/it.po0000644000000000000000000000205510410301005010542 0ustar # Italian translations of po-debconf templates for mailfilter. # Copyright (c) 2006 Software in the Public Interest # This file is distributed under the same license as the mailfilter package. # Luca Monducci, 2006 # msgid "" msgstr "" "Project-Id-Version: mailfilter debconf templates\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-12-10 09:58-0700\n" "PO-Revision-Date: 2006-01-01 19:13+0100\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configurazione di Mailfilter" #. Type: note #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Per usare Mailfilter si deve creare il file ~/.mailfilterrc. Nella " "directory /usr/share/doc/mailfilter/examples ci sono degli esempi." debian/po/ast.po0000644000000000000000000000161412037757724010753 0ustar # Asturian translation for mailfilter debconf template # Copyright 2012 by Ricardo Mones #, fuzzy msgid "" msgstr "" "Project-Id-Version: mailfilter 0.8.2\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2012-10-10 20:11+0200\n" "Last-Translator: Ricardo Mones \n" "Language-Team: Asturian\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configuraci坦n de Mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Pa usar Mailfilter tien que crear un ficheru de configuraci坦n ~/." "mailfilterrc. Pue alcontrar dalgunos exemplos nel direutoriu " "/usr/share/doc/mailfilter/examples." debian/po/cs.po0000644000000000000000000000236110410301005010533 0ustar # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files. # # msgid "" msgstr "" "Project-Id-Version: mailfilter\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2005-02-13 16:36+0100\n" "Last-Translator: Lukas Oliva \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Konfigurace Mailfilteru" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Pro nastaven Mailfilteru je nutn vytvoit ~/.mailfilterrc. Pklad " "konfiguranho souboru naleznete v /usr/share/doc/mailfilter/examples." debian/po/ca.po0000644000000000000000000000206010407315562010530 0ustar # mailfilter (debconf) translation to Catalan. # Copyright (C) 2004 Free Software Foundation, Inc. # Aleix Badia i Bosch , 2004 # Josep Mon辿s i Teixidor , 2004 # Jordi Mallach , 2004 # msgid "" msgstr "" "Project-Id-Version: mailfilter_0.5.1-2_templates\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2004-01-31 17:52GMT\n" "Last-Translator: Aleix Badia i Bosch \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configuraci坦 del Mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Per utilitzar el Mailfilter heu de crear un fitxer ~/.mailfilterrc. Per " "veure'n un exemple feu una ullada al fitxer /usr/share/doc/mailfilter/" "examples." debian/po/ru.po0000644000000000000000000000237210407315562010601 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=KOI8-R\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "鄙嘖厦碧 mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "塹泰 瓶佻蒙斛彖墮 mailfilter, 忸 掴網隣 嗜敖壮 徳別 ~/.mailfilterrc. " "靤浜賭 嗟墟不 冒堊模播 /usr/share/doc/mailfilter/examples." debian/po/pt.po0000644000000000000000000000203710464562450010577 0ustar # Portuguese translation for jove mailfilter debconf messages. # This file is distributed under the same license as the mailfilter package. # Lu鱈sa Louren巽o , 2006 # msgid "" msgstr "" "Project-Id-Version: mailfilter 0.6.2-2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-06-28 08:13-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Lu鱈sa Louren巽o \n" "Language-Team: Native Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configura巽達o do mailfilter" #. Type: note #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Para usar o mailfilter tem que criar um ficheiro ~/.mailfilterrc. Para ver " "um exemplo d棚 uma vista de olhos em /usr/share/doc/mailfilter/examples." debian/po/fr.po0000644000000000000000000000246110407315562010561 0ustar # # # # #. Translators, if you are not familiar with the PO format, gettext #. documentation is worth reading, especially sections dedicated to #. this format, e.g. by running: #. info -n '(gettext)PO Files' #. info -n '(gettext)Header Entry' #. Some information specific to po-debconf are available at #. /usr/share/doc/po-debconf/README-trans #. or http://www.debian.org/intl/l10n/po-debconf/README-trans #. Developers do not need to manually edit POT or PO files. msgid "" msgstr "" "Project-Id-Version: mailfilter\n" "POT-Creation-Date: 2003-03-16 19:29+0100\n" "PO-Revision-Date: 2004-02-10 19:10+0100\n" "Last-Translator: Christian Perrier \n" "Language-Team: debian-l10n-french@lists.debian.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Description #: ../templates:3 msgid "Mailfilter configuration" msgstr "Configuration de Mailfilter" #. Description #: ../templates:3 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "Pour utiliser Mailfilter, vous devrez crer un fichier de configuration ~/." "mailfilterrc. Vous trouverez divers exemples dans /usr/share/doc/mailfilter/" "examples." debian/po/da.po0000644000000000000000000000204011633143763010533 0ustar # Danish translation mailfilter. # Copyright (C) mailfilter & nedenst奪ende overs脱ttere. # This file is distributed under the same license as the mailfilter package. # Joe Hansen (joedalton2@yahoo.dk), 2011. # msgid "" msgstr "" "Project-Id-Version: mailfilter\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-01-16 10:31+0100\n" "PO-Revision-Date: 2011-05-24 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Mailfilter configuration" msgstr "Konfiguration af Mailfilter" #. Type: note #. Description #: ../templates:1001 msgid "" "To use Mailfilter you must create a ~/.mailfilterrc file. For an example " "take a look at /usr/share/doc/mailfilter/examples." msgstr "" "For at bruge Mailfilter skal du oprette en ~/.mailfilterrc-fil. Tag for " "eksempel et kig p奪 /usr/share/doc/mailfilter/examples." debian/postinst0000644000000000000000000000010110407315562010767 0ustar #! /bin/sh -e . /usr/share/debconf/confmodule #DEBHELPER# exit 0 debian/README.Debian0000644000000000000000000000035110407315562011231 0ustar mailfilter for Debian --------------------- To use Mailfilter you must create a ~/.mailfilterrc. Look into /usr/share/doc/mailfilter/examples for some examples. -- Joerg Jaspert , Fri, 14 Sep 2002 00:00:00 +0200 debian/patches/0000755000000000000000000000000012037757724010633 5ustar debian/patches/03_fix_invalid_conversion.patch0000644000000000000000000000263211745121450016704 0ustar Author: Ilya Barygin , Ricardo Mones Subject: Fix invalid conversion and added Ubuntu patch Last-Update: 2012-04-23 diff -urN mailfilter-0.8.2.orig/src/header.cc mailfilter-0.8.2/src/header.cc --- mailfilter-0.8.2.orig/src/header.cc 2009-06-07 03:49:57.000000000 +0200 +++ mailfilter-0.8.2/src/header.cc 2012-04-23 02:02:02.000000000 +0200 @@ -63,7 +63,7 @@ * domain-literal = "[" *(dtext / quoted-pair) "]" */ - char* dom; + const char* dom; unsigned int l, i; if (!msgid || !*msgid) diff -urN mailfilter-0.8.2.orig/src/preferences.cc mailfilter-0.8.2/src/preferences.cc --- mailfilter-0.8.2.orig/src/preferences.cc 2009-01-18 09:20:23.000000000 +0100 +++ mailfilter-0.8.2/src/preferences.cc 2012-04-23 02:02:02.000000000 +0200 @@ -82,8 +82,8 @@ void Preferences :: init (void) { - ((Size_score)(Preferences :: size_score)).score = 0; - ((Size_score)(Preferences :: size_score)).size = 0; + size_score.score = 0; + size_score.size = 0; } void Preferences :: kill (void) diff -urN mailfilter-0.8.2.orig/src/socket.cc mailfilter-0.8.2/src/socket.cc --- mailfilter-0.8.2.orig/src/socket.cc 2009-01-18 09:22:16.000000000 +0100 +++ mailfilter-0.8.2/src/socket.cc 2012-04-23 02:02:02.000000000 +0200 @@ -64,7 +64,7 @@ #ifdef USE_SSL SSL* ssl; BIO* sbio; - SSL_METHOD* ssl_meth; + const SSL_METHOD* ssl_meth; SSL_CTX* ssl_ctx; #endif debian/patches/01_remove_workaround_fixed_FTBFS.patch0000644000000000000000000000643411745121450020020 0ustar Author: Luk Claes Subject: Removing upstream's workaround for a compile error fixes the FTBFS due to not finding y.tab.o Last-Update: 2012-04-23 diff -urN mailfilter-0.8.2.orig/src/Makefile.am mailfilter-0.8.2/src/Makefile.am --- mailfilter-0.8.2.orig/src/Makefile.am 2009-01-18 09:17:01.000000000 +0100 +++ mailfilter-0.8.2/src/Makefile.am 2012-04-23 01:50:48.000000000 +0200 @@ -55,9 +55,9 @@ # This thing is a workaround to avoid compile errors. # We always re-generate the source from the flex/bison input, so it # always matches the installed versions and does not lead to errors. -CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ - rfc822parser.output rfc822parser.cc rfc822parser.hh \ - rfc822.cc y.output +#CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ +# rfc822parser.output rfc822parser.cc rfc822parser.hh \ +# rfc822.cc y.output nodist_mailfilter_SOURCES = rcfile.cc rcparser.hh y.tab.c rfc822.cc @@ -65,10 +65,10 @@ # Looks like automake still wants to distribute rcfile.cc, even if it # is in nodist_*_sources. -dist-hook: - rm -f $(distdir)/rcfile.cc \ - $(distdir)/rfc822parser.cc \ - $(distdir)/rfcparser.cc +#dist-hook: +# rm -f $(distdir)/rcfile.cc \ +# $(distdir)/rfc822parser.cc \ +# $(distdir)/rfcparser.cc # If this gets updated, remember to update the doxygen.in config file! mailfilter_SOURCES = md5c.c md5.h \ diff -urN mailfilter-0.8.2.orig/src/Makefile.in mailfilter-0.8.2/src/Makefile.in --- mailfilter-0.8.2.orig/src/Makefile.in 2009-06-07 02:48:25.000000000 +0200 +++ mailfilter-0.8.2/src/Makefile.in 2012-04-23 01:49:54.000000000 +0200 @@ -205,9 +205,9 @@ # This thing is a workaround to avoid compile errors. # We always re-generate the source from the flex/bison input, so it # always matches the installed versions and does not lead to errors. -CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ - rfc822parser.output rfc822parser.cc rfc822parser.hh \ - rfc822.cc y.output +#CLEANFILES = rcfile.cc rcparser.hh rcparser.cc y.tab.c ylwrap \ +# rfc822parser.output rfc822parser.cc rfc822parser.hh \ +# rfc822.cc y.output nodist_mailfilter_SOURCES = rcfile.cc rcparser.hh y.tab.c rfc822.cc nodist_mailfilter_OBJECTS = y.tab.$(OBJEXT) @@ -418,8 +418,8 @@ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook + top_distdir="$(top_distdir)" distdir="$(distdir)" +# dist-hook check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) @@ -555,10 +555,10 @@ # Looks like automake still wants to distribute rcfile.cc, even if it # is in nodist_*_sources. -dist-hook: - rm -f $(distdir)/rcfile.cc \ - $(distdir)/rfc822parser.cc \ - $(distdir)/rfcparser.cc +#dist-hook: +# rm -f $(distdir)/rcfile.cc \ +# $(distdir)/rfc822parser.cc \ +# $(distdir)/rfcparser.cc # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: debian/patches/02_fix_build_newer_g++.patch0000644000000000000000000000065211745121450015743 0ustar Author: Ricardo Mones Subject: Fix build for current g++ compiler Last-Update: 2012-04-23 diff -urN mailfilter-0.8.2.orig/src/apop.cc mailfilter-0.8.2/src/apop.cc --- mailfilter-0.8.2.orig/src/apop.cc 2009-06-07 02:50:35.000000000 +0200 +++ mailfilter-0.8.2/src/apop.cc 2012-04-23 01:56:48.000000000 +0200 @@ -25,7 +25,7 @@ extern "C" { -#include +#include #include "md5.h" } debian/patches/99_timestamp_ignore.diff0000644000000000000000000002072012037757724015355 0ustar Description: Add -i option to ignore timestamps Cherry picked from upstream svn rev 20 to add option to ignore timestamps Author: Scott Kitterman Origin: upstream Bug: http://sourceforge.net/tracker/?func=detail&aid=2865702&group_id=14762&atid=114762 Bug-Debian: http://bugs.debian.org/661261 Forwarded: not-needed Last-Update: 2012-07-04 --- mailfilter-0.8.2.orig/ChangeLog +++ mailfilter-0.8.2/ChangeLog @@ -1,6 +1,33 @@ Mailfilter ChangeLog -=-=-=-=-=-=-=-=-=-= +Sat Mar 3 17:40:14 EST 2012 baueran + + Index: src/socket.cc + Index: src/header.cc + + Ignore time stamps. + + Index: src/preferences.cc + Index: src/preferences.hh + + Add preferences to ignore time stamps. + + Index: src/mailfilter.cc + Index: src/mailfilter.hh + + Add Options. + + Index: configure.ac + + Change version number. + + Index: man/mailfilterrc.5 + Index: man/mailfilter.1 + Index: man/mailfilterex.5 + + Update man pages. + Sun Jun 7 11:51:11 EST 2009 baueran - src/header.hh: new custom exception, add_entry throws it --- mailfilter-0.8.2.orig/NEWS +++ mailfilter-0.8.2/NEWS @@ -20,6 +20,9 @@ mailfilter 0.8.1 (Sat Sep 15 17:14:49 ES checked; 0 is only returned if the *entire* mailfilter session was successful (Thanks to Mike Clarke for pointing this out) + - Due to popular demand: Added option -i to ignore invalid + Message-ID time stamps. (Using this option is a potential + security risk, so do not use unless you know better!) mailfilter 0.8 (Mon Jan 1 16:09:52 CET 2007) [stable version] --- mailfilter-0.8.2.orig/configure.ac +++ mailfilter-0.8.2/configure.ac @@ -26,13 +26,13 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.54) -AC_INIT(mailfilter, 0.8.2, [mailfilter-dev@lists.sourceforge.net]) +AC_INIT(mailfilter, 0.8.2, [baueran@gmail.com]) AC_REVISION($Revision: 1.1.2.4.2.12 $) AC_SUBST(PACKAGE_COPYRIGHT) AC_DEFINE(PACKAGE_COPYRIGHT, - "Copyright (c) 2000 - 2009 Andreas Bauer ", + "Copyright (c) 2000 - 2012 Andreas Bauer ", [Copyright information.]) -AC_COPYRIGHT(Copyright (c) 2000 - 2009 Andreas Bauer ) +AC_COPYRIGHT(Copyright (c) 2000 - 2012 Andreas Bauer ) AC_CONFIG_SRCDIR([src/mailfilter.cc]) AC_CONFIG_HEADERS(config.h) --- mailfilter-0.8.2.orig/man/mailfilterrc.5 +++ mailfilter-0.8.2/man/mailfilterrc.5 @@ -324,7 +324,7 @@ configuration files. .BR mailfilterex (5), .BR regex (7) .SH COPYRIGHT -Copyright \(co 2000-2009 Andreas Bauer +Copyright \(co 2000-2012 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --- mailfilter-0.8.2.orig/man/mailfilter.1 +++ mailfilter-0.8.2/man/mailfilter.1 @@ -58,6 +58,9 @@ Enable additional return values \fB\-t\fR, \fB\-\-test\fR Simulate deletes .TP +\fB\-i\fR, \fB\-\-ignore-time-stamps\fR +Ignore invalid Message-ID time stamps (Do not use unless you know better!) +.TP \fB\-v\fR, \fB\-\-verbose\fR=\fILEVEL\fR Specify level of verbosity .TP @@ -69,7 +72,7 @@ Display version information .BR procmail (1), .BR regex (7) .SH COPYRIGHT -Copyright \(co 2000-2009 Andreas Bauer +Copyright \(co 2000-2012 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --- mailfilter-0.8.2.orig/man/mailfilterex.5 +++ mailfilter-0.8.2/man/mailfilterex.5 @@ -235,7 +235,7 @@ them. .BR procmailex (5), .BR regex (7) .SH COPYRIGHT -Copyright \(co 2000-2009 Andreas Bauer +Copyright \(co 2000-2012 Andreas Bauer .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --- mailfilter-0.8.2.orig/src/preferences.hh +++ mailfilter-0.8.2/src/preferences.hh @@ -48,6 +48,7 @@ protected: bool show_headers; bool del_duplicates; bool ret_status; + bool _ignore_time_stamp; int high_score; unsigned time_out_val; int max_size; @@ -122,6 +123,8 @@ public: void set_test_mode (const char*); int maxlength (void); void set_maxlength (int); + bool ignore_time_stamp (); + void set_ignore_time_stamp (bool = true); bool return_status (void); void set_return_status (bool); vector* accounts (void); --- mailfilter-0.8.2.orig/src/header.cc +++ mailfilter-0.8.2/src/header.cc @@ -94,7 +94,8 @@ void Header :: add_entry (const char* ta if (cmp_no_case (tag, "Message-Id") == 0) { - if (rfc822_valid_msgid (body) < 0) + if (!Preferences :: Instance ().ignore_time_stamp() + && rfc822_valid_msgid (body) < 0) { Feedback* logger = Feedback :: Instance (); logger->print_err ("POP timestamp in message-ID invalid."); --- mailfilter-0.8.2.orig/src/mailfilter.cc +++ mailfilter-0.8.2/src/mailfilter.cc @@ -1,5 +1,5 @@ // mailfilter.cc - source file for the mailfilter program -// Copyright (c) 2000 - 2009 Andreas Bauer +// Copyright (c) 2000 - 2012 Andreas Bauer // // 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 @@ -53,6 +53,7 @@ static struct option long_options[] = {"verbose", 1, NULL, VALUE_VERBOSE}, {"mailfilterrc", 1, NULL, VALUE_MAILFILTERRC}, {"logfile", 1, NULL, VALUE_LOGFILE}, + {"ignore-time-stamps", 0, NULL, VALUE_TIMESTAMP}, {"version", 0, NULL, VALUE_VERSION}, {"test", 0, NULL, VALUE_TEST}, {"return-value", 0, NULL, VALUE_RETURN}, @@ -219,7 +220,7 @@ void get_opts (int argc, char* argv[]) int option = 0; int option_index = 0; - while ((option = getopt_long (argc, argv, "hL:M:Vv:tr", + while ((option = getopt_long (argc, argv, "hL:M:Vv:tir", long_options, &option_index)) != -1) { switch (option) @@ -247,6 +248,8 @@ void get_opts (int argc, char* argv[]) cout << "Enable additional return values" << endl; cout << " -t, --test "; cout << "Simulate deletes" << endl; + cout << " -i, --ignore-time-stamps "; + cout << "Ignore invalid Message-ID time stamps (Do not use unless you know better!)" << endl; cout << " -v, --verbose=LEVEL "; cout << "Specify level of verbosity" << endl; cout << " -V, --version "; @@ -280,6 +283,10 @@ void get_opts (int argc, char* argv[]) case VALUE_TEST: Preferences :: Instance ().set_test_mode ("yes"); break; + case 'i': + case VALUE_TIMESTAMP: + Preferences :: Instance().ignore_time_stamp(); + break; case 'r': case VALUE_RETURN: Preferences :: Instance ().set_return_status (true); --- mailfilter-0.8.2.orig/src/mailfilter.hh +++ mailfilter-0.8.2/src/mailfilter.hh @@ -1,5 +1,5 @@ // mailfilter.hh - source file for the mailfilter program -// Copyright (c) 2000 - 2009 Andreas Bauer +// Copyright (c) 2000 - 2012 Andreas Bauer // // 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 @@ -36,6 +36,7 @@ using namespace std; #define VALUE_VERSION 5 #define VALUE_TEST 6 #define VALUE_RETURN 7 +#define VALUE_TIMESTAMP 8 #define ERROR_MSG(msg) \ cerr << PACKAGE_NAME \ --- mailfilter-0.8.2.orig/src/preferences.cc +++ mailfilter-0.8.2/src/preferences.cc @@ -58,6 +58,7 @@ Preferences :: Preferences () show_headers = false; del_duplicates = false; ret_status = false; + _ignore_time_stamp= false; high_score = 100; time_out_val = 30; negative_allows = 0; @@ -92,7 +93,17 @@ void Preferences :: kill (void) while (die_account != (Preferences :: accnts).end ()) { die_account->clear (); die_account++; } } - + +void Preferences :: set_ignore_time_stamp(bool new_ts) +{ + _ignore_time_stamp = new_ts; +} + +bool Preferences :: ignore_time_stamp() +{ + return _ignore_time_stamp; +} + // This function tries to locate a preferences file and, upon success, // stores the file path in prefs_file. However, no data is loaded by // the open() function. debian/patches/series0000644000000000000000000000017512037757724012053 0ustar 01_remove_workaround_fixed_FTBFS.patch 02_fix_build_newer_g++.patch 03_fix_invalid_conversion.patch 99_timestamp_ignore.diff debian/compat0000644000000000000000000000000211231722537010367 0ustar 5 debian/examples0000644000000000000000000000001610672746525010742 0ustar debian/rcfile debian/control0000644000000000000000000000221111745121450010565 0ustar Source: mailfilter Section: mail Priority: optional Maintainer: Joerg Jaspert Uploaders: Ricardo Mones Build-Depends: debhelper (>= 5), bison, gettext, flex, libssl-dev Standards-Version: 3.9.3 Package: mailfilter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, debconf | debconf-2.0 Description: Program that filters your incoming e-mail to help remove spam Mailfilter is very flexible utility for UNIX (-like) operating systems to get rid of unwanted e-mail messages, before having to go through the trouble of downloading them to the local computer. It offers support for one or many POP3 accounts and is especially useful for dialup connections via modem, ISDN, etc. Install Mailfilter if you'd like to remove spam from your POP3 mail accounts. . With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as e.g. procmail. . If you do not get your mail from a POP3-Server you don't need Mailfilter. debian/README.source0000644000000000000000000000036611324014477011355 0ustar README.source for mailfilter ---------------------------- This package uses dpatch for patch management, see the file /usr/share/doc/dpatch/README.source.gz for details. -- Ricardo Mones Fri, 15 Jan 2010 08:21:09 +0100 debian/dirs0000644000000000000000000000004110407315562010050 0ustar usr/bin usr/share/doc/mailfilter debian/config0000644000000000000000000000021210407315562010354 0ustar #!/bin/sh -e # source debconf library . /usr/share/debconf/confmodule db_input high mailfilter/config || true # go, go, go! :) db_go debian/changelog0000644000000000000000000003524712037757724011071 0ustar mailfilter (0.8.2-4) unstable; urgency=medium * Add 99_timestamp_ignore.diff cherry picked patch from upstream subversion revision 20 to add option to ignore timestamps. Many thanks to Scott Kitterman (Closes: #661261) * Bumped urgency because of RC bug * Added Asturian translation for debconf template -- Ricardo Mones Thu, 18 Oct 2012 12:52:16 +0200 mailfilter (0.8.2-3) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format (and remove dpatch) * Update patches to follow Patch Tagging Guidelines * Update Standards-Version to 3.9.3 (no other changes) -- Ricardo Mones Mon, 23 Apr 2012 02:14:50 +0200 mailfilter (0.8.2-2) unstable; urgency=low * Modified 03_fix_invalid_conversion patch to include Ubuntu part, thanks Ilya Barygin (Closes: #622063) * Added Danish debconf template translation (Closes: #627846) * Updated Standards-Version to 3.9.2 (no other changes) * Fixed short description to remove lintian warning * Added recommended targets build-indep and build-arch -- Ricardo Mones Sun, 11 Sep 2011 16:32:30 +0200 mailfilter (0.8.2-1) unstable; urgency=low * New upstream version (Closes: #542598, #523885) * Bump Standards-Version to 3.8.3 (no other changes needed) * Added README.source for lintian cleanliness * Added 03_fix_invalid_conversion patch to prevent a FTBFS under pbuilder because of assigning strrchr result to a non-const var -- Ricardo Mones Fri, 15 Jan 2010 09:30:40 +0100 mailfilter (0.8.1-2) unstable; urgency=low [ Luk Claes ] * Remove me from Uploaders. [ Ricardo Mones ] * Add watch file (provided by Kumar Appaiah) (Closes: #455192) * Bump Standards-Version to 3.8.2 (no changes needed) * Reformatted long description a bit * Added 02_fix_build_newer_g++ patch to prevent FTBFS with current g++ (thanks Gillem Jover for the hint to fix it) * Add me to Uploaders * Add ${misc:Depends} to binary to keep lintian happy * Bump debhelper compat level to 5 and add versioned dependency * Removed empty scripts prerm and postrm -- Ricardo Mones Thu, 23 Jul 2009 01:48:24 +0200 mailfilter (0.8.1-1) unstable; urgency=low * New Upstream version (Closes: #440758) * Remove the version in the B-D for debhelper, it was for a version in woody. * Standards-Version 3.7.2, no changes needed * Enhance the copyright file a bit. * Also disable the dpatch, hopefully not neccessary anymore. * Add Build-Depends on libssl-dev, mailfilter now speaks SSL too * Replace old examples with a faq from the website, old examples due not work anymore (rcfile format changed). -- Joerg Jaspert Sat, 15 Sep 2007 14:01:44 +0200 mailfilter (0.6.2-3) unstable; urgency=low * Add Portuguese debconf translation (Closes: #381365, #381367). -- Luk Claes Fri, 4 Aug 2006 08:09:45 +0200 mailfilter (0.6.2-2) unstable; urgency=high * Remove upstream workaround fixes FTBFS (Closes: #354196). * Remove autogenerated rcparser.{cc,h}. * Add debconf-2.0 alternative (Closes: #332017). * Add Vietname po-debconf translation (Closes: #312655). * Add Czech po-debconf translation (Closes: #298781). * Add Swedish po-debconf translation (Closes: #331348). * Add Italian po-debconf translation (Closes: #345528). * Add me to Uploaders. -- Luk Claes Sun, 19 Mar 2006 16:54:53 +0100 mailfilter (0.6.2-1) unstable; urgency=low * New Upstream Version - Fixed a crash which would occur if the Date field contains no ":" separator * Bug fix: "[l10:ca] mailfilter catalan debconf templates", thanks to Aleix Badia i Bosch (Closes: #236667). * Remove B-D on g++. -- Joerg Jaspert Thu, 12 Aug 2004 21:14:36 +0200 mailfilter (0.6.1-1) unstable; urgency=low * New Upstream Version - New keyword MAXSIZE_SCORE (see man pages) - New scripts in contrib/ - Mails which do not contain a valid Message-ID are no longer treated as being duplicates - Additional Polish rcfile example configurations in the doc/ directory * Bug fix: "mailfilter: Japanese po-debconf template translation (ja.po)", thanks to Hideki Yamane (Closes: #227487). * Bug fix: "fr.po: [INTL:fr] French debconf templates translation", thanks to Christian Perrier (Closes: #232491). -- Joerg Jaspert Mon, 16 Feb 2004 23:34:29 +0100 mailfilter (0.6.0-1) unstable; urgency=low * New Upstream Version - Polish translation added -- Joerg Jaspert Mon, 3 Nov 2003 23:20:28 +0100 mailfilter (0.5.2-1) unstable; urgency=low * New Upstream Version - (Hopefully) resolved compile problems: since mailfilter does not compile with GNU-flex anymore, the code has been adjusted to depend on a flex version which is available from http://lex.sf.net/ - Minor documentation changes in the FAQ * Depend on flex (which is the lex.sf.net stuff) again. * Newer Standards-Version. * dutch po-debconf translation (Closes: #205091) -- Joerg Jaspert Sun, 12 Oct 2003 14:09:48 +0200 mailfilter (0.5.1-2) unstable; urgency=low * Build-Depend on flex-old instead of flex until mailfilter's rewrite is complete. Fixes broken build. (Closes: #191193) * Includes pt_BR Translation of debconf question. (Closes: #185893, 198365) * Remove std namespace fix, should work without it now. * Install the (new) contrib dir from mailfilter as /usr/share/doc/mailfilter/contrib.tar.gz -- Joerg Jaspert Sun, 10 Aug 2003 20:44:44 +0200 mailfilter (0.5.1-1) unstable; urgency=low * New Upstream Version - Added '-r'/'--return-value' in order to make mailfilter return a positive integer if it scanned any messages in any POP account (see mailfilter (1) man page for details) - Added contrib directory with extra scripts and programs which can be used in combination with mailfilter (read its README file for further details) - Added a scoring mechanism (see man pages for further details) to allow more efficient filtering on mailing lists, for example - Fixed configuraton and compilation woes with various versions of gcc, flex, bison and the autotools (mainly relevant for developers) - Added `--test' as command-line switch to merely simulate deletes -- Joerg Jaspert Sun, 13 Apr 2003 13:38:36 +0200 mailfilter (0.5.0-2) unstable; urgency=low * Fixed compilation problem with g++ 3.x (std namespace fix) (Closes: #161014) - thx to Julien LEMOINE for this. * Moved to po-debconf stuff. * Jumped to Standards 3.5.9 * Update config.guess and config.sub to fix FTBFS on mipsel (Closes: #176230) -- Joerg Jaspert Sun, 16 Mar 2003 19:28:44 +0100 mailfilter (0.5.0-1) unstable; urgency=low * New Upstream Version - Updated documentation and man pages - APOP support (courtesy Greg Louis) - Greek language translation (courtesy Dimitrios Kamenopoulos) - Fixed Makefile bug that caused recompilation upon make install (courtesy Joerg Jaspert) * debhelper 4.xx * Standards-Version 3.5.7 * Cleaned debian/rules script * Cleaned README.Debian. -- Joerg Jaspert Sat, 14 Sep 2002 14:15:57 +0200 mailfilter (0.4.0-1) unstable; urgency=low * New Upstream Version. - Updated documentation - Updated language translations (German, Spanish) -- Joerg Jaspert Wed, 29 May 2002 18:55:47 +0200 mailfilter (0.3.3-1) unstable; urgency=medium * New Upstream Version. - Mailfilter now supports POP3 servers that make use of several streams/ connections/whatever to send back acknowledgements during the login period - Added Russian translation, courtesy Ilgiz Kalmetev - Fixed a bug that caused mailfilter to crash under certain conditions, upon syntax errors in the rcfile - The -L and -v command line switches override any rcfile directives (again), as it should be - Syntax errors in configuration files are reported correctly now - Headers are not logged twice anymore, if SHOW_HEADERS=yes and VERBOSE=6 - Nested rcfiles possible now (use INCLUDE as keyword) * This fixes some bugs with 0.3.2 that we dont want in woody. So urgency=medium. * Changed my Email address to @debian.org -- Joerg Jaspert Mon, 22 Apr 2002 20:34:34 +0200 mailfilter (0.3.2-4) unstable; urgency=low * Added Russian Translation of Mailfilter Messages. (Forwarded to Upstream, but until he release a new version i include it manual). Again thx to Ilgiz Kalmetev. * Close this bug again, -3 was not uploaded to Debian. (closes: #136598) -- Joerg Jaspert (JJ) Mon, 4 Mar 2002 12:53:37 +0100 mailfilter (0.3.2-3) unstable; urgency=low * Added Russian Template. Thanks to Ilgiz Kalmetev. (closes: #136598) -- Joerg Jaspert (JJ) Sun, 3 Mar 2002 15:19:16 +0100 mailfilter (0.3.2-2) unstable; urgency=low * Added Build-Depend on flex. (closes: #135980) -- Joerg Jaspert (JJ) Wed, 27 Feb 2002 13:22:37 +0100 mailfilter (0.3.2-1) unstable; urgency=low * New Upstream Release: - Improved rcfile parsing, trailing white space characters are possible now - Improved logging and verbosity capabilities (see mailfilterrc(5) for details) - Usernames and passwords may consist exclusively of digits now - Fixed a type conversion problem in signal handling code, such that compilation works again with FreeBSD 4.4-RELEASE - Minor documentation updates (faq, man pages, etc.) - Fixed a minor incompatibility with Windows configuration files, such that bison gets invoked correctly -- Joerg Jaspert (JJ) Wed, 20 Feb 2002 15:14:51 +0100 mailfilter (0.3.1-4) unstable; urgency=low * And now there is a French Translation. Thanks to Eric Van Buggenhaut. -- Joerg Jaspert (JJ) Sun, 18 Nov 2001 19:34:34 +0100 mailfilter (0.3.1-3) unstable; urgency=low * Fixed spelling in English Template and added Spanish Translation. Thanks to Carlos Valdivia Yag端e. (closes: #120095) -- Joerg Jaspert (JJ) Sun, 18 Nov 2001 17:22:02 +0100 mailfilter (0.3.1-2) unstable; urgency=low * Fixed. Now delete config.[cache|status] in clean rule -- Joerg Jaspert (JJ) Sun, 18 Nov 2001 13:07:48 +0100 mailfilter (0.3.1-1) unstable; urgency=low * Newest CVS: - Added time out signal handler for network connection code - Added signal handler to catch SIGINT, i.e. ctrl-c - Fixed a bug that caused Mailfilter to swallow a newline, in case of empty subject strings (bad) -- Joerg Jaspert (JJ) Wed, 14 Nov 2001 18:14:21 +0100 mailfilter (0.3.0-1) unstable; urgency=low * New Upstream Release: - Program compiles and runs (again) under MS-Windows with Cygwin and the like (see doc/README.Windows) - rcfile must be in $HOME now and is not expected to be in /home/ anymore - Upon popular demand the default setting of MAXLENGTH is '0' now, i.e. the feature is disabled by default - Restructured the verbosity levels; see mailfilterrc(5) man page for details, please - Removed internal string handling bugs that confused the Regular Expression compilation -- Joerg Jaspert (JJ) Wed, 7 Nov 2001 17:12:49 +0100 mailfilter (0.2.4-1) unstable; urgency=high * New Upstream Release: - Added option to define a time span in seconds that Mailfilter waits for a server response, after a command was issued, keyword TIMEOUT - Added option to define maximum line lengths of header fields, keyword MAXLENGTH - Changed header parsing slightly, such that program output does not contain unwanted control characters anymore - Added Russian translation of an example rcfile (courtesy of Alex A. Puchow) - Fixed a bug in normalisation that threw Mailfilter in an endless loop if subjects ended with more than the two usual white-space characters - If maximum line length is exceeded, then Mailfilter prompts which header field caused the deletion -- Joerg Jaspert (JJ) Fri, 12 Oct 2001 12:07:06 +0200 mailfilter (0.2.3-1) unstable; urgency=low New Stable Upstream. Changes in it: - Updated and extended the FAQ and man pages - Bugfix: No more endless loops in the normalisation process if subject line ends with a whole bunch of white-space characters, ie more than the usual two - Bugfix: Normalisation handles multiple spaces/blanks correctly now - Bugfix: field-names may now start in lower case letters, ie parsing should be fully RFC822 compliant - Bugfix: the closing tags for e-mail headers are not parsed and processed anymore - Translations are now part of the RPM packages - Message size of deleted messages (MAXSIZE) appears in logs -- Joerg Jaspert (JJ) Thu, 16 Aug 2001 00:36:34 +0200 mailfilter (0.2.1d-1) unstable; urgency=low * New Stable mailfilter 0.2.1. Version Number in Debian 0.2.1d because old unstable Source had Number 0.2.1 too. -- Joerg Jaspert (JJ) Wed, 11 Jul 2001 00:12:19 +0200 mailfilter (0.2.1-3) unstable; urgency=low * Newest Version. Its Mailfilter 0.2.1 stable now. * Includes 2 Examples of mailfilterrc from Upstream Author. -- Joerg Jaspert (JJ) Tue, 10 Jul 2001 11:45:24 +0200 mailfilter (0.2.1-2) unstable; urgency=low * Corrected Build-Depends. * Upload of Package Mailfilter so we can close the Bug in wnpp, Closes: #101152 -- Joerg Jaspert (JJ) Sat, 30 Jun 2001 22:13:35 +0200 mailfilter (0.2.1-1) unstable; urgency=low * Woops. Mailfilter stable is 0.2.0 but we use Mailfilter from CVS which is 0.2.1 - so we have to show it :) -- Joerg Jaspert (JJ) Tue, 26 Jun 2001 09:22:20 +0200 mailfilter (0.2.0-3) unstable; urgency=low * mailfilterrc example added. * Debconf Note about mailfilterrc in examples Subdir added. -- Joerg Jaspert (JJ) Sun, 24 Jun 2001 15:44:22 +0200 mailfilter (0.2.0-2) unstable; urgency=low * Some changes. Now .diff is smaller :) -- Joerg Jaspert (JJ) Sat, 23 Jun 2001 00:31:27 +0200 mailfilter (0.2.0-1) unstable; urgency=low * Initial Release. -- Joerg Jaspert (JJ) Fri, 22 Jun 2001 16:51:47 +0200 debian/watch0000644000000000000000000000007511231722537010224 0ustar version=3 http://sf.net/mailfilter/mailfilter-(.*)\.tar\.gz debian/rules0000755000000000000000000000346511745121450010256 0ustar #!/usr/bin/make -f # $Id: rules,v 1.5 2003/10/12 12:10:28 joerg Exp $ #export DH_VERBOSE=1 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir CFLAGS='$(CFLAGS)' ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info touch configure-stamp build: build-arch build-indep build-arch: configure-stamp build-stamp build-indep: configure-stamp build-stamp build-stamp: dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Upstream Makefiles dont delete *.gmo so we do it rm -f po/*.gmo [ ! -f Makefile ] || $(MAKE) distclean # What ? config.* ? We dont want em ! Kills autobuilders :) -rm config.cache -rm config.status -rm src/rcfile.cc src/rcparser.cc src/rcparser.h dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/mailfilter tar -czf ./debian/mailfilter/usr/share/doc/mailfilter/contrib.tar.gz ./contrib # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdebconf dh_installdocs dh_installexamples dh_installmenu dh_installcron dh_installman dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure \ build-arch build-indep debian/rcfile0000644000000000000000000000724110672746525010377 0ustar # ----------------------------------------------------------- # Logile path (be sure you have write permission in this # directory; you MUST specify a logfile). This one auto- # matically stores the log files sorted by month and year. LOGFILE = "$HOME/logs/mailfilter-`date +"%h%y"'" # ----------------------------------------------------------- # Level of verbosity # # 0 Silent, show nothing at all # # 1 Only show errors # # 2 Only show "Deleted..." messages and errors # # 3 Default; Show "Deleted..." messages, errors and # "Examining..." messages # # 4 Like (3), except this also shows the current # account's username # # 5 Like (4), except this also shows which filter # matched which string of an e-mail header # # 6 Debugging mode; prints out almost everything VERBOSE = 3 # ----------------------------------------------------------- # POP server list (do not change the order of the fields!) # Note: Port 110 is usually the port APOP/POP3 servers use. # When SSL comes into play, then it is usually 995. SERVER = "pop.server.com" USER = "username" PASS = "password" PROTOCOL = "pop3" PORT = 110 SERVER = "pop.secondserver.com" USER = "anotherusername" PASS = "anotherpassword" PROTOCOL = "pop3/ssl" PORT = 995 SERVER = "apop.server.com" USER = "yetanoterusername" PASS = "yetanotherpassword" PROTOCOL = "apop/ssl" PORT = 995 # ----------------------------------------------------------- # Do you want case sensitive e-mail filters? { yes | no } REG_CASE = "no" # ----------------------------------------------------------- # Sets the type of Regular Expression used { extended | basic } # # (The default is 'basic', don't change unless you know what # you are doing. Extended REs are more complex to set up.) REG_TYPE = "basic" # ----------------------------------------------------------- # Maximum e-mail size in bytes that should not be exceeded. MAXSIZE_DENY = 1000000 # ---------------------------------------------------------- # Filter rules for detecting spam (each rule must be placed # in a seperate line) # These filters detect certain unpleasant e-mail subjects: DENY = "^Subject:.*Get penis enlargement" DENY = "^Subject:.*WIN MONEY" # This one filters mail from a certain person: DENY = "^From:.*spammer@any_spam_organisation.com" # This one filters mail from everyone at a certain # organisation: DENY = "^From:.*@any_provider_that_spams.org" # We don't want any of those 'LEGAL' messages either # while stuff with 'legal' in the subject still interests us: DENY_CASE = "^Subject:.*LEGAL" # ----------------------------------------------------------- # Normalises the subject strings before parsing, e.g. # ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]' # becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered. NORMAL = "yes" # ----------------------------------------------------------- # The maximum e-mail size in bytes that messages from friends # should not exceed. Set this to 0 if all your friends (ALLOW) # can send messages as long as they want. MAXSIZE_ALLOW = 0 # ---------------------------------------------------------- # Set list of friends that always pass, if they do not # exceed the message length of MAXSIZE_ALLOW # This rule allows all mail from a friend who was unlucky # enough to have signed up with a spam organisation. With DENY # we block everyone else from that domain though! See above! ALLOW = "^From:.*a_friend_with_account@any_provider_that_spams.org" # Of course we allow e-mail from anyone who has something to # say about mailfilter: ALLOW = "^Subject:.*mailfilter" # We also let our girlfriend send any e-mail she wants: ALLOW = "^From:.*my_girlfriend@any_provider.com" debian/docs0000644000000000000000000000007110672746525010055 0ustar NEWS README THANKS AUTHORS doc/FAQ doc/supported_servers debian/copyright0000644000000000000000000001054110672747154011137 0ustar This package was debianized by Joerg Jaspert on Fri, 22 Jun 2001 16:51:47 +0200. It was downloaded from http://mailfilter.sourceforge.net Upstream Author: Andreas Bauer baueran@users.sourceforge.net Copyright: Copyright (c) 2000 - 2007 Andreas Bauer License: This package 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; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. Mailfilter is linked against OpenSSL, so upstream added the following exception: Note that this program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. The following files have different authors and licenses: src/getopt.c, src/getopt1.c, src/getopt.h Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. src/md5c.c, src/md5.h Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. All files in contrib/ are licensed under GPL v2 or later, see above. The authors are listed below. contrib/mbox.sh Author = Anton Filippov contrib/checkfilter.sh Author: Kay Schulz contrib/chrcformat_05-07 Author: Til Schubbe contrib/deleted.sh Author: Kay Schulz contrib/examined.sh uthor: Kay Schulz contrib/getmailer.pl Author: Kay Schulz contrib/getstats.pl Author: Kay Schulz contrib/prozente.pl Author: Kay Schulz contrib/mfdelete.stat Author: Tim Moore contrib/rmcrlf Author: Til Schubbe contrib/runit.sh Author: Kay Schulz contrib/selectheader Author: Til Schubbe contrib/sort_de_do.sh Author: Kay Schulz contrib/spam.tar.gz Author: Franck Pommereau contrib/xmailer.sh Author: Kay Schulz debian/source/0000755000000000000000000000000012037757710010477 5ustar debian/source/format0000644000000000000000000000001411745121450011674 0ustar 3.0 (quilt) debian/NEWS0000644000000000000000000000062510672746525007706 0ustar mailfilter (0.8.1-1) unstable; urgency=low * Mailfilter did change its rcfile format. From now on parameter strings have to be in quotes, e.g. . SERVER = "my.server" . This also hits all your user created rules. It is not necessary if your parameter is a number e.g. the port number. -- Joerg Jaspert Sat, 15 Sep 2007 14:13:35 +0200