Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 1999 09:34:15 +1000
From:      Greg Black <gjb@comkey.com.au>
To:        cjclark@home.com
Cc:        zach@bane.mi.org (Zach Smith), cckok00@stlinux.ouhk.edu.hk, questions@FreeBSD.ORG
Subject:   Re: mail setting 
Message-ID:  <19990216233415.3617.qmail@alpha.comkey.com.au>
In-Reply-To: <199902161641.LAA01425@cc942873-a.ewndsr1.nj.home.com>  of Tue, 16 Feb 1999 11:41:32 EST
References:  <199902161641.LAA01425@cc942873-a.ewndsr1.nj.home.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> [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 <gjb@acm.org>



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?19990216233415.3617.qmail>