procmail
[Top] [All Lists]

Resending mail from one mailbox to multiple accounts

2001-04-10 06:17:59
Hello all;

        We have a company that we had to dump over 2000 messages for into
one mailbox. Now I they have setup their own server and we are looking for
a way to have the massages reset back to the new email server:

        I know that I can use formail to
 
formail -s procmail ./redirect.rc < test.mailbox

        But for the life of me cannot figure out what the redirect.rc
would be. I am thinking 

:0
*^TO_$USER(_at_)$DOMAIN
! $USER(_at_)$DOMAIN


where $USER and $DOMAIN are the variables gotten from the email
messages. Any idea how to capture and reuse that info. Thanks Alot in
advance for all your help.

Cheers
Tamer


_______________________________________________
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>