Add a patch to bump MaxHopCount to 50 to cope with modern smtp setups

with many relays. ok ajacoutot@ (maintainer)
This commit is contained in:
matthieu 2023-01-17 20:03:49 +00:00
parent 7e2a47284e
commit 277027873c
2 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,7 @@ PKGNAME-main = sendmail-${V}
PKGNAME-libmilter = libmilter-${V}
FULLPKGNAME-libmilter = libmilter-${V}
FULLPKGPATH-libmilter = mail/sendmail,-libmilter
REVISION-main = 0
SHARED_LIBS = milter 4.0

View File

@ -1,9 +1,18 @@
net/uucp uses login _uucp
net/uucp uses login _uucp and bump MaxHopCount
Index: cf/m4/proto.m4
--- cf/m4/proto.m4.orig
+++ cf/m4/proto.m4
@@ -746,6 +746,7 @@ ifdef(`_USE_CT_FILE_', `', `#')Ft`'ifdef(`confCT_FILE'
@@ -307,7 +307,7 @@ _OPTION(TempFileMode, `confTEMP_FILE_MOD
_OPTION(MatchGECOS, `confMATCH_GECOS', `False')
# maximum hop count
-_OPTION(MaxHopCount, `confMAX_HOP', `25')
+_OPTION(MaxHopCount, `confMAX_HOP', `50')
# location of help file
O HelpFile=ifdef(`HELP_FILE', HELP_FILE, `MAIL_SETTINGS_DIR`'helpfile')
@@ -746,6 +746,7 @@ ifdef(`_USE_CT_FILE_', `', `#')Ft`'ifdef
Troot
Tdaemon
ifdef(`_NO_UUCP_', `dnl', `Tuucp')