]> diplodocus.org Git - nmh/commitdiff
sbr/mts.c: Make MMDF's delimeters fixed at compile time.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 28 May 2017 11:21:12 +0000 (12:21 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 28 May 2017 11:21:12 +0000 (12:21 +0100)
mts.conf(5) allowed `mmdelim1' and `mmdelim2' to alter the default MMDF
begin and end markers of four ASCII SOHs and an LF.  There doesn't seem
to be a modern use for this, and nmh wouldn't have handled longer
markers correctly so remove the capability.

man/mh-tailor.man
sbr/mts.c

index 58f0210..4b93404 100644 (file)
@@ -159,18 +159,6 @@ If this is empty, the user's login name is used.  This overrides the default
 value (which is empty).
 .RE
 .PP
 value (which is empty).
 .RE
 .PP
-.BR mmdelim1 :
-\\001\\001\\001\\001\\n
-.RS 5
-The beginning-of-message delimiter for mail drops.
-.RE
-.PP
-.BR mmdelim2 :
-\\001\\001\\001\\001\\n
-.RS 5
-The end-of-message delimiter for mail drops.
-.RE
-.PP
 .BR spoollocking :
 %default_locking%
 .RS 5
 .BR spoollocking :
 %default_locking%
 .RS 5
index c7378c7..ebb9924 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -95,8 +95,6 @@ static struct bind binds[] = {
     { "spoollocking", &spoollocking },
     { "uucpldir", &uucpldir },
     { "uucplfil", &uucplfil },
     { "spoollocking", &spoollocking },
     { "uucpldir", &uucpldir },
     { "uucplfil", &uucplfil },
-    { "mmdelim1", &mmdlm1 },
-    { "mmdelim2", &mmdlm2 },
     { "mts",      &mts_method },
     { "sendmail", &sendmail  },
     { "clientname",  &clientname },
     { "mts",      &mts_method },
     { "sendmail", &sendmail  },
     { "clientname",  &clientname },