summaryrefslogtreecommitdiff
path: root/extra/source/sendmail/_sendmail/etc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/sendmail/_sendmail/etc')
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/Makefile.new20
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/access.db.newbin0 -> 12288 bytes
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/access.new0
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/aliases.db.newbin0 -> 12288 bytes
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/aliases.new34
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/domaintable.db.newbin0 -> 12288 bytes
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/domaintable.new0
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/local-host-names.new2
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/mailertable.db.newbin0 -> 12288 bytes
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/mailertable.new0
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/statistics.new0
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/trusted-users.new2
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/virtusertable.db.newbin0 -> 12288 bytes
-rw-r--r--extra/source/sendmail/_sendmail/etc/mail/virtusertable.new0
-rw-r--r--extra/source/sendmail/_sendmail/etc/rc.d/rc.sendmail.new38
15 files changed, 96 insertions, 0 deletions
diff --git a/extra/source/sendmail/_sendmail/etc/mail/Makefile.new b/extra/source/sendmail/_sendmail/etc/mail/Makefile.new
new file mode 100644
index 00000000..dd39c9bc
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/Makefile.new
@@ -0,0 +1,20 @@
+# To rebuild your sendmail configuration databases, run "make"
+# in this directory after making any changes.
+
+all: access.db aliases.db domaintable.db mailertable.db virtusertable.db
+
+access.db: access
+ @makemap hash access < access
+
+aliases.db: aliases
+ @newaliases
+
+domaintable.db: domaintable
+ @makemap hash domaintable < domaintable
+
+mailertable.db: mailertable
+ @makemap hash mailertable < mailertable
+
+virtusertable.db: virtusertable
+ @makemap hash virtusertable < virtusertable
+
diff --git a/extra/source/sendmail/_sendmail/etc/mail/access.db.new b/extra/source/sendmail/_sendmail/etc/mail/access.db.new
new file mode 100644
index 00000000..cb7b2f5a
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/access.db.new
Binary files differ
diff --git a/extra/source/sendmail/_sendmail/etc/mail/access.new b/extra/source/sendmail/_sendmail/etc/mail/access.new
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/access.new
diff --git a/extra/source/sendmail/_sendmail/etc/mail/aliases.db.new b/extra/source/sendmail/_sendmail/etc/mail/aliases.db.new
new file mode 100644
index 00000000..68756116
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/aliases.db.new
Binary files differ
diff --git a/extra/source/sendmail/_sendmail/etc/mail/aliases.new b/extra/source/sendmail/_sendmail/etc/mail/aliases.new
new file mode 100644
index 00000000..85cd85b2
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/aliases.new
@@ -0,0 +1,34 @@
+#
+# @(#)aliases 8.2 (Berkeley) 3/5/94
+#
+# Aliases in this file will NOT be expanded in the header from
+# Mail, but WILL be visible over networks or from /bin/mail.
+#
+# >>>>>>>>>> The program "newaliases" must be run after
+# >> NOTE >> this file is updated for any changes to
+# >>>>>>>>>> show through to sendmail.
+#
+
+# Basic system aliases -- these MUST be present.
+MAILER-DAEMON: postmaster
+postmaster: root
+
+# General redirections for pseudo accounts.
+bin: root
+daemon: root
+games: root
+ingres: root
+nobody: root
+system: root
+toor: root
+uucp: root
+
+# Well-known aliases.
+manager: root
+dumper: root
+webmaster: root
+abuse: root
+
+# trap decode to catch security attacks
+decode: root
+
diff --git a/extra/source/sendmail/_sendmail/etc/mail/domaintable.db.new b/extra/source/sendmail/_sendmail/etc/mail/domaintable.db.new
new file mode 100644
index 00000000..a3c192d3
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/domaintable.db.new
Binary files differ
diff --git a/extra/source/sendmail/_sendmail/etc/mail/domaintable.new b/extra/source/sendmail/_sendmail/etc/mail/domaintable.new
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/domaintable.new
diff --git a/extra/source/sendmail/_sendmail/etc/mail/local-host-names.new b/extra/source/sendmail/_sendmail/etc/mail/local-host-names.new
new file mode 100644
index 00000000..28284c95
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/local-host-names.new
@@ -0,0 +1,2 @@
+# names of hosts for which we receive email
+
diff --git a/extra/source/sendmail/_sendmail/etc/mail/mailertable.db.new b/extra/source/sendmail/_sendmail/etc/mail/mailertable.db.new
new file mode 100644
index 00000000..ae45782a
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/mailertable.db.new
Binary files differ
diff --git a/extra/source/sendmail/_sendmail/etc/mail/mailertable.new b/extra/source/sendmail/_sendmail/etc/mail/mailertable.new
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/mailertable.new
diff --git a/extra/source/sendmail/_sendmail/etc/mail/statistics.new b/extra/source/sendmail/_sendmail/etc/mail/statistics.new
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/statistics.new
diff --git a/extra/source/sendmail/_sendmail/etc/mail/trusted-users.new b/extra/source/sendmail/_sendmail/etc/mail/trusted-users.new
new file mode 100644
index 00000000..711125c0
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/trusted-users.new
@@ -0,0 +1,2 @@
+# trusted user list (this is equivalent to setting class "t")
+
diff --git a/extra/source/sendmail/_sendmail/etc/mail/virtusertable.db.new b/extra/source/sendmail/_sendmail/etc/mail/virtusertable.db.new
new file mode 100644
index 00000000..ae10b62d
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/virtusertable.db.new
Binary files differ
diff --git a/extra/source/sendmail/_sendmail/etc/mail/virtusertable.new b/extra/source/sendmail/_sendmail/etc/mail/virtusertable.new
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/mail/virtusertable.new
diff --git a/extra/source/sendmail/_sendmail/etc/rc.d/rc.sendmail.new b/extra/source/sendmail/_sendmail/etc/rc.d/rc.sendmail.new
new file mode 100644
index 00000000..e5cfe65a
--- /dev/null
+++ b/extra/source/sendmail/_sendmail/etc/rc.d/rc.sendmail.new
@@ -0,0 +1,38 @@
+#!/bin/sh
+# Start/stop/restart sendmail.
+
+# Start sendmail:
+sendmail_start() {
+ if [ -x /usr/sbin/sendmail ]; then
+ echo "Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m"
+ /usr/sbin/sendmail -L sm-mta -bd -q25m
+ echo "Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m"
+ /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
+ fi
+}
+
+# Stop sendmail:
+sendmail_stop() {
+ killall sendmail
+}
+
+# Restart sendmail:
+sendmail_restart() {
+ sendmail_stop
+ sleep 1
+ sendmail_start
+}
+
+case "$1" in
+'start')
+ sendmail_start
+ ;;
+'stop')
+ sendmail_stop
+ ;;
+'restart')
+ sendmail_restart
+ ;;
+*)
+ echo "usage $0 start|stop|restart"
+esac