File: reject_nul.patch

package info (click to toggle)
sendmail 8.18.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,496 kB
  • sloc: ansic: 105,736; perl: 7,504; sh: 5,488; makefile: 889
file content (15 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Beckmann <anbe@debian.org>
Description: add configurable 'O RejectNUL' to *.cf

--- a/cf/m4/proto.m4
+++ b/cf/m4/proto.m4
@@ -720,6 +720,9 @@ _OPTION(MaxNOOPCommands, `confMAX_NOOP_C
 # Name to use for EHLO (defaults to $j)
 _OPTION(HeloName, `confHELO_NAME')
 
+# Reject NUL bytes in message body, requires _FFR_REJECT_NUL_BYTE
+_OPTION(RejectNUL, `confREJECT_NUL', `false')
+
 ifdef(`_NEED_SMTPOPMODES_', `dnl
 # SMTP operation modes
 C{SMTPOpModes} s d D')