summaryrefslogtreecommitdiff
path: root/debian/patches/8.13/srvrsmtp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/8.13/srvrsmtp.patch')
-rw-r--r--debian/patches/8.13/srvrsmtp.patch120
1 files changed, 0 insertions, 120 deletions
diff --git a/debian/patches/8.13/srvrsmtp.patch b/debian/patches/8.13/srvrsmtp.patch
deleted file mode 100644
index 419b4a3..0000000
--- a/debian/patches/8.13/srvrsmtp.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-#
-# To apply this patch:
-# STEP 1: Chdir to the source directory.
-# STEP 2: Run the 'applypatch' program with this patch file as input.
-#
-# If you do not have 'applypatch', it is part of the 'makepatch' package
-# that you can fetch from the Comprehensive Perl Archive Network:
-# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
-# In the above URL, 'x' should be 2 or higher.
-#
-# To apply this patch without the use of 'applypatch':
-# STEP 1: Chdir to the source directory.
-# STEP 2: Run the 'patch' program with this file as input.
-#
-#### End of Preamble ####
-
-#### Patch data follows ####
-diff -c 'srvrsmtp.c.orig' 'srvrsmtp.c'
-Index: ./srvrsmtp.c.orig
-Prereq: 8.900
-*** ./srvrsmtp.c.orig Tue Aug 10 23:48:17 2004
---- ./srvrsmtp.c Wed Aug 11 00:00:09 2004
-***************
-*** 444,449 ****
---- 444,451 ----
- char *volatile protocol; /* sending protocol */
- char *volatile sendinghost; /* sending hostname */
- char *volatile peerhostname; /* name of SMTP peer or "localhost" */
-+ char *volatile hello_name; /* client_hello string */
-+ bool hello_acceptd = false; /* helo/ehlo command accepted */
- auto char *delimptr;
- char *id;
- volatile unsigned int n_badcmds = 0; /* count of bad commands */
-***************
-*** 1976,1981 ****
---- 1978,1987 ----
- {
- q = "pleased to meet you";
- sendinghost = sm_strdup_x(p);
-+ hello_accept = true;
-+ hello_name = sm_strdup_x(p);
-+ macdefine(&e->e_macro, A_PERM, macid("{client_hello}"),
-+ hello_name);
- }
- else if (!AllowBogusHELO)
- {
-***************
-*** 1989,1994 ****
---- 1995,2004 ----
- else
- {
- q = "accepting invalid domain name";
-+ hello_accept = true;
-+ hello_name = sm_strdup_x(p);
-+ macdefine(&e->e_macro, A_PERM, macid("{client_hello}"),
-+ hello_name);
- }
-
- if (gothello)
-***************
-*** 1996,2001 ****
---- 2006,2028 ----
- CLEAR_STATE(cmdbuf);
- }
-
-+ if (hello_accept) {
-+ if (rscheck("check_hello", hello_name,
-+ NULL, e, RSF_RMCOMM|RSF_COUNT, 3,
-+ NULL, e->e_id) != EX_OK ||
-+ Errors > 0)
-+ sm_exc_raisenew_x(&EtypeQuickAbort, 1);
-+
-+ if (MaxMessageSize > 0 &&
-+ (e->e_msgsize > MaxMessageSize ||
-+ e->e_msgsize < 0))
-+ {
-+ usrerr("552 5.2.3 Message size exceeds fixed maximum message size (%ld)",
-+ MaxMessageSize);
-+ sm_exc_raisenew_x(&EtypeQuickAbort, 1);
-+ }
-+ }
-+
- #if MILTER
- if (smtp.sm_milterlist && smtp.sm_milterize &&
- !bitset(EF_DISCARD, e->e_flags))
-#### End of Patch data ####
-
-#### ApplyPatch data follows ####
-# Data version : 1.0
-# Date generated : Wed Aug 11 00:01:01 2004
-# Generated by : makepatch 2.00_07*
-# Recurse directories : Yes
-# Excluded files : (\A|/).*\~\Z
-# (\A|/).*\.a\Z
-# (\A|/).*\.bak\Z
-# (\A|/).*\.BAK\Z
-# (\A|/).*\.elc\Z
-# (\A|/).*\.exe\Z
-# (\A|/).*\.gz\Z
-# (\A|/).*\.ln\Z
-# (\A|/).*\.o\Z
-# (\A|/).*\.obj\Z
-# (\A|/).*\.olb\Z
-# (\A|/).*\.old\Z
-# (\A|/).*\.orig\Z
-# (\A|/).*\.rej\Z
-# (\A|/).*\.so\Z
-# (\A|/).*\.Z\Z
-# (\A|/)\.del\-.*\Z
-# (\A|/)\.make\.state\Z
-# (\A|/)\.nse_depinfo\Z
-# (\A|/)core\Z
-# (\A|/)tags\Z
-# (\A|/)TAGS\Z
-# p './srvrsmtp.c.orig' 111749
-#### End of ApplyPatch data ####
-
-#### End of Patch kit [created: Wed Aug 11 00:01:01 2004] ####
-#### Patch checksum: 102 3167 7100 ####
-#### Checksum: 119 3788 58534 ####