From owner-freebsd-questions Tue Feb 16 15:39:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id 6C19410EDB for ; Tue, 16 Feb 1999 15:39:23 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 3618 invoked by uid 1001); 16 Feb 1999 23:34:15 -0000 Message-ID: <19990216233415.3617.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Wed, 17 Feb 1999 09:34:15 +1000 From: Greg Black To: cjclark@home.com Cc: zach@bane.mi.org (Zach Smith), cckok00@stlinux.ouhk.edu.hk, questions@FreeBSD.ORG Subject: Re: mail setting References: <199902161641.LAA01425@cc942873-a.ewndsr1.nj.home.com> In-reply-to: <199902161641.LAA01425@cc942873-a.ewndsr1.nj.home.com> of Tue, 16 Feb 1999 11:41:32 EST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [snip perl script] > > > Make sure this is executable because it will need to be executed. > > Next, place this line in your .forward file: > > > > | /PATH_TO_THE_SCRIPT/mf.pl > > > > Where "PATH_TO_THE_SCRIPT" is where you put mf.pl > > How about just, > > % more .forward > | tee -a /var/mail/$USER | /usr/sbin/sendmail your_address@other.machine.org > > Or something like that? How about the standard way of doing this, which is *much* simpler than any of these bizarre schemes? For sendmail, the user's ~/.forward file contains the single line: \user, user@other.address For qmail, the user's ~/.qmail file contains (for standard mbox): /home/user/Mailbox user@other.address Or, for qmail using maildirs, it is: /home/user/Maildir/ user@other.address -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message