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:
parent
3f0148fee0
commit
2216e2a2cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64618
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
SUBDIR= sendmail
|
SUBDIR= sendmail
|
||||||
|
|
||||||
BIN1= aliases amd.map apmd.conf auth.conf \
|
BIN1= amd.map apmd.conf auth.conf \
|
||||||
crontab csh.cshrc csh.login csh.logout \
|
crontab csh.cshrc csh.login csh.logout \
|
||||||
dhclient.conf dm.conf fbtab ftpusers gettytab group \
|
dhclient.conf dm.conf fbtab ftpusers gettytab group \
|
||||||
hosts hosts.allow host.conf hosts.equiv hosts.lpd \
|
hosts hosts.allow host.conf hosts.equiv hosts.lpd \
|
||||||
|
64
etc/aliases
64
etc/aliases
@ -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
|
|
@ -13,7 +13,7 @@ fi
|
|||||||
|
|
||||||
case "$daily_backup_aliases_enable" in
|
case "$daily_backup_aliases_enable" in
|
||||||
[Yy][Ee][Ss])
|
[Yy][Ee][Ss])
|
||||||
if [ -f /etc/aliases ]
|
if [ -f /etc/mail/aliases ]
|
||||||
then
|
then
|
||||||
bak=/var/backups
|
bak=/var/backups
|
||||||
|
|
||||||
@ -23,15 +23,15 @@ case "$daily_backup_aliases_enable" in
|
|||||||
if [ ! -f $bak/aliases.bak ]
|
if [ ! -f $bak/aliases.bak ]
|
||||||
then
|
then
|
||||||
echo "no $bak/aliases.bak"
|
echo "no $bak/aliases.bak"
|
||||||
cp -p /etc/aliases $bak/aliases.bak
|
cp -p /etc/mail/aliases $bak/aliases.bak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! cmp -s $bak/aliases.bak /etc/aliases
|
if ! cmp -s $bak/aliases.bak /etc/mail/aliases
|
||||||
then
|
then
|
||||||
echo "$host aliases diffs:"
|
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
|
mv $bak/aliases.bak $bak/aliases.bak2
|
||||||
cp -p /etc/aliases $bak/aliases.bak
|
cp -p /etc/mail/aliases $bak/aliases.bak
|
||||||
fi
|
fi
|
||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
|
@ -170,7 +170,7 @@ file.
|
|||||||
(bool) Set to
|
(bool) Set to
|
||||||
.Dq YES
|
.Dq YES
|
||||||
if you want the
|
if you want the
|
||||||
.Pa /etc/aliases
|
.Pa /etc/mail/aliases
|
||||||
file backed up and modifications to be displayed in your daily output.
|
file backed up and modifications to be displayed in your daily output.
|
||||||
.It Ar daily_backup_distfile_enable
|
.It Ar daily_backup_distfile_enable
|
||||||
(bool) Set to
|
(bool) Set to
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
A new user must choose a login name, which must not already appear in
|
A new user must choose a login name, which must not already appear in
|
||||||
.Pa /etc/passwd
|
.Pa /etc/passwd
|
||||||
or
|
or
|
||||||
.Pa /etc/aliases .
|
.Pa /etc/mail/aliases .
|
||||||
It must also not begin with the hyphen
|
It must also not begin with the hyphen
|
||||||
.Ql Fl
|
.Ql Fl
|
||||||
character.
|
character.
|
||||||
|
@ -270,7 +270,7 @@ The current list of such aliases can be displayed with the
|
|||||||
command in
|
command in
|
||||||
.Nm mail .
|
.Nm mail .
|
||||||
System wide distribution lists can be created by editing
|
System wide distribution lists can be created by editing
|
||||||
.Pa /etc/aliases ,
|
.Pa /etc/mail/aliases ,
|
||||||
see
|
see
|
||||||
.Xr aliases 5
|
.Xr aliases 5
|
||||||
and
|
and
|
||||||
|
@ -137,7 +137,7 @@ option is used for setting up the posting of messages. The line
|
|||||||
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&"
|
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&"
|
||||||
.Pp
|
.Pp
|
||||||
should be included in
|
should be included in
|
||||||
.Pa /etc/aliases
|
.Pa /etc/mail/aliases
|
||||||
(see
|
(see
|
||||||
.Xr newaliases 1 )
|
.Xr newaliases 1 )
|
||||||
to enable posting of messages.
|
to enable posting of messages.
|
||||||
|
@ -89,7 +89,7 @@ name limit and NIS.
|
|||||||
The NIS protocol mandates an 8-character username.
|
The NIS protocol mandates an 8-character username.
|
||||||
If you need a longer login name for e-mail addresses,
|
If you need a longer login name for e-mail addresses,
|
||||||
you can define an alias in
|
you can define an alias in
|
||||||
.Pa /etc/aliases .
|
.Pa /etc/mail/aliases .
|
||||||
.It Sy fullname
|
.It Sy fullname
|
||||||
Firstname and surname.
|
Firstname and surname.
|
||||||
The
|
The
|
||||||
|
@ -301,7 +301,7 @@ To create a mail alias called
|
|||||||
.Em receiver-dude
|
.Em receiver-dude
|
||||||
that will automatically decode and assemble deltas, but not apply them,
|
that will automatically decode and assemble deltas, but not apply them,
|
||||||
you could put the following lines in your
|
you could put the following lines in your
|
||||||
.Pa /etc/aliases
|
.Pa /etc/mail/aliases
|
||||||
file (assuming the
|
file (assuming the
|
||||||
.Pa /ctm/tmp
|
.Pa /ctm/tmp
|
||||||
and
|
and
|
||||||
|
Loading…
Reference in New Issue
Block a user