@@ -1046,13 +1046,37 @@ Maximum period after which tracked values are purged from the duplicate
10461046tracking database.`
10471047 } ,
10481048
1049- sieve_editheader_header_forbid_add : {
1049+ sieve_editheader_header : {
1050+ tags : [ 'sieve' , 'sieve-editheader' ] ,
1051+ plugin : 'sieve' ,
1052+ values : setting_types . NAMED_LIST_FILTER ,
1053+ seealso : [ '[[link,sieve_editheader]]' ,
1054+ 'sieve_editheader_header_name' ,
1055+ 'sieve_editheader_header_forbid_add' ,
1056+ 'sieve_editheader_header_forbid_delete' ] ,
1057+ text : `
1058+ Configures a new message header, which can be forbidded to be added or deleted.
1059+ The filter name refers to the [[setting,sieve_editheader_header_name]] setting.`
1060+ } ,
1061+
1062+ sieve_editheader_header_name : {
10501063 tags : [ 'sieve' , 'sieve-editheader' ] ,
10511064 plugin : 'sieve' ,
10521065 values : setting_types . STRING ,
1053- seealso : [ '[[link,sieve_editheader]]' ] ,
1066+ seealso : [ '[[link,sieve_editheader]]' , 'sieve_editheader_header' ] ,
10541067 text : `
1055- A space-separated list of headers that cannot be added to the message header.
1068+ The name of the message header that is forbidded to be added or deleted.`
1069+ } ,
1070+
1071+ sieve_editheader_header_forbid_add : {
1072+ tags : [ 'sieve' , 'sieve-editheader' ] ,
1073+ plugin : 'sieve' ,
1074+ default : 'no' ,
1075+ values : setting_types . BOOLEAN ,
1076+ seealso : [ '[[link,sieve_editheader]]' , 'sieve_editheader_header' ] ,
1077+ text : `
1078+ Forbid adding the [[setting,sieve_editheader_header_name]] to the message
1079+ header.
10561080
10571081Addition of the \`Subject:\` header cannot be prohibited, as required by
10581082the RFC specification. Therefore, adding this header to this setting has no
@@ -1062,16 +1086,17 @@ effect.`
10621086 sieve_editheader_header_forbid_delete : {
10631087 tags : [ 'sieve' , 'sieve-editheader' ] ,
10641088 plugin : 'sieve' ,
1089+ default : 'no' ,
10651090 values : setting_types . STRING ,
1066- seealso : [ '[[link,sieve_editheader]]' ] ,
1091+ seealso : [ '[[link,sieve_editheader]]' , 'sieve_editheader_header' ] ,
10671092 text : `
1068- A space-separated list of headers that cannot be deleted from the message
1093+ Forbid deleting the [[setting,sieve_editheader_header_name]] from the message
10691094header.
10701095
10711096Deleting the \`Received:\` and \`Auto-Submitted:\` fields is always
10721097forbidden, while removing the \`Subject:\` header cannot be prohibited, as
1073- required by the RFC specification. Therefore, adding one of these headers
1074- to this setting has no effect.`
1098+ required by the RFC specification. Therefore, using this setting with one of
1099+ these headers has no effect.`
10751100 } ,
10761101
10771102 sieve_editheader_max_header_size : {
0 commit comments