Date: Mon, 14 Nov 2005 08:56:38 -0700 From: "Mark J. Sommer" <msommer@argotsoft.com> To: "'Greg Barniskis'" <nalists@scls.lib.wi.us> Cc: 'Hans Nieser' <hans@nieser.net>, freebsd-questions@freebsd.org Subject: RE: How to redirect mail sent to root to external mailbox? Message-ID: <200511141556.jAEFue6C064881@argotsoft.com> In-Reply-To: <4378A704.1010600@scls.lib.wi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Greg Barniskis [mailto:nalists@scls.lib.wi.us]
> Sent: Monday, November 14, 2005 8:02 AM
> To: Mark J. Sommer
> Cc: 'Hans Nieser'; freebsd-questions@freebsd.org
> Subject: Re: How to redirect mail sent to root to external mailbox?
>
> Mark J. Sommer wrote:
>
> >
> > This is really a sendmail question I believe. Your problem is
> > probably because root doesn't get masqueraded. In your
> sendmail.cf,
> > is there a line like the following:
> >
> > CEroot
> >
> > or
> >
> > C{E}root
> >
> > If so, comment it out and restart sendmail.
>
> That will work but the config will get overwritten on
> upgrades. It is best to override the defaults via the mc
> config generator, so that "CE root" doesn't appear in the first place.
Yeah, I looked all over /usr/share/sendmail to find that config, but I
couldn't. When I resolved this, I think I modified the template that the
macros start from to avoid having it re-written. I'd appreciate it if
anyone can pass on what macro it is that controls this.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511141556.jAEFue6C064881>
