Enclose patterns and constants in quotes.
This commit is contained in:
parent
3b24ddf582
commit
52203b3a8a
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-etc_smtp-vilter_attachment_conf,v 1.1 2005/09/07 21:32:16 mbalmer Exp $
|
||||
--- etc/smtp-vilter/attachment.conf.orig Wed Sep 7 23:28:40 2005
|
||||
+++ etc/smtp-vilter/attachment.conf Wed Sep 7 23:29:55 2005
|
||||
@@ -11,16 +11,16 @@ case-sensitive=false
|
||||
|
||||
# Define regular expressions for unwanted attachment names
|
||||
|
||||
-unwanted-filename=.*\.exe
|
||||
-unwanted-filename=.*\.bat
|
||||
-unwanted-filename=.*\.pif
|
||||
+unwanted-filename=".*\.exe"
|
||||
+unwanted-filename=".*\.bat"
|
||||
+unwanted-filename=".*\.pif"
|
||||
|
||||
# Define regulars expressions for unwanted content-types
|
||||
|
||||
-unwanted-content-type=application/octet-stream
|
||||
-unwanted-content-type=image/.*
|
||||
+unwanted-content-type="application/octet-stream"
|
||||
+unwanted-content-type="image/.*"
|
||||
|
||||
# Define a path name with a file containing a notification message in plain
|
||||
# text that is inserted into a multipart message if an attachement is omitted
|
||||
|
||||
-attachment-notification=/etc/smtp-vilter/attachment-notification
|
||||
+attachment-notification="/etc/smtp-vilter/attachment-notification"
|
Loading…
x
Reference in New Issue
Block a user