procmail
[Top] [All Lists]

Re: Delivering a copy of a message to anothers INBOX

2001-08-20 08:56:11
On 08/18/01 06:07 PM, Philip Guenther sat at the `puter and typed:
Louis LeBlanc 
<leblanc+procmail(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net> writes:
I am getting a weekly list message, with a predictable subject and the
same sender.  It is coming to my INBOX, but I would also like to pick
it out and deliver a duplicate to another users INBOX.  Should this be
done from /etc/procmailrc, or ~/.procmailrc?

If the message is coming to you, you should do it from your .procmailrc
file.  The /etc/procmailrc should in general only include recipes that
should be applied to every user's messages.


I am using Cyrus deliver to actually drop the message into the imap
INBOX, so I don't know if I can do it from ~/.procmailrc.

Just forward the message to them and let the MTA deal with it.  Don't try
to deliver directly to their INBOX.


Next, since I haven't picked up the finer points of recipe writing, I
really just don't know where to begin.

Read the procmailex(5) manpage.  You'll want a recipe that looks
something like:
              :0 c
              * ^Subject:.*whatever here
              ! theother(_at_)persons(_dot_)address(_dot_)here

So does this perform a 'forward' or a 'bounce'.  I have to admit I
don't understand all the implications of either, but I know the bounce
is 'cleaner' for lack of a better one word description.

Thanks for the help

Lou
-- 
Louis LeBlanc       leblanc(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net                 Ô¿Ô¬

Corollary:
  Following the rules will not get the job done.

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