Cruft has accumulated on that front. This diff cleans it up: the few
headers that are directly required for smtpd.h are included there, and
unnecessary includes are removed from the rest of the files.
Eric.
Index: aliases.c
===
RCS
On Wed, 26 May 2021 16:24:42 +0200, Eric Faurot wrote:
> This diff replaces calls to err(3)/errx(3) with fatal()/fatalx() from
> log.c for code that runs in the deamon (we want errors logged to
> syslog, not stderr). It's pretty mechanical, with two things to note:
>
> The call to default_config(
This diff replaces calls to err(3)/errx(3) with fatal()/fatalx() from
log.c for code that runs in the deamon (we want errors logged to
syslog, not stderr). It's pretty mechanical, with two things to note:
The call to default_config() has to be done after log_init() in smtpd.c,
and log_init() is c