Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
NEWALIASES(8)		FreeBSD	System Manager's Manual		 NEWALIASES(8)

NAME
     newaliases	-- rebuild the database	for the	mail aliases file

SYNOPSIS
     newaliases	[-f file]

DESCRIPTION
     newaliases	rebuilds the random access database for	the mail aliases file,
     the location of which is defined in smtpd.conf(5),	and which by default
     is	/usr/local/etc/mail/aliases.  This utility must	be run each time the
     aliases file is changed in	order for the change to	take effect.

     The options are as	follows:

     -f	file
	     Use file as the configuration file, instead of the	default
	     /usr/local/etc/mail/smtpd.conf.

     Note: this	utility	is provided for	sendmail compatibility.	 The preferred
     way of rebuilding the database is with makemap(8):

	   # makemap -t	aliases	/usr/local/etc/mail/aliases

FILES
     /usr/local/etc/mail/aliases     List of local user	mail aliases.
     /usr/local/etc/mail/virtual     List of virtual host aliases.

EXIT STATUS
     The newaliases utility exits 0 on success,	and >0 if an error occurs.

SEE ALSO
     smtpd.conf(5), makemap(8)

HISTORY
     The newaliases command first appeared in OpenBSD 4.6 as a replacement for
     the equivalent command shipped with sendmail.

FreeBSD	10.3			 June 29, 2016			  FreeBSD 10.3

NAME | SYNOPSIS | DESCRIPTION | FILES | EXIT STATUS | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=newaliases&sektion=8&manpath=FreeBSD+10.3-RELEASE+and+Ports>

home | help