Yes. But, the line is incorrect - it needs to be the following:> -----Original Message-----
> From: [email]owner-freebsd-questionsfreebsd.org[/email]
> [mailto:owner-freebsd-questionsfreebsd.org]On Behalf Of Ian Moore
> Sent: Wednesday, February 16, 2005 2:10 AM
> To: Ted Mittelstaedt
> Cc: Ruben de Groot; [email]freebsd-questionsfreebsd.org[/email]
> Subject: Re: Sendmail masquerading configuration
> On Thu, 10 Feb 2005 22:14, Ted Mittelstaedt wrote:> the source,> > Ian Moore wrote:> > > On Wed, 9 Feb 2005 17:21, Ted Mittelstaedt wrote:
> > >> I would probably install src/usr.sbin/ and recompile cron to use
> > >> the -f flag. The flags are settible in cron/config.h in> /*-*/> > >> FreeBSD uses
> > >>
> > >> #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t">> > >>
> > >> just change this to
> > >>
> > >> #define MAILARGS "%s -FCronDaemon [email]-frootverizon.net[/email] -odi -oem -oi
> > >> -t" /*-*/
> > >>
> > >> Ted
> > >
> > > Thanks, I'll give that a go.
> Sorry, I'm still having trouble with this - my changes don't seem to
> have had any effect, cron is still sending mail as
> [email]rootinternal.hamcoll.sa.edu.au[/email] (Cron Daemon)
> I think I've done something wrong!
> What I did was:
> #cd /usr/src/usr.sbin/cron/cron
> #ee config.h:
> and I changed the line
> #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t"
> #define MAILARGS "%s [email]-Froothamcoll.sa.edu.au[/email] -odi -oem -oi
> -t" /*-*/
> (I assume the # at the beginning is correct?)
#define MAILARGS "%s -FCronDaemon [email]-froothamcoll.sa.edu.au[/email] -odi -oem -oi
See my earlier posting for this. "man sendmail" also will explain the
flags a bit as well.
The rest of the stuff is fine.