procmail
[Top] [All Lists]

EXACT .forward replacement?

2003-08-08 01:23:24
I have a mailserver(running postfix), I'd like it to .forward email
to my desktop (also running postfix).

So with a .forward, and I send a msg and I get:
desktop>cat .proc/mail.log:
...
From random(_at_)foo(_dot_)com Fri Aug  8 01:01:27 2003
 Subject: test
  Folder: /var/spool/mail/bill        

Perfect.  Now on my desktop I can easily do something like:
:0
* ^From(_dot_)*random(_at_)foo(_dot_)com
proc/random

So that works great.  Now if I want to replace .forward on the
server with a .procmailrc I tried (from the FAQ):
:0c
! bill(_at_)desktop(_dot_)math(_dot_)ucdavis(_dot_)edu

So now when I get a email:
From myusername(_at_)mymath(_dot_)mydomain(_dot_)edu Fri Aug  8 01:07:51 2003
 Subject: test
  Folder: /var/spool/mail/bill                                             2115

So I've lost the From header. 

Am I missing something?  I checked the archives, and various
FAQ's without finding a way to preserve the From header just
like .forward does.  

Ideas?

-- 
Bill Broadley
Mathematics
UC Davis

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>