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.
This commit is contained in:
Gregory Neil Shapiro 2000-08-13 18:38:58 +00:00
parent 3f0148fee0
commit 2216e2a2cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64618
9 changed files with 12 additions and 76 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -170,7 +170,7 @@ file.
(bool) Set to
.Dq YES
if you want the
.Pa /etc/aliases
.Pa /etc/mail/aliases
file backed up and modifications to be displayed in your daily output.
.It Ar daily_backup_distfile_enable
(bool) Set to

View File

@ -42,7 +42,7 @@
A new user must choose a login name, which must not already appear in
.Pa /etc/passwd
or
.Pa /etc/aliases .
.Pa /etc/mail/aliases .
It must also not begin with the hyphen
.Ql Fl
character.

View File

@ -270,7 +270,7 @@ The current list of such aliases can be displayed with the
command in
.Nm mail .
System wide distribution lists can be created by editing
.Pa /etc/aliases ,
.Pa /etc/mail/aliases ,
see
.Xr aliases 5
and

View File

@ -137,7 +137,7 @@ option is used for setting up the posting of messages. The line
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&"
.Pp
should be included in
.Pa /etc/aliases
.Pa /etc/mail/aliases
(see
.Xr newaliases 1 )
to enable posting of messages.

View File

@ -89,7 +89,7 @@ name limit and NIS.
The NIS protocol mandates an 8-character username.
If you need a longer login name for e-mail addresses,
you can define an alias in
.Pa /etc/aliases .
.Pa /etc/mail/aliases .
.It Sy fullname
Firstname and surname.
The

View File

@ -301,7 +301,7 @@ To create a mail alias called
.Em receiver-dude
that will automatically decode and assemble deltas, but not apply them,
you could put the following lines in your
.Pa /etc/aliases
.Pa /etc/mail/aliases
file (assuming the
.Pa /ctm/tmp
and