*BSD News Article 70291


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!swrinde!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!gol2!pinboard.com!kurt
Subject: sendmail screwup?
Newsgroups: comp.unix.bsd.freebsd.misc
From: kurt@pinboard.com
Date: Wed, 05 Jun 96 19:05:49 JST
Message-ID: <8389-264401402@pinboard.com>
Organization: PINBOARD - it's where you go for e-mail
Lines: 37


Hi!

I need all mail (also local) from two machines to be routed to a
mailserver and retrieve it via UUCP from there. After having a look into
sendmail, I made some changes to sendmail.cf, the same changes on both
machines. However, one of the machines gives me the following errors
when the nightly cleanup sends logfiles to root:

/etc/aliases: line 13: MAILER-DAEMON... cannot alias non-local names
/etc/aliases: line 14: postmaster... cannot alias non-local names
/etc/aliases: line 17: bin... cannot alias non-local names
/etc/aliases: line 18: daemon... cannot alias non-local names
/etc/aliases: line 19: games... cannot alias non-local names
/etc/aliases: line 20: ingres... cannot alias non-local names
/etc/aliases: line 21: nobody... cannot alias non-local names
/etc/aliases: line 22: system... cannot alias non-local names
/etc/aliases: line 23: toor... cannot alias non-local names
/etc/aliases: line 24: uucp... cannot alias non-local names

The other machine seems to work ok. I'd be glad if somebody could give
me a hint.

To the original sendmail.cf, after installing FreeBSD 2.1.0, I made the
following changes:

Cw:     added the machines name after localhost
DM:     added the domain to route mail to
Dq:     made a few changes, but that looks ok
OP:     uncommented Postmaster
S98:    added:
        R$~O    $@ $1 @ $M      user->user@do.main

Kurt

... Kurt@pinboard.com * 05 Jun 96 14:03:59 (JST) * http://www.pinboard.com