Hi there,
To describe this issue in some details: we have a problem on portable when
trying to place "smtpd.conf" not into `%{sysconfdir}` which is usually
`/etc`, but into another directory (`/etc/opensmtpd`, for example.)
Reason: opensmtpd always puts "smtpd.conf" into `%{sysconfdir}`, and the
only way now to use another directory is to re-assign `%{sysconfdir}` in
`./configure`. This is definitely not a good idea since `%{sysconfdir}` can
be used for other purposes during build. Incorrect `%{sysconfdir}` causes
incorrect "aliases" file path generation in config, and probably incorrect
paths in mans (haven't checked but it can be if `%{sysconfdir}` is used
there.)
The best approach is to introduce an optional switch
"--with-configdir=/etc/opensmtpd" which could be used to set opensmtpd
config directory.
---
wbr, Denis.