Hoary Array 6: possible postfix configuration error? - mail.log

Rob Chanter robc at nudepenguins.org
Mon Mar 14 00:38:17 UTC 2005

On Thu, 2005-03-10 at 13:50 +0100, Herbert Straub wrote:
> Rob Chanter wrote:
> >Just running newaliases as root should fix it (or sudo newaliases). The
> >text file /etc/aliases needs to be built into a binary indexed
> >map /etc/aliases.db.
> >  
> >
> Thanks for the answer. You are right, if i do sudo newaliases, the error 
> is gone and the queues messags are delivered. I'm not sure, if this is a 
> failure with the installation, because the fresh installed system 
> contains a /etc/aliases file with:
> See man 5 aliases for format
> postmaster:    root
> # Added by installer for initial user
> root:   test
> But there is no aliases.db in /etc/... In the postinst procedure of the 
> postfix package, there is a part containing the newalises command. 

Yeah, you shouldn't have to run newaliases by hand for a fresh install.
It looks like the Ubuntu postinst script is basically unmodified from
Lamont Jones' Debian package.

Wietse's /etc/postfix/post-install is intended to be used by packages as
well as the source installation procedure. It doesn't run newaliases but
will throw a message reminding you to do so.

> I looked in previous Hoary Array 5 or 4 installed systems and there are 
> always the error messages in /var/log/mail.log.

Log a bug?

> If i remember correclty, then i does'nt have to do newaliases in the 
> Warty installation.

I don't know enough about debconf to know exactly what is different
between a fresh install and an upgrade. It would make sense, though, for
an upgrade to assume you have a working aliases map.


More information about the ubuntu-users mailing list