Page MenuHomeFreeBSD

Add /etc/rc.d/newaliases
Needs ReviewPublic

Authored by brooks on Mon, Mar 10, 6:14 PM.

Details

Reviewers
jhb
emaste
Summary

This script runs on firstboot and runs newaliases if /etc/mail/aliases
exists and /etc/mail/aliases.db does not. This allows image creation
scripts to avoid running newaliases.

Due to the switch to dma as the default mailier, this is a no-op in
practice unless the image has configured an alternate mailer.

/etc/rc.d/sendmail has the ability to create/update aliases.db, but it
is disabled by default even if sendmail is enabled.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62856
Build 59740: arc lint + arc unit