path: root/patches/source/sendmail/
diff options
Diffstat (limited to 'patches/source/sendmail/')
1 files changed, 42 insertions, 0 deletions
diff --git a/patches/source/sendmail/ b/patches/source/sendmail/
new file mode 100644
index 00000000..4fd4620b
--- /dev/null
+++ b/patches/source/sendmail/
@@ -0,0 +1,42 @@
+dnl# This is the default sendmail .mc file for Slackware. To generate
+dnl# the file from this (perhaps after making some changes),
+dnl# use the m4 files in /usr/share/sendmail/cf like this:
+dnl# cp /usr/share/sendmail/cf/
+dnl# cd /usr/share/sendmail/cf
+dnl# sh Build
+dnl# You may then install the resulting .cf file:
+dnl# cp /etc/mail/
+VERSIONID(`default setup for Slackware Linux')dnl
+dnl# These settings help protect against people verifying email addresses
+dnl# at your site in order to send you email that you probably don't want:
+define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
+dnl# Uncomment the line below to send outgoing mail through an external server:
+dnl define(`SMART_HOST',`')
+dnl# No timeout for ident:
+define(`confTO_IDENT', `0')dnl
+dnl# Enable the line below to use smrsh to restrict what sendmail can run:
+dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
+dnl# See the README in /usr/share/sendmail/cf for a ton of information on
+dnl# how these options work:
+FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
+FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
+FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
+FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
+dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
+dnl FEATURE(`accept_unresolvable_domains')dnl
+dnl# Also accept mail for localhost.localdomain: