On Sun, Dec 18, 2011 at 12:48:44AM +0100, Pascal Volk wrote:
> No idea why the Postfix package creates /etc/aliases if the file doesn't
> exist. The postinst script probably should check `postconf -h alias_database`
> output. And it will hopefully do nothing if the output looks like
> `${indexed}aliases'.

Debian policy, see section 11.6 Mail transport, delivery and user agents:

...

/etc/aliases is the source file for the system mail aliases (e.g., postmaster,
usenet, etc.), it is the one which the sysadmin and postinst scripts may edit.
After /etc/aliases is edited the program or human editing it must call
newaliases. All MTA packages must come with a newaliases program, even if it
does nothing, but older MTA packages did not do this so programs should not
fail if newaliases cannot be found. Note that because of this, all MTA packages
must have Provides, Conflicts and Replaces: mail-transport-agent control
fields. 

...

lamont



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to