Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.questions Subject: Re: Is there a way to forward and keep mail? Message-ID: <27947:Oct1904:04:4490@kramden.acf.nyu.edu> Date: 19 Oct 90 04:04:44 GMT References: <303@oscar.UUCP> Organization: IR Lines: 18 In article epeterson@encore.com (Eric Peterson) writes: > Simply create a file called ".forward" in your home directory that > contains the following line (including the quotation marks): > "| tee /usr/spool/mail/mbonner | mail other-acct@host.domain" Don't do this! tee will overwrite the mailbox on every new piece of mail. tee -a is implemented incorrectly on some systems. And the mailbox format is probably not just one message after another. Much better is to have two lines: \mbonner other-acct@host.domain The \ turns off all alias interpretation and forces delivery straight to your mailbox. This is much more efficient than the above pipe, and it works. ---Dan