From owner-freebsd-questions Tue Feb 16 13:46:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from uucp2.msen.com (uucp2.msen.com [148.59.19.26]) by hub.freebsd.org (Postfix) with ESMTP id AB43E11032 for ; Tue, 16 Feb 1999 13:46:13 -0800 (PST) (envelope-from zach@bane.mi.org) Received: (from root@localhost) by uucp2.msen.com (8.8.8/8.7.3) with UUCP id QAA03716; Tue, 16 Feb 1999 16:30:08 -0500 (EST) Received: from bane.mi.org (zach@bane.mi.org [10.1.1.1]) by bane.mi.org (8.8.7/8.8.4) with SMTP id QAA12719; Tue, 16 Feb 1999 16:25:22 -0500 Date: Tue, 16 Feb 1999 16:25:22 -0500 (EST) From: Zach Smith To: cjclark@home.com Cc: cckok00@stlinux.ouhk.edu.hk, questions@FreeBSD.ORG Subject: Re: mail setting In-Reply-To: <199902161903.OAA01601@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was also just told that in newer versions of sendmail, you can have multiple e-mail addresses in your .forward file, including the email address that you are getting e-mail at. Sendmail is now smart enough to not send the mail in a loop. if you receive e-mail at user@domain.com you can have in your .forward: user@domain.com user@anotherdomain.com and it won't continue to foward it through. Zach Smith +-------------------+ | UNIX Nerd | | & | | Professional Geek | +-------------------+ zach@bane.mi.org On Tue, 16 Feb 1999, Crist J. Clark wrote: > Zach Smith wrote, > > I tried that but could not get it to work. I tried a number of > > combinations, but with no luck. Did you try that and get it to work? > > Yes. The following worked perfectly for me, > > % echo "| tee -a /var/mail/$USER | /sbin/sendmail diffacct@another.machine" > .forward > > Where the only change is the subsitution of a bogus forwarding > address. It seemed to work just fine. > -- > Crist J. Clark cjclark@home.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message