Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55058 - /etc/mail/aliases should be specified in /etc/postfix/main.cf
Summary: /etc/mail/aliases should be specified in /etc/postfix/main.cf
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Virtual-mail HOWTO (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 10:54 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2004-06-24 11:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-24 10:54:11 UTC
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:
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-06-24 11:15:57 UTC
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.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-24 11:18:18 UTC
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.