notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
milter-regex Milter plugin to sendmail for regular expression filtering
2.7_3 mail on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.7_3Version of this port present on the latest quarterly branch.
Maintainer: dinoex@FreeBSD.org search for ports maintained by this maintainer
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/milter-regex-2.7_3/catalog.mk
  2. /usr/local/share/licenses/milter-regex-2.7_3/LICENSE
  3. /usr/local/share/licenses/milter-regex-2.7_3/BSD2CLAUSE
  4. libexec/milter-regex
  5. share/man/man8/milter-regex.8.gz
  6. @dir(mailnull,mail,750) /var/run/milter-regex
  7. @owner
  8. @group
  9. @mode
Collapse this list.
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):
milter-regex
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.7_32.7_32.7_22.7_32.7_3-2.7_2-
FreeBSD:13:quarterly2.7_32.7_32.7_22.7_32.7_32.7_22.7_22.7_2
FreeBSD:14:latest2.7_32.7_32.7_22.7_32.7_32.7_2-2.7_2
FreeBSD:14:quarterly2.7_32.7_3-2.7_32.7_32.7_22.7_22.7_2
FreeBSD:15:latest2.7_32.7_3n/a2.7_3n/a2.7_32.7_32.7_3
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:
Expand this list (1 items)
Collapse this list.
  1. https://www.benzedrine.ch/
Collapse this list.

Number of commits found: 63

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.7_3
11 Jan 2024 16:44:22
commit hash: 8220cc4892684844291720dadc55e422f071487bcommit hash: 8220cc4892684844291720dadc55e422f071487bcommit hash: 8220cc4892684844291720dadc55e422f071487bcommit hash: 8220cc4892684844291720dadc55e422f071487b files touched by this commit
Dirk Meyer (dinoex) search for other commits by this committer
mail/milter-regex: use ${PREFIX}/share/man
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.7_2
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
2.7_2
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
2.7_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.7_2
31 Dec 2020 12:14:42
Revision:559726Original commit files touched by this commit
dinoex search for other commits by this committer
- 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
Revision:531850Original commit files touched by this commit
dinoex search for other commits by this committer
- cleanup rc.d script
2.7
20 Dec 2019 04:36:07
Revision:520465Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 2.7
2.6
13 Aug 2019 22:29:43
Revision:508882Original commit files touched by this commit
mat search for other commits by this committer
onvert to UCL & cleanup pkg-message (categories l-m)
2.6
02 May 2019 19:07:34
Revision:500679Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 2.6
patches have been merged into upstream
2.4
03 Apr 2019 20:15:52
Revision:497762Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 2.4
2.2
07 Jan 2019 01:08:08
Revision:489555Original commit files touched by this commit
dinoex search for other commits by this committer
- udpate to 2.2
2.0_4
01 Jul 2018 10:17:19
Revision:473663Original commit files touched by this commit
dinoex search for other commits by this committer
- 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
Revision:408774Original commit files touched by this commit
dinoex search for other commits by this committer
- split libmilter from sendmail into a seperate port
- bump PORTREVISION
Submitted by:	matthew (Matthew Seaman)
2.0_2
08 Oct 2015 04:44:49
Revision:398808Original commit files touched by this commit
dinoex search for other commits by this committer
- cleanup
2.0_2
26 Sep 2015 20:02:18
Revision:398009Original commit files touched by this commit
dinoex search for other commits by this committer
- handle vardir via plist
PR:		203199
Submitted by:	Dmitry Marakasov
2.0_1
25 Mar 2015 11:41:18
Revision:382203Original commit files touched by this commit
marino search for other commits by this committer
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
Revision:363850Original commit files touched by this commit
dinoex search for other commits by this committer
- allow group access for postfix
PR:		192229
Submitted by:	Mel Muth
2.0
04 Mar 2014 06:51:38
Revision:346994Original commit files touched by this commit
dinoex search for other commits by this committer
- remove broken MANPREFIX
2.0
15 Dec 2013 11:43:28
Revision:336513Original commit files touched by this commit
dinoex search for other commits by this committer
- fix pkgng problem
do not use @dirrmtry
PR:		184695
2.0
27 Nov 2013 04:39:09
Revision:334995Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 2.0
1.9
13 Nov 2013 06:31:00
Revision:333653Original commit files touched by this commit
dinoex search for other commits by this committer
- use STAGEDIR
1.9
21 Sep 2013 11:06:04
Revision:327804Original commit files touched by this commit
dinoex search for other commits by this committer
- fix misplaced NO_STAGE in slaveports and ifdefs
1.9
20 Sep 2013 19:59:14
Revision:327742Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail)
1.9
27 Jan 2013 05:55:20
Revision:311049Original commit files touched by this commit
tabthorpe search for other commits by this committer
- Strip header at request of original creator

