163461Sbostic.\" Copyright (c) 1985, 1991, 1993 263461Sbostic.\" The Regents of the University of California. All rights reserved. 320788Smckusick.\" 449632Scael.\" %sccs.include.redist.roff% 520788Smckusick.\" 6*65102Smckusick.\" @(#)aliases.5 8.2 (Berkeley) 12/11/93 736110Sbostic.\" 849632Scael.Dd 949632Scael.Dt ALIASES 5 1049632Scael.Os BSD 4 1149632Scael.Sh NAME 1249632Scael.Nm aliases 1349632Scael.Nd aliases file for sendmail 1449632Scael.Sh SYNOPSIS 1549632Scael.Nm aliases 1649632Scael.Sh DESCRIPTION 1749632ScaelThis file describes user 1849632Scael.Tn ID 1949632Scaelaliases used by 2049632Scael.Pa /usr/sbin/sendmail . 2149632ScaelThe file resides in 2249632Scael.Pa /etc 2349632Scaeland 2449632Scaelis formatted as a series of lines of the form 2549632Scael.Bd -filled -offset indent 2620789Smckusickname: name_1, name2, name_3, . . . 2749632Scael.Ed 2849632Scael.Pp 2920788SmckusickThe 3049632Scael.Em name 3120789Smckusickis the name to alias, and the 3249632Scael.Em name_n 3320789Smckusickare the aliases for that name. 3420789SmckusickLines beginning with white space are continuation lines. 3549632ScaelLines beginning with 3649632Scael.Ql # 3749632Scaelare comments. 3849632Scael.Pp 3920788SmckusickAliasing occurs only on local names. 4020789SmckusickLoops can not occur, since no message will be sent to any person more than once. 4149632Scael.Pp 4220789SmckusickAfter aliasing has been done, local and valid recipients who have a 4349632Scael.Dq Pa .forward 4449632Scaelfile in their home directory have messages forwarded to the 4520789Smckusicklist of users defined in that file. 4649632Scael.Pp 4720788SmckusickThis is only the raw data file; the actual aliasing information is 4863451Sbosticplaced into a binary format in the file 4963451Sbostic.Pa /etc/aliases.db 5020788Smckusickusing the program 5149632Scael.Xr newaliases 1 . 5220788SmckusickA 5349632Scael.Xr newaliases 5420788Smckusickcommand should be executed each time the aliases file is changed for the 5520788Smckusickchange to take effect. 5649632Scael.Sh SEE ALSO 5749632Scael.Xr newaliases 1 , 5863451Sbostic.Xr dbopen 3 , 5949632Scael.Xr dbm 3 , 6049632Scael.Xr sendmail 8 6149632Scael.Rs 6249632Scael.%T "SENDMAIL Installation and Operation Guide" 6349632Scael.Re 6449632Scael.Rs 6549632Scael.%T "SENDMAIL An Internetwork Mail Router" 6649632Scael.Re 6749632Scael.Sh BUGS 6863451SbosticIf you have compiled 6963451Sbostic.Xr sendmail 7063451Sbosticwith DBM support instead of NEWDB, 71*65102Smckusickyou may have encountered problems in 7249632Scael.Xr dbm 3 7363451Sbosticrestricting a single alias to about 1000 bytes of information. 7420789SmckusickYou can get longer aliases by ``chaining''; that is, make the last name in 7520789Smckusickthe alias be a dummy name which is a continuation alias. 7649632Scael.Sh HISTORY 7749632ScaelThe 7849632Scael.Nm 7949632Scaelfile format appeared in 8049632Scael.Bx 4.0 . 81