If you don't set in /etc/postfix/main.cf the following line: alias_database = hash:/etc/mail/aliases When we run /usr/bin/newaliases, it tries to process /etc/aliases instead. This should be corrected in the guide. Reproducible: Always Steps to Reproduce:
what version of postfix are you using? All postfix-2.x.x set "alias_database = hash:/etc/mail/aliases" from the ebuild. snipset: "${D}/usr/sbin/postconf" -c "${D}/etc/postfix" -e \ "alias_maps=hash:/etc/mail/aliases" \ "alias_database=hash:/etc/mail/aliases" \ "local_destination_concurrency_limit=2" \ "default_destination_concurrency_limit=2" \ ${mypostconf} || die "postconf failed" Then no need to mention it.
postfix-2.1.1 My mistake, I re-emerged it and now the line is appended at the end of the config file. Perhaps I deleted it accidentally. RESOLVING INVALID.