procmail
[Top] [All Lists]

problems with procmailrc

2001-12-19 11:15:42
Hi.
I have a small project to do, where i have to write a procmail filter so
that when an email arrives to something(_at_)domain(_dot_)com it gets copied to
user1(_at_)domain(_dot_)com and then From filed has to be changed on the 
original
email and it has to be sent to user2(_at_)domain(_dot_)com (so user2 doesnt know
where the mail came from, but user1 does). I never touched procmail
before, and after few hours of digging through its (as well as regexp)
manuals, i wrote something that gets the job half way done. i wrote a
small filter to rewrite From field, and got the email to be copied to a
local file. But when i try to combine these two scripts into one, it
doesnt work. I keep on looking through docs, and im just a little tired
and despearate, so if you guys can point me into right direction, that
would rock. I have attached my half-assed procmail voodoo. dont flame
too hard.

max

Attachment: procmailrc.test
Description: Text document

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