Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75361 - postfix wrong aliases default path (now /etc/aliases --> should be /etc/mail/aliases)
Summary: postfix wrong aliases default path (now /etc/aliases --> should be /etc/mail/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tuan Van (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 13:29 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-12-15 17:11 UTC (History)
1 user (show)

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


Attachments
fixed aliases path (postfix-2.1.5-aliases.patch,457 bytes, patch)
2004-12-22 13:29 UTC, Christian Zoffoli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2004-12-22 13:29:10 UTC
actually postfix has the aliases file in /etc/mail but the hardcoded default is /etc/aliases, I've fixed this behaviour with a little patch.

Now you can forget to add alias_database = hash:/etc/mail/aliases and alias_maps = hash:/etc/mail/aliases in main.cf

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.icd.hu/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/x86/desktop"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="X aac acl acpi acpi4linux aliaschain alsa altcolors amd apache2 apm aredmem
arts artswrappersuid atlas atm audiofile avi ba-completion berkdb bitmap-fonts
blas bonobo cdb cddb cdparanoia cdrom cjk clamav codecs crypt cups devfs26 dga
divx4linux djbfft dlz dv dvd dvdr dvdread edl encode ethereal evo extensions
faac faad fam fbcon festival ffmpeg fftw flac flood font-server foomaticdb
fortran freetts freetype frlargefiles gdbm gif gimp gimpprint glut gnokii gnome
gphoto2 gpm gps gs gsm gtk gtk2 gtkhtml guild ieee1394 imagemagick imlib2 innodb
ipv6 irda irmc jabber2 java jce jp2 jpeg jpeg2k kadu-modules kadu-voicekde
kerberos lcms ldirectord libwww lirc live lzo lzw lzw-tiff mad maildir maildrop
mailwrapper matroska mbrola mdb mew mha mikmod mime mimencode mmap mmx mng motif
mozcalendar mozdevelop mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msdav mythtv
ncursees ncurses network neural nls nntp ntlm nvidia oav odbc oggvorbis openal
opengl opens opie oss pam pcmcia pcre pda pdf pdfkit pdflib perl php png pnp
postgres ppds procmail pthreads pwdb python qmail qt quicktime quotesradeon
readline remote roundrobin samba sasl sdl silentdrop slp sms speex spel spell
ssl svg svga szip tcpd tga tiff tinydyndns transcode truetype type1 type1-fonts
unicode v4l v4l2 vda vhosts vim vim-with-x virus-scan wmf wsconvert xine
xinerama xinetd xml xml2 xmms xosd xpm xv xvid yv12 zaptel zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2004-12-22 13:29:39 UTC
Created attachment 46658 [details, diff]
fixed aliases path
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2005-05-02 20:04:19 UTC
this is fixed in postfix-2.2.x in portage, btw, just noticed while passing through...
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-12-15 17:11:55 UTC
postfix-2.2.5 i stable on most. close this bug then.