procmail
[Top] [All Lists]

Re: help with cc email delivery

2002-11-21 14:42:50
I use procmail to deliver email to local users.
[...]
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 the former recipe is listed first in your procmailrc file. Both
messages match the former recipe, ergo they both go to that address. The
second recipe is not evaluated because both messages match the first
recipe.

I think this question is addressed in the procmail FAQ here:

http://mirror.ncsa.uiuc.edu/procmail-faq/mini-faq.html#cc-many

This section of the FAQ also illustrates how procmail is not designed to
handle email for multiple users.

Regards,

Tyler


On Thu, 21 Nov 2002, 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:(_dot_)*grolon(_at_)homesoftware(_dot_)com(_dot_)py)|(^CC:(_dot_)*grolon(_at_)homesoftware(_dot_)com(_dot_)py)
  ! 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?

tia




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