update to 1.1, supports macro definition/expansion, like

friends         = header /^Received$/ /^from [^ ]*(ork.net|home.com)/e
attachments     = header ,^Content-Type$, ,multipart/mixed, and \
                    body ,^Content-Type: application/,
executables     = $attachments and body ,name=".*.(pif|exe|scr)"$,e

reject "executable attachment from non-friends"
$executables and not $friends
This commit is contained in:
dhartmei 2004-02-25 20:11:39 +00:00
parent e3581d9854
commit 9354f06bba
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2004/02/24 23:35:04 dhartmei Exp $ # $OpenBSD: Makefile,v 1.7 2004/02/25 20:11:39 dhartmei Exp $
.if !exists(/usr/lib/libmilter.a) .if !exists(/usr/lib/libmilter.a)
IGNORE="Fatal: milter required, see instructions in DESCR" IGNORE="Fatal: milter required, see instructions in DESCR"
@ -6,7 +6,7 @@ IGNORE="Fatal: milter required, see instructions in DESCR"
COMMENT= "sendmail milter plugin for regular expression filtering" COMMENT= "sendmail milter plugin for regular expression filtering"
DISTNAME= milter-regex-1.0 DISTNAME= milter-regex-1.1
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/ MASTER_SITES= http://www.benzedrine.cx/

View File

@ -1,3 +1,3 @@
MD5 (milter-regex-1.0.tar.gz) = c41b5998024c8e7b111028d4d4996c61 MD5 (milter-regex-1.1.tar.gz) = f9efbf136600f503785ebab58cc70aa4
RMD160 (milter-regex-1.0.tar.gz) = 0b8803361878d50fbeaed109ca0fd4fbffdd8a78 RMD160 (milter-regex-1.1.tar.gz) = 6494f36cfa942aed886943e1e19f3cb985202882
SHA1 (milter-regex-1.0.tar.gz) = f8c9b79362bc5e37dff72aeee297c3e41fa80ce5 SHA1 (milter-regex-1.1.tar.gz) = 1b782e02aeea77c57eb991883998e4e5bd670620