Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 14:41:09 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Peter Brezny <peter@black.purplecat.net>
Cc:        questions@freebsd.org
Subject:   Re: system e-mail address.
Message-ID:  <15040.64229.305359.921406@guru.mired.org>
In-Reply-To: <Pine.BSF.4.05.10103271341240.7745-100000@black.purplecat.net>
References:  <15040.37823.469931.522418@guru.mired.org> <Pine.BSF.4.05.10103271341240.7745-100000@black.purplecat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Brezny <peter@black.purplecat.net> types:
> Mike,
> 
> Thanks again.
> 
> Unfortunately, I _do_ have a .qmail-root file with the address i want in
> it.
> 
> The problem seems to be that the system is sending to
> root@machine.domain.com

I'd try sending email on that machine to root, and see where it
goes. That will tell you whether it's periodic or the MTA.

	<mike

> Hum...
> 
> I'm also using vpopmail.  and If i create a virtual domain for
> machine.domain.com, then put in a .qmail file there, i'm ok, but it seems
> like it ought to work with just the /var/qmail/alias/.qmail-root file.
> 
> I may have the syntax wrong in there, i've just go the e-mail address.
> 
> do I need to put a '&' in front of it.

You shouldn't need to, but it wouldn't hurt.

	<mike

> Thanks again.
> 
> pb
> 
> On Tue, 27 Mar 2001, Mike Meyer wrote:
> 
> > Peter Brezny <peter@black.purplecat.net> types:
> > > Mike,
> > > 
> > > Thanks.
> > > 
> > > This will help.
> > > 
> > > I'm using qmail and I don't think it pays any attention to the alias file.
> > 
> > Yup, qmail normally doesn't pay any attention to the alias file. You
> > need to create /var/qmail/alias/.qmail-root and put the address to
> > send root mail there - at least, assuming you have the default qmail
> > install. If qmail isn't in /var/qmail, you'll need to use the alias
> > directory wherever you installed it.
> > 
> > 	<mike
> > 
> > > On Mon, 26 Mar 2001, Mike Meyer wrote:
> > > 
> > > > Peter Brezny <peter@black.purplecat.net> types:
> > > > > Is there a way to specify the system's default e-mail address (the one
> > > > > that the daily/weekly/monthly scripts send mail to)?
> > > > > 
> > > > > Instead of 
> > > > > 
> > > > > root@machine.domain
> > > > > 
> > > > > I'd rather change it to just 
> > > > > 
> > > > > root@domain.
> > > > 
> > > > That's not periodic, that's your MTA. Periodic just sends it to "root"
> > > > (by default, anyway - it's settable in /etc/periodic.conf; see
> > > > /etc/defaults/periodic.conf for more info).
> > > > 
> > > > Nick's suggestion of pointing root's mail to where you want it via
> > > > /etc/aliases (or whatever your MTA uses) is probably the best one.
> > > > 
> > > > 	<mike
> > > > --
> > > > Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
> > > > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
> > > > 
> > > 
> > > 
> > --
> > Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
> > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
> > 
> 
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15040.64229.305359.921406>