From owner-freebsd-questions Tue Mar 27 12:41:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 782FA37B719 for ; Tue, 27 Mar 2001 12:41:10 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 80485 invoked by uid 100); 27 Mar 2001 20:41:09 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15040.64229.305359.921406@guru.mired.org> Date: Tue, 27 Mar 2001 14:41:09 -0600 To: Peter Brezny Cc: questions@freebsd.org Subject: Re: system e-mail address. In-Reply-To: References: <15040.37823.469931.522418@guru.mired.org> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Brezny 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. 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. Thanks again. > > pb > > On Tue, 27 Mar 2001, Mike Meyer wrote: > > > Peter Brezny 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. > > > > > > > > On Mon, 26 Mar 2001, Mike Meyer wrote: > > > > > > > Peter Brezny 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 Meyer http://www.mired.org/home/mwm/ > > > > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > > > > > > > > > > > -- > > Mike Meyer http://www.mired.org/home/mwm/ > > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > > > -- Mike Meyer 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