Is there a way to forward and keep mail?

Paul John Falstad pfalstad at bow.Princeton.EDU
Sat Oct 20 00:25:17 AEST 1990


In article <epeterso.656267220 at houligan> epeterson at encore.com (Eric Peterson) writes:
>mbonner at oscar.UUCP (Matt Bonner) writes:
>This can be done quite easily if you're on a site that uses Sendmail,
>one of the most common mail transport agents in the Unix world.
>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 at host.domain"
>
>This will do exactly what you want -- save a copy of your incoming
>message to your normal incoming mailbox as well as send a copy of that
>mail to another account.

Call me stupid, but can't you just make your .forward:

\mbonner, other-acct at host.domain

?

I think even the \ may be superfluous.

--
Paul Falstad, pfalstad at phoenix.princeton.edu PLink:HYPNOS GEnie:P.FALSTAD
And Dinsdale said, "You've been a naughty boy, Clement," and splits me nostrils
open, and saws me leg off, and pulls me liver out.  And I said, "My name's not
Clement."  And then he loses his temper.  And he nails me head to the floor.



More information about the Comp.unix.questions mailing list