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

FreeBSD Manual Pages

  
 
  

home | help
NEWALIASES(8)		FreeBSD	System Manager's Manual		 NEWALIASES(8)

NAME
     newaliases	-- rebuild mail	aliases

SYNOPSIS
     newaliases	[-f file]

DESCRIPTION
     The newaliases utility makes changes to the mail aliases file visible to
     smtpd(8).	It should be run every time the	aliases(5) file	is changed.
     The location of the alias file is defined in smtpd.conf(5), and defaults
     to	/usr/local/etc/mail/aliases.

     The options are as	follows:

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

     If	using database (db) files, newaliases is equivalent to running
     makemap(8)	as follows:

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

     If	using plain text files,	newaliases is equivalent to running smtpctl(8)
     as	follows:

	   # smtpctl update table 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),	smtpctl(8), smtpd(8)

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

FreeBSD	13.0			 July 20, 2018			  FreeBSD 13.0

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+13.0-RELEASE+and+Ports>

home | help