procmail
[Top] [All Lists]

Re: help with cc email delivery

2002-11-21 14:31:42
On Thu, 21-Nov-2002, at 12:41:04 -0700, Guido R. Rolon A. wrote:
Hi all,
I need a hand, like every body i think.
I use procmail to deliver email to local users.
My .procmailrc is

:0
* (^To:.* grolon(_at_)homesoftware(_dot_)com(_dot_)py)|(^CC:(_dot_)*grolon(_at_)homesoftware(_dot_)com(_dot_)py)

First off, check the man page to ^TO

 ! grolon

# the mail to root(_at_)mydom(_dot_)com will be forwarded to root ... as well postmaster!
 :0
 * 
(^To:(_dot_)*grolon(_at_)telesurf(_dot_)com(_dot_)py)|(^CC:(_dot_)*grolon(_at_)telesurf(_dot_)com(_dot_)py)
 ! grolon

If somebody sends an email to grolon(_at_)homesoftware(_dot_)com(_dot_)py and a carbon copy to grolon(_at_)telesurf(_dot_)com(_dot_)py, only the first user receives its > email.

Why is that?

Because that's what you told it to do.

"If the message contains grolon(_at_)homesoftware(_dot_)com(_dot_)py in the To or CC forward the message to the account 'grolon'."

that's it.  Once a message is delivered or deposited it's DONE.


--
There is NO Rule six!


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