Port details |
- milter-regex Milter plugin to sendmail for regular expression filtering
- 2.7_3 mail
=7 2.7_3Version of this port present on the latest quarterly branch. - Maintainer: dinoex@FreeBSD.org
 - Port Added: 2003-10-04 16:05:41
- Last Update: 2024-01-11 16:44:22
- Commit Hash: 8220cc4
- People watching this port, also watch:: dovecot, zip, unzip, wget, sendmail
- License: BSD2CLAUSE
- WWW:
- https://www.benzedrine.ch/milter-regex.html
- Description:
- Milter-regex is a sendmail milter plugin that allows to reject mail
based on regular expressions matching SMTP envelope parameters and
mail headers and body.
This program is developed on OpenBSD by the author.
LICENSE: BSD
Copyright (c) 2003-2019 Daniel Hartmeier
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- milter-regex>0:mail/milter-regex
- To install the port:
- cd /usr/ports/mail/milter-regex/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/milter-regex
- pkg install milter-regex
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: milter-regex
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1576222474
SHA256 (milter-regex-2.7.tar.gz) = 030417d302a7eadf1963a2b8b5f8e56870704b4327f780bed1dff41c0dc95bdc
SIZE (milter-regex-2.7.tar.gz) = 20579
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- mail_milter-regex
- pkg-message:
- For install:
- To run milter-regex daemon on startup, add milterregex_enable="YES"
in your /etc/rc.conf. You will need to create a config file:
/usr/local/etc/milter-regex.conf
The plugin needs to be registered in the sendmail(8) configuration.
See milter-regex(8) for details.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7_3 11 Jan 2024 16:44:22
    |
Dirk Meyer (dinoex)  |
mail/milter-regex: use ${PREFIX}/share/man |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.7_2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.7_2 20 Jul 2022 14:22:19
    |
Tobias C. Berner (tcberner)  |
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net> (Only the first 15 lines of the commit message are shown above ) |
2.7_2 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
2.7_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.7_2 31 Dec 2020 12:14:42
  |
dinoex  |
- add patch for enabling foreground operation without debug
PR: 250708
Submitted by: dewayne@heuristicsystems.com.au |
2.7_1 16 Apr 2020 14:49:59
  |
dinoex  |
- cleanup rc.d script |
2.7 20 Dec 2019 04:36:07
  |
dinoex  |
- update to 2.7 |
2.6 13 Aug 2019 22:29:43
  |
mat  |
onvert to UCL & cleanup pkg-message (categories l-m) |
2.6 02 May 2019 19:07:34
  |
dinoex  |
- update to 2.6
patches have been merged into upstream |
2.4 03 Apr 2019 20:15:52
  |
dinoex  |
- update to 2.4 |
2.2 07 Jan 2019 01:08:08
  |
dinoex  |
- udpate to 2.2 |
2.0_4 01 Jul 2018 10:17:19
  |
dinoex  |
- bump MILTER_SOVER to fix linking on FREEBSD-12
- bump PORTREVISION on ports using libmilter
- rename WITH_SENDMAIL_PORT to WITH_MILTER_PORT
- rename WITH_SENDMAIL_BASE to WITH_MILTER_BASE
- rename WITH_SENDMAIL_STATIC_MILTER to WITH_MILTER_STATIC
- cleanup ifdefs
- fix build on batv-filter with libmilter from ports |
2.0_3 13 Feb 2016 09:03:16
  |
dinoex  |
- split libmilter from sendmail into a seperate port
- bump PORTREVISION
Submitted by: matthew (Matthew Seaman) |
2.0_2 08 Oct 2015 04:44:49
  |
dinoex  |
- cleanup |
2.0_2 26 Sep 2015 20:02:18
  |
dinoex  |
- handle vardir via plist
PR: 203199
Submitted by: Dmitry Marakasov |
2.0_1 25 Mar 2015 11:41:18
  |
marino  |
mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests. The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week. It's a forward
action to submit a PR against mail/sendmail.
* antivirus-milter (CP)
* dk-milter (CP)
* milter-regex (CP)
* sendmail (CP, QA)
approved by: PTHREAD blanket |
2.0_1 03 Aug 2014 05:34:43
  |
dinoex  |
- allow group access for postfix
PR: 192229
Submitted by: Mel Muth |
2.0 04 Mar 2014 06:51:38
  |
dinoex  |
- remove broken MANPREFIX |
2.0 15 Dec 2013 11:43:28
  |
dinoex  |
- fix pkgng problem
do not use @dirrmtry
PR: 184695 |
2.0 27 Nov 2013 04:39:09
  |
dinoex  |
- update to 2.0 |
1.9 13 Nov 2013 06:31:00
  |
dinoex  |
- use STAGEDIR |
1.9 21 Sep 2013 11:06:04
  |
dinoex  |
- fix misplaced NO_STAGE in slaveports and ifdefs |
1.9 20 Sep 2013 19:59:14
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail) |
1.9 27 Jan 2013 05:55:20
  |
tabthorpe  |
- Strip header at request of original creator
Submitted by: trevor
With hat: portmgr |
1.9 26 Jan 2013 16:34:40
  |
