diff -urN sendmail/files/aliases sendmail.new/files/aliases --- sendmail/files/aliases Thu Jan 1 01:00:00 1970 +++ sendmail.new/files/aliases Sat Jun 29 15:48:18 2002 @@ -0,0 +1,56 @@ +# +# @(#)aliases 8.2 (Berkeley) 3/5/94 +# +# Aliases in this file will NOT be expanded in the header from +# Mail, but WILL be visible over networks or from /bin/mail. +# +# >>>>>>>>>> The program "newaliases" must be run after +# >> NOTE >> this file is updated for any changes to +# >>>>>>>>>> show through to sendmail. +# +# Basic system aliases -- these MUST be present. +mailer-daemon: postmaster +postmaster: root +# General redirections for pseudo accounts. +bin: root +daemon: root +adm: root +lp: root +sync: root +shutdown: root +halt: root +mail: root +news: root +uucp: root +operator: root +games: root +gopher: root +ftp: root +nobody: root +apache: root +named: root +xfs: root +gdm: root +mailnull: root +postgres: root +squid: root +rpcuser: root +rpc: root +ingres: root +system: root +toor: root +manager: root +dumper: root +abuse: root +newsadm: news +newsadmin: news +usenet: news +ftpadm: ftp +ftpadmin: ftp +ftp-adm: ftp +ftp-admin: ftp +webmaster: root +# trap decode to catch security attacks +decode: root +# Person who should get root's mail +#root: marc diff -urN sendmail/files/sendmail sendmail.new/files/sendmail --- sendmail/files/sendmail Wed Jun 12 21:22:12 2002 +++ sendmail.new/files/sendmail Mon Jul 1 13:09:15 2002 @@ -12,6 +12,7 @@ start() { ebegin "Starting sendmail" + /usr/bin/newaliases > /dev/null 2>&1 /usr/sbin/sendmail ${SENDMAIL_OPTS} > /dev/null 2>&1 eend $? } diff -urN sendmail/files/sendmail.mc sendmail.new/files/sendmail.mc --- sendmail/files/sendmail.mc Wed Jun 12 21:15:55 2002 +++ sendmail.new/files/sendmail.mc Mon Jul 1 13:14:10 2002 @@ -20,9 +20,11 @@ # divert(0)dnl +include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`sendmail.mc,v 1.1 2002/06/12 19:15:55 g2boojum Exp') OSTYPE(linux)dnl DOMAIN(generic)dnl +define(`ALIAS_FILE', `/etc/mail/aliases')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl MAILER(local)dnl diff -urN sendmail/sendmail-8.12.4-r2.ebuild sendmail.new/sendmail-8.12.4-r2.ebuild --- sendmail/sendmail-8.12.4-r2.ebuild Sat Jun 29 14:36:37 2002 +++ sendmail.new/sendmail-8.12.4-r2.ebuild Mon Jul 1 13:12:27 2002 @@ -146,7 +146,7 @@ newdoc cf/cf/README README.install-cf cp -a cf/* ${D}/usr/share/sendmail-cf insinto /etc/mail - doins ${FILESDIR}/{sendmail.cf,sendmail.mc} + doins ${FILESDIR}/{sendmail.cf,sendmail.mc,aliases} echo "# local-host-names - include all aliases for your machine here" \ > ${D}/etc/mail/local-host-names cat << EOF > ${D}/etc/mail/trusted-users