hi
perhaps u can add the following lines to ~/.procmailrc
LOGFILE=$MAILDIR/from
LOGABSTRACT=all
VERBOSE=yes
and then try looking at $MAILDIR/from. it'll give u a good idea what's
happening.
regards
omicron
On Tue, 20 Mar 2001, Rajesh Fowkar wrote:
> Hello Listers,
>
> I face a problem with procmail when the same mail is sent to two
> different users.
>
> Practically what is happening is this :
>
> One say Savita sends a mail to
>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> I am using fetchmail to fetch all the mails to rajesh's mailbox and then
> procmail filters. I am attaching my procmail with this mail.
>
> My problem is the above mail lands in santoshi's mailbox twice and I don't
> receive this mail. What am I doing wrong with procmail ?
>
> I am giving here headers of one of the messages which were sent to both of us.
>
> ------------------------------------------------------------------------
> From: [EMAIL PROTECTED]
> Date: Wed, 14 Mar 2001 09:33:09 +0530
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> ------------------------------------------------------------------------
>
> As you can see the message is sent to both [EMAIL PROTECTED] and
> [EMAIL PROTECTED] There is also possibility that the mail might be
> sent as
>
> To: rajesh cc : santoshi
> To: santoshi cc:rajesh
> cc: rajesh santoshi etc.
>
> How to counter all these possibilities in procmail ?
>
> I will be very thankful for any help.
>
>
> My /etc/procmailrc :
>
> -----------------------------------------------
> VERBOSE=OFF
> LOGFILE=/home/rajesh/proc.log
> MAILDIR=/home/rajesh/Mail
> SENDMAIL=/usr/sbin/sendmail
>
> # LIH
> :0:
> * (^To:.*|^cc:.*)linux-india-help
> $MAILDIR/Today_LIH
>
> #ilug-goa
> :0:
> * (^Reply-To:.*|^From:.*|^To:.*|^cc:.*)ilug-goa
> $MAILDIR/Today_ilug-goa
>
> #IceWM-user
> :0:
> * (^Reply-To:.*|^From:.*|^To:.*|^cc:.*)icewm-user
> $MAILDIR/Today_IceWM
>
> #santoshi
> :0:
> * (^To:.*|^cc:.*)[EMAIL PROTECTED]
> /var/spool/mail/deepa
> -----------------------------------------------
>
>
> Thanks in advance.
>
> Regards
>
>
>
--
******
omicron Mail:[EMAIL PROTECTED]
(Sridhar N) www:omicron.symonds.net
pubkeys:omicron.symonds.net/pubkeys
C O G I T O E R G O S U M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------
LIH is all for free speech. But it was created
for a purpose. Violations of the rules of
this list will result in stern action.