From d205d39a3f7207c9fefec53677226eb0ffad9966 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 28 May 2017 12:21:12 +0100 Subject: [PATCH] sbr/mts.c: Make MMDF's delimeters fixed at compile time. 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 | 12 ------------ sbr/mts.c | 2 -- 2 files changed, 14 deletions(-) diff --git a/man/mh-tailor.man b/man/mh-tailor.man index 58f02101..4b934040 100644 --- a/man/mh-tailor.man +++ b/man/mh-tailor.man @@ -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 -.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 diff --git a/sbr/mts.c b/sbr/mts.c index c7378c71..ebb9924d 100644 --- a/sbr/mts.c +++ b/sbr/mts.c @@ -95,8 +95,6 @@ static struct bind binds[] = { { "spoollocking", &spoollocking }, { "uucpldir", &uucpldir }, { "uucplfil", &uucplfil }, - { "mmdelim1", &mmdlm1 }, - { "mmdelim2", &mmdlm2 }, { "mts", &mts_method }, { "sendmail", &sendmail }, { "clientname", &clientname }, -- 2.56.0