--- include/sendmail/pathnames.h.orig	2021-12-02 04:43:29 +0000
+++ include/sendmail/pathnames.h	2021-12-02 04:44:18 +0000
@@ -20,7 +20,7 @@
 #   if defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF)
 #    define _PATH_SENDMAILCF	_PATH_VENDOR_CF
 #   else
-#    define _PATH_SENDMAILCF	"/etc/mail/sendmail.cf"
+#    define _PATH_SENDMAILCF	"/opt/freeware/etc/mail/sendmail.cf"
 #   endif
 #  endif /* ! _PATH_SENDMAILCF */
 
@@ -28,7 +28,7 @@
 #   ifdef BSD4_4
 #    define _PATH_SENDMAILPID	"/var/run/sendmail.pid"
 #   else
-#    define _PATH_SENDMAILPID	"/etc/mail/sendmail.pid"
+#    define _PATH_SENDMAILPID	"/opt/freeware/etc/mail/sendmail.pid"
 #   endif
 #  endif /* ! _PATH_SENDMAILPID */
 
@@ -51,7 +51,7 @@
 
 
 #  ifndef _DIR_SENDMAILCF
-#   define _DIR_SENDMAILCF	"/etc/mail/"
+#   define _DIR_SENDMAILCF	"/opt/freeware/etc/mail/"
 #  endif /* ! _DIR_SENDMAILCF */
 
 # define SM_GET_RIGHT_CF	0	/* get "right" .cf */
--- ./cf/cf/submit.cf.orig	2021-12-08 13:15:31 +0000
+++ ./cf/cf/submit.cf	2021-12-08 13:16:51 +0000
@@ -174,7 +174,7 @@
 #O MaxHopCount=25
 
 # location of help file
-O HelpFile=/etc/mail/helpfile
+O HelpFile=/opt/freeware/etc/mail/helpfile
 
 # ignore dots as terminators in incoming messages?
 #O IgnoreDots=False
@@ -578,7 +578,7 @@
 #####################
 
 # this is equivalent to setting class "t"
-#Ft/etc/mail/trusted-users
+#Ft/opt/freeware/etc/mail/trusted-users
 Troot
 Tdaemon
 Tuucp
--- cf/m4/cfhead.m4.orig	2021-12-09 00:32:24 +0000
+++ cf/m4/cfhead.m4	2021-12-09 00:32:44 +0000
@@ -269,7 +269,7 @@
 m4wrap(`include(_CF_DIR_`m4/proto.m4')')
 
 # default location for files
-ifdef(`MAIL_SETTINGS_DIR', , `define(`MAIL_SETTINGS_DIR', `/etc/mail/')')
+ifdef(`MAIL_SETTINGS_DIR', , `define(`MAIL_SETTINGS_DIR', `/opt/freeware/etc/mail/')')
 
 # set our default hashed database type
 define(`DATABASE_MAP_TYPE', `hash')
--- cf/cf/submit.cf.orig	2021-12-09 03:00:03 +0000
+++ cf/cf/submit.cf	2021-12-09 03:00:58 +0000
@@ -86,7 +86,7 @@
 
 
 # Hosts for which relaying is permitted ($=R)
-FR-o /etc/mail/relay-domains
+FR-o /opt/freeware/etc/mail/relay-domains
 
 
 # arithmetic map
@@ -132,7 +132,7 @@
 O AliasWait=10
 
 # location of alias file
-#O AliasFile=/etc/mail/aliases
+#O AliasFile=/opt/freeware/etc/mail/aliases
 
 # minimum number of free blocks on filesystem
 O MinFreeBlocks=100
@@ -153,7 +153,7 @@
 O DeliveryMode=i
 
 # error message header/file
-#O ErrorHeader=/etc/mail/error-header
+#O ErrorHeader=/opt/freeware/etc/mail/error-header
 
 # error mode
 #O ErrorMode=print
@@ -334,7 +334,7 @@
 #O DefaultUser=mailnull
 
 # list of locations of user database file (null means no lookup)
-#O UserDatabaseSpec=/etc/mail/userdb
+#O UserDatabaseSpec=/opt/freeware/etc/mail/userdb
 
 # fallback MX host
 #O FallbackMXhost=fall.back.host.net
@@ -382,7 +382,7 @@
 #O DefaultCharSet=unknown-8bit
 
 # service switch file (name hardwired on Solaris, Ultrix, OSF/1, others)
-#O ServiceSwitchFile=/etc/mail/service.switch
+#O ServiceSwitchFile=/opt/freeware/etc/mail/service.switch
 
 # hosts file (normally /etc/hosts)
 #O HostsFile=/etc/hosts
@@ -497,7 +497,7 @@
 #O AuthRealm
 
 # default authentication information for outgoing connections
-#O DefaultAuthInfo=/etc/mail/default-auth-info
+#O DefaultAuthInfo=/opt/freeware/etc/mail/default-auth-info
 
 # SMTP AUTH flags
 #O AuthOptions
--- cf/cf/Makefile.orig	2021-11-25 03:50:54 +0000
+++ cf/cf/Makefile	2021-11-25 03:51:15 +0000
@@ -16,7 +16,7 @@
 # name of source for submit.cf (without extension)
 SUBMIT=	submit
 # directory for .cf files
-MAILDIR=/etc/mail
+MAILDIR=/opt/freeware/etc/mail
 M4=	m4
 CFDIR=	..
 SED=  sed
