On Sun, Jul 31, 2016 at 10:39:43PM +0300, Consus wrote:
> We have smtpd(8) that now uses file-based aliases table instead of
> db-based. This table backend requires running
> 
>       $ smtpctl update table aliases
> 
> instead of
> 
>       $ newaliases
> 
> in order to fetch changes. However, afterboot(8) still mentions the old
> way of doing things.
> ---
>  share/man/man8/afterboot.8 | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8
> index b754484..d7f9760 100644
> --- a/share/man/man8/afterboot.8
> +++ b/share/man/man8/afterboot.8
> @@ -463,9 +463,11 @@ manager: root
>  dumper:              root
>  .Ed
>  .Pp
> -Run
> -.Xr newaliases 8
> -after changes.
> +After changes you should tell your running mail agent to update it's
> +configuration.
> +Run:
> +.Pp
> +.Dl $ smtpctl update table aliases
>  .Ss Mail
>  The default mail agent on
>  .Ox
> -- 
> 2.9.0
> 

i think you're right that the newaliases sentence should be removed. i'm
less sure about the change you propose though...it might be simpler to
tell people to restart smtpd, but even then i'm not sure this is the
business of afterboot(8). look at the text immediately after, which
shows how to change the mailer to accept external connections: it makes
no mention of restarting smtpd. in general, that's a normal pattern.

i know afterboot(8) is a little different though.

still, i would be inclined to say let's just zap the newaliases sentence.

jmc

Reply via email to