It's not much less clunky, but as a newbie, I let root's mail go to the default 'user' == "nobody" and created an alias in .bashrc so that I could pull up mail for that user without much trouble. *shrug* It works.
--PC On Mon, 2003-02-03 at 15:24, Horst wrote: > I am used to sendmail, but mdk 9.0 defaulted to postfix, so I decided to > try it; i.e. I am asking a postfix-newbie question. > > I noticed in postfix's alias file that mail to root will be only delivered > to a regular user (see clips below) > The most transparent work-around I found > 1) creates a proxy user, e.g. 'rootx' . > 2) set that in 'aliases' > 3) point mail program's INBOX to /var/spool/mail/rootx > > Am I missing something? --how do others handle this less clunky ? > > - Horst > > ~~~~~~~ from the /etc/postfix/aliases ~~~~~~~~~ > ... > # For various security reasons, postfix WILL NOT deliver mail as root, so > # ensure that the root alias is aliased to a HUMAN user, as otherwise > # mail may get delivered to the $default_privs user (nobody). > ... > # Person who should get root's mail. This alias > # must exist. > ## default:: root: postfix > ## goes to nobody:: root: root > root: rootx > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > _______________________________________________ > Eug-LUG mailing list > [EMAIL PROTECTED] > http://mailman.efn.org/cgi-bin/listinfo/eug-lug -- P Casper <[EMAIL PROTECTED]> _______________________________________________ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
