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
--
------------------------------------------------------------------------------
Rajesh Fowkar [EMAIL PROTECTED]
Kurtarkar Nagari,Bldg-C,T4, http://rajesh.computers.webjump.com
Santacruz,Ponda-Goa-403401-INDIA Powered By : Debian GNU/Linux (Potato)
Kernel 2.4.1
"The expert at anything was once a beginner." -Hayes
------------------------------------------------------------------------------
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help