try this one:
:0 c
* ^TOusername
$HOME/public_html/admin/mail/username
:0
* ^TOusername
! me(_at_)anyone(_dot_)com
first you must copy the mail, then you can do all; i think so!
On 28 Oct 97 at 23:19, procmail(_at_)Informatik(_dot_)RWTH-Aach wrote:
Hi,
Is it possible to do the following in procmail:
Take incoming e-mail and forward it to an e-mail address while saving it in
the POP mailbox.
The same as above and copying it to a folder on the server.
:0
* ^TOusername
* !^FROM_DAEMON
! anotheruser(_at_)someotherdomain(_dot_)com
:0
* ^TOusername
$HOME/public_html/admin/mail/username
At present, only the first recipe is processed, and the mail is removed
from the POP mailbox. Can I make both work on the same message?
I've also put this recipe at the bottom:
:0
* ^TO.
! postmaster(_at_)somedomain(_dot_)com
This seems to clean out the POP mailbox no matter what comes in, so
anything which is not caught by the filters is sent off to postmaster. Is
there any way to keep this recipe while saving a copy of all incoming mail
to the POP mailbox?
Regards,
Arthur
Islanders E-mail List
http://www.ishk.org
---
ciao
Wernhard CH. Kempinger - Europe/Austria/Vienna
private Mail: wernhard(_at_)webcircus(_dot_)com
ICQ-UIN: 949453
developments: HTML, CGI, GFX, VB
home-domain: http://www.webcircus.com/