LaMont Jones -> Artem Chuprina @ Sun, 6 Feb 2005 13:20:52 -0700:
>> On fresh installation postfix _silently_ does not write alias for root.
>> That is, it installs with /etc/aliases like
LJ> If /etc/aliases exists at install time, then it is left untouched, since
LJ> the admin obviously has what he wants there. Your /etc/aliases is not
LJ> from a stock install of postfix, so it wouldn't have configured an alias
LJ> for root.
If installation script asks the question, it should ensure that the
answer is used, or at least warn if it does not. It does not need to
_replace_ /etc/aliases, but amend it with this info.
BTW, because exim4 is installed on system installation, this question in
debconf now seems to have no use. If I have no custom installer, when
postfix is installed, /etc/aliases already exists in any case. That is,
my answer to this question will not be used.
Maybe, most accurate solution is to try an existing alias (path to real
local user or remote address) for root, and ask to keep or change
/etc/aliases with default to "keep" if the alias is found and "change"
if not. And if the choice is "change", ask for alias and write it to
/etc/aliases (instead of existing alias for root, if any).
LJ> FWIW, the mail should be in /var/mail/nobody.
No, it should not :-) Because the MDA is procmail which is set up to
deliver to user's maildir. And it cannot create it in such a
misconfiguration.
--
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]