Submitted by:	trevor
With hat:	portmgr
1.9
26 Jan 2013 16:34:40
Revision:311027Original commit files touched by this commit
dinoex search for other commits by this committer
- cleanup header
1.9
05 Aug 2012 23:19:40
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dinoex search for other commits by this committer
- escape shell names
1.9
14 Jan 2012 08:57:23
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 1.9
1.8
03 Jul 2011 13:53:52
Original commit files touched by this commit
ohauer search for other commits by this committer
- remove MD5
1.8
15 May 2011 02:49:17
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 1.8
1.7
11 Jun 2010 07:42:14
Original commit files touched by this commit
dinoex search for other commits by this committer
- add COPYRIGHT
1.7
04 Jun 2010 14:08:27
Original commit files touched by this commit
dinoex search for other commits by this committer
LICENSE BSD
1.7
17 Apr 2010 17:03:07
Original commit files touched by this commit
dinoex search for other commits by this committer
- Fix pkg-plist to delete directories installed out of PREFIX
PR:             145742
Submitted by:   Sahil Tandon
1.7
15 Jul 2009 16:56:10
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dinoex search for other commits by this committer
- add LICENSE:
1.7
07 Aug 2007 10:27:30
Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 1.7
1.6_2
26 Feb 2007 23:02:04
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dinoex search for other commits by this committer
- add :
1.6_2
20 Feb 2007 16:40:07
Original commit files touched by this commit
dinoex search for other commits by this committer
- fix pidfile
Reportey by:    Clemens Fischer

- merge and clean patches in ascii
1.6_1
17 Feb 2007 09:09:43
Original commit files touched by this commit
dinoex search for other commits by this committer
- add flag -quiet
PR:             106602
Submitted by:   Denis Eremenko
1.6
13 Jan 2007 04:22:51
Original commit files touched by this commit
dinoex search for other commits by this committer
- use milter framework
1.6
09 Nov 2006 12:48:59
Original commit files touched by this commit
dinoex search for other commits by this committer
- fix package name
- let user set SPOOLDIR
1.6
06 Nov 2006 19:13:28
Original commit files touched by this commit
dinoex search for other commits by this committer
- 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
Original commit files touched by this commit
dinoex search for other commits by this committer
- take maintainership
1.6
02 Nov 2006 06:52:54
Original commit files touched by this commit
clsung search for other commits by this committer
- 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
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from ports starting with M
1.6
20 Nov 2005 16:03:43
Original commit files touched by this commit
dinoex search for other commits by this committer
- update to 1.6
- make prefix safe
- register shared milter dependency
Approved by:    dhartmei
1.5
07 Apr 2004 15:44:50
Original commit files touched by this commit
dhartmei search for other commits by this committer
Update to 1.5
0.8
07 Apr 2004 14:10:47
Original commit files touched by this commit
trevor search for other commits by this committer
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
Original commit files touched by this commit
trevor search for other commits by this committer
Quotes are unnecessary in the COMMENT.
0.8
07 Apr 2004 14:07:31
Original commit files touched by this commit
trevor search for other commits by this committer
Be less verbose.
0.8
27 Jan 2004 16:12:37
Original commit files touched by this commit
trevor search for other commits by this committer
Add size data.
0.8
25 Jan 2004 01:47:14
Original commit files touched by this commit
trevor search for other commits by this committer
Update to 0.8, requested by Stephane Lentz.  Use PLIST_FILES.
0.7
16 Jan 2004 20:51:34
Original commit files touched by this commit
trevor search for other commits by this committer
Update to 0.7.  Don't treat warnings as errors.

PR:             61410
Submitted by:   dinoex
0.6
09 Dec 2003 18:42:22
Original commit files touched by this commit
trevor search for other commits by this committer
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
Original commit files touched by this commit
trevor search for other commits by this committer
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
Original commit files touched by this commit
trevor search for other commits by this committer
Remove unnecessary USE_PERL5.

Submitted by:   Stephane Lentz
0.6
06 Oct 2003 18:12:05
Original commit files touched by this commit
trevor search for other commits by this committer
Update to 0.6 (still untested).

Submitted by:   Daniel Hartmeier and Stephane Lentz
0.5
04 Oct 2003 16:03:17
Original commit files touched by this commit
trevor search for other commits by this committer
new port of the milter-regex plugin for sendmail

Obtained from:  the OpenBSD port by Daniel Hartmeier (author of
                milter-regex)

Number of commits found: 63