I'm trying to install a mail server with postfix, and follow the instructs from document "Virtual Mailhosting System with Postfix Guide". After config the postfix, I need to run /usr/bin/newaliases to create aliases.db, but I can not find the newaliases command. After I link aliases command to sendmail, everything works well. I think emerge forget to link newaliases to sendmail command.
we need the following. 1. emerge info 2. emerge postfix -vp 3. equery f postfix | grep newaliases
(In reply to comment #1) > we need the following. > 1. emerge info > 2. emerge postfix -vp > 3. equery f postfix | grep newaliases > emerge info:::::: --------------------------------------- Portage 2.0.53 (selinux/2005.1/x86, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-hardened-r3 i686) ================================================================= System uname: 2.6.14-hardened-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fstack-protector-all" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks loadpolicy sandbox selinux sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://mirror.averse.net/pub/gentoo http://mirror.averse.net/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 authdaemond bash-completion berkdb bzip2 cjk crypt cscope curl expat flash fontconfig gd gd-external gpm hardened hardenedphp iconv imap jpeg ldap libwww loadpolicy maildir mailwrapper mcal memlimit mhash ming mysql ncurses nls pam pcre perl pic png pop python readline sasl selinux ssl tcpd tiff truetype udev unicode utf8 vhost x86 xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY ------------------------------------------------------ emerge postfix -vp:::::: ------------------------------------------------------ These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] mail-mta/postfix-2.2.5 +hardened -ipv6 +ldap +mailwrapper -mbox +mysql -nis +pam -postgres +sasl +selinux +ssl -vda 0 kB Total size of downloads: 0 kB ------------------------------------------------------ equery f postfix | grep newaliases:::::: ------------------------------------------------------ /usr/share/doc/postfix-2.2.5/html/newaliases.1.html /usr/share/man/man1/newaliases-postfix.1.gz ------------------------------------------------------
I fixed this in postfix-2.2.8 and up. Thanks for the bug report. Best regards, Tuan Van