Port details |
- bmf Fast Bayesian Mail Filter compatible with maildrop and procmail
- 0.9.4,1 mail
=3 0.9.4,1Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2003-03-24 05:08:27
- Last Update: 2021-04-06 14:31:07
- Commit Hash: 305f148
- People watching this port, also watch:: rubygem-amq-protocol, mkvtoolnix, adzap, radns
- License: GPLv2
- Description:
- 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/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/mail/bmf/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/bmf
- pkg install bmf
- PKGNAME: bmf
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1541791646
SHA256 (bmf-0.9.4.tar.gz) = 7eed21802f95df2321ac4c958f99e14d2809852a5708700b633e1abb032c9ce1
SIZE (bmf-0.9.4.tar.gz) = 36740
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Library dependencies:
-
- libdb-5.3.so : databases/db5
- There are no ports dependent upon this port
- Configuration Options:
- ===> The following configuration options are available for bmf-0.9.4,1:
BDB=on: Berkeley DB support
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
MANPAGES=on: Build and/or install manual pages
MYSQL=off: MySQL database support
===> Use 'make config' to modify these settings
- Options name:
- mail_bmf
- USES:
- bdb
- pkg-message:
- For install:
- === 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.
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
06 Apr 2021 14:31:07 0.9.4,1
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
23 Sep 2020 18:39:56
0.9.4,1
|
0mp  |
mail/bmf: Revert erroneous update
bmf was incorrectly "updated" from 0.9.4 to 0.84 in r483094. The problem is
that 0.9.4 is a newer version than 0.84. According to Repology[1], other
packaging systems got it right. Let's correct the mistake and introduce
version 0.9.4 back into our ports tree.
[1]: https://repology.org/project/bmf/versions
PR: 232493
Submitted by: reg@ |
13 Aug 2019 22:29:43
0.84_1
|
mat  |
onvert to UCL & cleanup pkg-message (categories l-m) |
28 Oct 2018 09:26:13
0.84_1
|
tobik  |
Cleanup mail/bmf
- Cleanup MYSQL option: properly declare libmysqlclient dependency,
unbreak with other mysql version/variants
- Respect CC and CFLAGS
- Remove post-patch and simplify with BINARY_ALIAS
- Do not strip binaries twice
- Generate manpages and install them again
PR: 232493 |
27 Oct 2018 01:57:25
0.84
|
swills  |
mail/bmf: Update to 0.84
PR: 232493
Submitted by: Nathan <ndowens@yahoo.com> |
20 Jan 2017 20:33:31
0.9.4_3
|
sunpoet  |
Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ |
08 Aug 2016 13:46:50
0.9.4_3
|
mat  |
USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx -> USES=bdb:xx.
Other modernisations when I see them.
PR: 209183
Sponsored by: Absolight |
11 Dec 2015 11:09:26
0.9.4_3
|
amdmi3  |
- Add LICENSE
- Switch to options helpers |
22 Nov 2014 18:42:44
0.9.4_3
|
antoine  |
Cleanup plist |
21 Aug 2014 22:50:30
0.9.4_3
|
mandree  |
Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
for new Berkeley DB, but are untested.
NOTE: please read UPDATING and the Wiki page before proceeding!
Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR: 192690
Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports) |
16 Jul 2014 03:00:46
0.9.4_2
|
adamw  |
Add DOCS option for ports with PORTDOCS in plist. |
18 Apr 2014 02:53:14
0.9.4_2
|
adamw  |
Use OPTIONS helpers, pass proper configure arguments,
and install docs into DOCSDIR, not DATADIR. PORTREVISION
bump for that last change. |
09 Jan 2014 23:29:32
0.9.4_1
|
bapt  |
Allow packaging as a USER |
03 Jan 2014 01:00:05
0.9.4_1
|
mandree  |
- Attempt to fix build on systems without gcc (error was:
- Stageify.
- No longer silence post-* targets. |
20 Sep 2013 19:59:14
0.9.4_1
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail) |
26 Aug 2012 15:06:48
0.9.4_1
|
adamw  |
Convert to new OPTIONS framework.
In the process, this also fixes BDB support, and actually enables
MYSQL support, which as far as I can tell was never actually enabled
in the 9 years this port has been in the tree. |
28 Sep 2011 06:58:39
0.9.4_1
|
vanilla  |
Fix build error with clang. |
23 Sep 2011 22:26:39
0.9.4_1
|
amdmi3  |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav |
03 Jul 2011 13:53:52
0.9.4_1
|
ohauer  |
- remove MD5 |
21 Dec 2009 02:19:12
0.9.4_1
|
dougb  |
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports. |
22 Aug 2009 00:28:34
0.9.4_1 
|
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with M |
13 Dec 2006 16:14:17
0.9.4_1
|
linimon  |
Reset seanc@FreeBSD.or due to maintainer-timeouts and no response to email.
Hat: portmgr |
25 Mar 2006 23:32:48
0.9.4_1
|
krion  |
Pet portlint. |
22 Jan 2006 12:50:54
0.9.4_1
|
edwin  |
SHA256ify
Approved by: krion@ |
08 Jun 2004 14:07:35
0.9.4_1
|
vs  |
Fix typo in conditional.
PR: ports/65415
Submitted by: Jos Backus
Approved by: maintainer-silence |
31 Mar 2004 03:12:58
0.9.4_1
|
trevor  |
SIZEify (maintainer timeout) |
13 Apr 2003 21:56:57
0.9.4_1
|
seanc  |
By default, bmf should use the system's db library and not bdb3. Not bumping
portversion because I don't know if .db files are compatible from one lib to
the next (I suspect they're not). |
04 Apr 2003 22:30:16
0.9.4_1
|
seanc  |
Fix bmf to work correctly with db3, db4, and db41.
Noticed by: Keltia on IRC |
25 Mar 2003 00:46:38
0.9.4
|
seanc  |
Fix type-o in pkg-message
Submitted by: Jos Backus <jos@catnook.com> |
24 Mar 2003 05:07:52
0.9.4
|
seanc  |
Add bmf: a fast (fastest filter I know of) Bayesian Mail Filter (adaptive
spam filter && has hooks for mutt!). Works well with maildrop, procmail,
and can be integrated with all known mailing list software. |