Subject: procmail

From: "Devil's Claw" <[email-masked]>
Date: Thu, 11 Apr 2002 11:36:01 +0200 (CEST)

Hi all,

I use pine, with fetchmail + procmail.

I have a problem, and I can't resolve it. I read howtos, and docs in intnet, but my problem continue.

I use TO in procmail and It duplicate my emails.

for ex:

:0
* ^TOusermail1
folder_usermail1

:0 
* ^TOusermail2
folder_usermail2

I fI recive an email that contains: To as a usermail1 and Cc or Bcc as a usermail2 I have to use 'c' flag If I want that the usermail2 recive the email.

If I use (or not) the 'c' flag, procmail dupñicate my emails, then the usermail1 have 2 emails and the usermail2 (when I use 'c' flag) recive 2 emails too.

This is the for 2 usermails, If I use N usermails with their TO each usermail recive N email (in the case of 'c' flag)

I don't know how to resolve this problem. Someone can help me?

I want:

	The user in To recive 1 mail, the user in Cc o Bcc recive its mail.

Thanks

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Nancy McGough <[email-masked]>
Date: Thu, 11 Apr 2002 11:13:42 +0100 (GMT Daylight Time)

On 11 Apr 2002 Devil's Claw ([email-masked]) wrote:
> I fI recive an email that contains: To as a usermail1 and Cc or
> Bcc as a usermail2 I have to use 'c' flag If I want that the
> usermail2 recive the email.
> [...]

First, read the links in the section of my Procmail Quick Start
called

  *Warning*: Procmail Can Not Reliably Sort Users' Messages in
  a Virtual Domain

which is here

 <http://www.ii.com/internet/robots/procmail/qs/#virtualDomain>

Then see if your ISP has set its MTA to insert a header that you
can filter on. Mine (Verio) uses Delivered-To.

HTH,
Nancy

PS - future questions about procmail should go to comp.mail.misc
or the Procmail mailing list.

-- 
Nancy McGough           <http://www.ii.com/>           Infinite Ink
--= Sent via Pine 4.44: IMAP, NNTP & ESMTP for Unix/Win/MacOS X =--