Hello all, According all the stuff in topic here and huge differences in approaches, I offer this simple schema:
1) "--sysconfdir=" should be perceived as the directory where `smtpd.conf` is located. It's how it works now, seems there are no changes in internal logic. By default, let it be `/etc/` or `/etc/opensmtpd` since the agreement that package is called "opensmtpd". Packagers certainly can change this parameter according their needs and expectations, but using `/etc/opensmtpd` is recommended for conformity. There are no changes in portable code for this stage. 2) Substitutions for aliases in `smtpd.conf` should be removed since it's hard to predict aliases location in each specific case. We can simply assign aliases path to `/etc/aliases` (I confess it would be ideal for Debian and Fedora/RHEL). Packagers can adjust this path in `smtpd.conf` according their needs. There is only alias substitution rule removal for this stage, so it shouldn't be a problem for developers. For packagers, this maybe adds more actions if new substitution doesn't meet target system requirements, but it's better than "substitution after substitution" for other packagers. I think it should be enough, more strong requirements only raise discussions on details caused existing differences and standards in various distros while I'm trying to find some general which could satisfy most of the parties involved. Although somebody could propose better solution here which would act well for all portable scope. --- wbr, Denis.
