Re: .forward file -- How do you retain a copy when forwaeding
Hi!
Dan Nguyen <nguyend7@cse.msu.edu> wrote:
> In article <372b651c.8091493@news.west.net> you wrote:
>
> > Basically I want to send a copy mail received by my work account to
> > my home account and not erase it on my work account.
>
> The simple solution is to use procmail. Though I don't know the exact
> things to put in your ~/.procmailrc file.
From
$ man procmailex
:
---begin---
[...]
Forward all mail from peter about compilers to william
(and keep a copy of it here in petcompil).
:0
* ^From.*peter
* ^Subject:.*compilers
{
:0 c
! william@somewhere.edu
:0
petcompil
}
An equivalent solution that accomplishes the same:
:0 c
* ^From.*peter
* ^Subject:.*compilers
! william@somewhere.edu
:0 A
petcompil
An equivalent, but slightly slower solution that accom-
plishes the same:
:0 c
* ^From.*peter
* ^Subject:.*compilers
! william@somewhere.edu
:0
* ^From.*peter
* ^Subject:.*compilers
petcompil
[...]
---end---
See you later.
--
Daniel González Gasull ("`-/")_.-'"``-._ "The hottest places in
mailto:gasull@altavista.net . . `; -._ )-;-,_`) Hell are reserved for
PGP RSA key 1024/EEA93A69 (v_,)' _ )`-.\ ``-' those who, in times of
_.- _..-_/ / ((.' fL moral crisis, preserved
((,.-' ((,/ their neutrality."
-- Dante
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply to: