bmf-0.84_1.txz


Advertisement

Description

bmf - Fst Bayesian Mail Filter compatible with maildrop and procmail

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename bmf-0.84_1.txz
Package name bmf
Package version 0.84
Package release 1
Package architecture amd64
Package type txz
Category mail
Homepage https://sourceforge.net/projects/bmf/
License GPLv2
Maintainer ports@FreeBSD.org
Download size 29.57 KB
Installed size 99.15 KB
bmf is an extremely efficient Bayesian mail filter based on
Paul Graham's article, "A Plan for Spam."  It's fast, small,
efficient, and more versatile than other Bayesian filters.
WWW: https://sourceforge.net/projects/bmf/
Options:
- BDB: on
- DEBUG: off
- DOCS: on
- MANPAGES: on
- MYSQL: off
============================
=== How to integrate bmf ===
============================
For maildrop(1), use only one of the following examples.  The first
sample invokes bmf in its normal mode of operation and the second
invokes bmf as a filter:
### Sample One
# Invoke bmf and use return code to filter spam in one step
exception {
`bmf`
if ( $RETURNCODE == 0 )
to $MAILDIR/spam
}
### Sample Two
# Invoke bmf as a filter
exception {
xfilter "bmf -p"
if (/^X-Spam-Status: Yes/)
to $MAILDIR/spam
}
For procmail(1), use only one of the following samples.  SPAM will be
filtered into $MAILDIR/spam.  The first sample invokes bmf in its
normal mode of operation and the second invokes bmf as a filter.
### begin sample one ###
# Invoke bmf and use return code to filter spam in one step
:0HB
* ? bmf
| formail -A"X-Spam-Status: Yes, tests=bmf" >>$MAILDIR/spam
### begin sample two ###
# Invoke bmf as a filter
:0 fw
| bmf -p
# Filter spam
:0:
^X-Spam-Status: Yes
$MAILDIR/spam
If you put bmf in your maildrop or procmail scripts as suggested
above, it will always register an email as either spam or non-spam.
To reverse this registration and train bmf, the following mutt macros
may be useful:
macro index \ed "<enter-command>unset wait_key\n<pipe-entry>bmf -S\n<enter-command>set wait_key\n<save-message>=spam\n" "Tags a given message as SPAM"
macro index \et "<pipe-entry>bmf -t\n<enter-command>set wait_key\n" "Tests a given message to see if it is SPAM"
macro index \eu "<pipe-entry>bmf -N\n<enter-command>set wait_key\n<save-message>=inbox\n" "Untags a given message as SPAM"
These will override these commands:
<Esc>d = de-register as non-spam, register as spam, and move to spam folder.
<Esc>t = test for spamicity.
<Esc>u = de-register as spam, register as non-spam, and move to inbox folder.
Please see the ${PREFIX}/share/bmf/README for further details.
===>   NOTICE:
The bmf port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

Alternatives

Package Version Architecture Repository
bmf-0.84_1.txz 0.84 i386 FreeBSD Ports Quarterly
bmf-0.84_1.txz 0.84 amd64 FreeBSD Ports Quarterly
bmf-0.84_1.txz 0.84 i386 FreeBSD Ports Latest
bmf - - -

Requires

Name Value
db5 = 5.3.28_7
libdb-5.3.so.0 -

Download

Type URL
Mirror pkg.freebsd.org
Binary Package bmf-0.84_1.txz
Source Package mail/bmf

Install Howto

Install bmf txz package:

# pkg install bmf

See Also

Package Description
bmfdec-g20180113.txz Decompile binary MOF file (BMF) from WMI buffer
bmkdep-20140112.txz Construct Makefile dependency list
bmon-4.0.txz Human-readable bandwidth monitor and rate estimator
bmp2html-0.1_6.txz BMP to HTML converter
bmpanel2-2.1.p1_2.txz Lightweight NetWM-compliant panel (taskbar) for X11
bmpp-4.27.0.txz Convert PNG/JPEG/TIFF to PDF/EPS
bn-aspell-0.01.1.1_1,2.txz Aspell Bengali dictionary
bn-freebsd-doc-53886,1.txz Bengali translation of the FreeBSD Documentation Project
bn-libreoffice-6.3.4.txz bn language pack for libreoffice
bn_IN-libreoffice-6.3.4.txz bn_IN language pack for libreoffice
bnf-1.6.10_1.txz Generate C parser given a grammar in BNF notation
bo-libreoffice-6.3.4.txz bo language pack for libreoffice
bochs-2.6.9_5,2.txz IA-32 (x86) PC emulator that runs DOS, Win 95, and more
bodr-10.txz Chemistry data like element and isotope properties, atomic radii, etc
boehm-gc-8.0.4_1.txz Garbage collection and memory leak detection for C and C++
Advertisement
Advertisement