dinoex  |
- cleanup header |
1.9 05 Aug 2012 23:19:40
 |
dougb  |
Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file
No PORTREVISION bump necessary because this is a no-op |
1.9 14 Jan 2012 14:49:25
 |
dinoex  |
- escape shell names |
1.9 14 Jan 2012 08:57:23
 |
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
1.9 11 Jan 2012 06:42:53
 |
dinoex  |
- update to 1.9 |
1.8 03 Jul 2011 13:53:52
 |
ohauer  |
- remove MD5 |
1.8 15 May 2011 02:49:17
 |
dougb  |
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps |
1.8 13 Aug 2010 16:33:45
 |
dinoex  |
- update to 1.8 |
1.7 11 Jun 2010 07:42:14
 |
dinoex  |
- add COPYRIGHT |
1.7 04 Jun 2010 14:08:27
 |
dinoex  |
LICENSE BSD |
1.7 17 Apr 2010 17:03:07
 |
dinoex  |
- Fix pkg-plist to delete directories installed out of PREFIX
PR: 145742
Submitted by: Sahil Tandon |
1.7 15 Jul 2009 16:56:10
 |
dougb  |
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops. |
1.7 16 Jan 2009 19:53:36
 |
dinoex  |
- add LICENSE: |
1.7 07 Aug 2007 10:27:30
 |
dinoex  |
- update to 1.7 |
1.6_2 26 Feb 2007 23:02:04
 |
dougb  |
Another round of the periodic sweep for removal of the
KEYWORD: FreeBSD scourge. We have ignored this keyword
for a long time now, so this is a non-functional change
(therefore no PORTREVISION bumps).
Insert a $FreeBSD tag where needed, and adjust a comment
in mail/milter-regex to match reality. |
1.6_2 20 Feb 2007 16:42:23
 |
dinoex  |
- add : |
1.6_2 20 Feb 2007 16:40:07
 |
dinoex  |
- fix pidfile
Reportey by: Clemens Fischer
- merge and clean patches in ascii |
1.6_1 17 Feb 2007 09:09:43
 |
dinoex  |
- add flag -quiet
PR: 106602
Submitted by: Denis Eremenko |
1.6 13 Jan 2007 04:22:51
 |
dinoex  |
- use milter framework |
1.6 09 Nov 2006 12:48:59
 |
dinoex  |
- fix package name
- let user set SPOOLDIR |
1.6 06 Nov 2006 19:13:28
 |
dinoex  |
- distfiles was repacked
diff -urN showed that no file was changed, only the name of the WRKSRC
used DIST_SUBDIR to save users and mirrod from stalled updates.
Reported by: ache |
1.6 03 Nov 2006 04:42:22
 |
dinoex  |
- take maintainership |
1.6 02 Nov 2006 06:52:54
 |
clsung  |
- Add support for rc.d style startup scripts for mail/milter-regex port.
- reset maintainership
PR: ports/103114
Submitted by: Derek Marcotte <derekm dot nospam_AT_rogers dot com>
Approved by: maintainer (dhartmei) |
1.6 10 May 2006 22:37:39
 |
edwin  |
Remove USE_REINPLACE from ports starting with M |
1.6 20 Nov 2005 16:03:43
 |
dinoex  |
- update to 1.6
- make prefix safe
- register shared milter dependency
Approved by: dhartmei |
1.5 07 Apr 2004 15:44:50
 |
dhartmei  |
Update to 1.5 |
0.8 07 Apr 2004 14:10:47
 |
trevor  |
Turn maintainership over to dhartmei, the author of the program and
of the OpenBSD port on which this port is based.
Approved by: dhartmei |
0.8 07 Apr 2004 14:09:53
 |
trevor  |
Quotes are unnecessary in the COMMENT. |
0.8 07 Apr 2004 14:07:31
 |
trevor  |
Be less verbose. |
0.8 27 Jan 2004 16:12:37
 |
trevor  |
Add size data. |
0.8 25 Jan 2004 01:47:14
 |
trevor  |
Update to 0.8, requested by Stephane Lentz. Use PLIST_FILES. |
0.7 16 Jan 2004 20:51:34
 |
trevor  |
Update to 0.7. Don't treat warnings as errors.
PR: 61410
Submitted by: dinoex |
0.6 09 Dec 2003 18:42:22
 |
trevor  |
Enable compilation on FreeBSD 5.2-BETA by avoiding "log" namespace
conflict.
PR: 59975
Submitted by: Volker Stolz of the Lehrstuhl fur Informatik II at
RWTH Aachen |
0.6 13 Nov 2003 10:21:09
 |
trevor  |
Remove my e-mail address from DESCR files of ports
I have contributed, in order to attract less spam. |
0.6 06 Oct 2003 21:22:33
 |
trevor  |
Remove unnecessary USE_PERL5.
Submitted by: Stephane Lentz |
0.6 06 Oct 2003 18:12:05
 |
trevor  |
Update to 0.6 (still untested).
Submitted by: Daniel Hartmeier and Stephane Lentz |
0.5 04 Oct 2003 16:03:17
 |
trevor  |
new port of the milter-regex plugin for sendmail
Obtained from: the OpenBSD port by Daniel Hartmeier (author of
milter-regex) |