summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2000-08-13 18:38:58 +0000
committergshapiro <gshapiro@FreeBSD.org>2000-08-13 18:38:58 +0000
commit2424c7393a2a912ab1e3678c643b613766634171 (patch)
tree4294d35406d2c7d1d9eee30b7a16a31dd841950f /etc
parent41161f82cc4b0a8c39d7af562f3b0b19f72e87e2 (diff)
downloadFreeBSD-src-2424c7393a2a912ab1e3678c643b613766634171.zip
FreeBSD-src-2424c7393a2a912ab1e3678c643b613766634171.tar.gz
Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
-rw-r--r--etc/aliases64
-rwxr-xr-xetc/periodic/daily/210.backup-aliases10
3 files changed, 6 insertions, 70 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 495df28..1fdaa28 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -3,7 +3,7 @@
SUBDIR= sendmail
-BIN1= aliases amd.map apmd.conf auth.conf \
+BIN1= amd.map apmd.conf auth.conf \
crontab csh.cshrc csh.login csh.logout \
dhclient.conf dm.conf fbtab ftpusers gettytab group \
hosts hosts.allow host.conf hosts.equiv hosts.lpd \
diff --git a/etc/aliases b/etc/aliases
deleted file mode 100644
index 3ecde87..0000000
--- a/etc/aliases
+++ /dev/null
@@ -1,64 +0,0 @@
-# $FreeBSD$
-# @(#)aliases 5.3 (Berkeley) 5/24/90
-#
-# Aliases in this file will NOT be expanded in the header from
-# Mail, but WILL be visible over networks.
-#
-# >>>>>>>>>> The program "newaliases" must be run after
-# >> NOTE >> this file is updated for any changes to
-# >>>>>>>>>> show through to sendmail.
-#
-#
-# See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES
-# AND FUNCTIONS', May 1997
-
-# Pretty much everything else in this file points to "root", so
-# you would do well in either reading roots mailbox or forwarding
-# roots email from here.
-
-# root: me@my.domain
-
-# Basic system aliases -- these MUST be present
-MAILER-DAEMON: postmaster
-postmaster: root
-
-# General redirections for pseudo accounts
-bin: root
-daemon: root
-games: root
-man: root
-news: root
-nobody: root
-operator: root
-pop: root
-system: root
-toor: root
-usenet: news
-uucp: root
-xten: root
-
-# Well-known aliases -- these should be filled in!
-# manager:
-# dumper:
-
-# BUSINESS-RELATED MAILBOX NAMES
-# info:
-# marketing:
-# sales:
-# support:
-
-# NETWORK OPERATIONS MAILBOX NAMES
-abuse: root
-# noc: root
-security: root
-
-# SUPPORT MAILBOX NAMES FOR SPECIFIC INTERNET SERVICES
-ftp: root
-ftp-bugs: ftp
-# hostmaster: root
-# webmaster: root
-# www: webmaster
-
-# msgs: "| /usr/bin/msgs -s"
-# bit-bucket: /dev/null
-# dev-null: bit-bucket
diff --git a/etc/periodic/daily/210.backup-aliases b/etc/periodic/daily/210.backup-aliases
index 8122b4c3..0b5206e 100755
--- a/etc/periodic/daily/210.backup-aliases
+++ b/etc/periodic/daily/210.backup-aliases
@@ -13,7 +13,7 @@ fi
case "$daily_backup_aliases_enable" in
[Yy][Ee][Ss])
- if [ -f /etc/aliases ]
+ if [ -f /etc/mail/aliases ]
then
bak=/var/backups
@@ -23,15 +23,15 @@ case "$daily_backup_aliases_enable" in
if [ ! -f $bak/aliases.bak ]
then
echo "no $bak/aliases.bak"
- cp -p /etc/aliases $bak/aliases.bak
+ cp -p /etc/mail/aliases $bak/aliases.bak
fi
- if ! cmp -s $bak/aliases.bak /etc/aliases
+ if ! cmp -s $bak/aliases.bak /etc/mail/aliases
then
echo "$host aliases diffs:"
- diff -u $bak/aliases.bak /etc/aliases
+ diff -u $bak/aliases.bak /etc/mail/aliases
mv $bak/aliases.bak $bak/aliases.bak2
- cp -p /etc/aliases $bak/aliases.bak
+ cp -p /etc/mail/aliases $bak/aliases.bak
fi
fi;;
esac
OpenPOWER on IntegriCloud