On 26/10/2013 03:20, Denis Fateyev wrote:
> On Sat, Oct 26, 2013 at 6:43 AM, Sébastien Luttringer <[email protected]
> Got it, now I understand what you're talking about. You can name it
> `package configuration directory` or `global system one`, because now
> they are the same in the package configure logic. They should be divided
> in some way, that's my point. The fact is: now "smtpd.conf" contains
> wrong substitution for `/etc/aliases` because it assumes that the same
> directory. We put `/etc/opensmtpd` in %{sysconfdir} - we got
> `/etc/opensmtpd/aliases` in the default config which is wrong.
Nothing wrong with this substitution. opensmtpd alias config file should
be inside opensmtpd configuration directory. Once again, it's not a
system wide configuration file.

In archlinux, postfix uses /etc/postfix/aliases, exim use
/etc/mail/aliases. If you want an aliases file in /etc, all the code
handling this will (creation, conflict between package, path fixes)
should be in your distribution, not in the upstream package.

If I put my opensmtpd configuration in /config/opensmtpd, I don't expect
./configure try to write something in /etc!

If you have kind of legacy to handle, maybe a symlink can help you.

-- 
Sébastien "Seblu" Luttringer
https://www.seblu.net
GPG: 0x2072D77A

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to