Hi Suresh,
Suresh Ramasubramanian saw fit to inform me that:
>On 29/07/00 21:24 +0000, Dwivedi Ajay kumar spewed into the LI bitstream:
>
>> and Do u want only those mails which are sent to both the
>> addresses only to be stored in /var/sp..../rajesh and /var/...../santosh
>> or all the mails sent to santoshfow...@.... in /var/sp.../santosh??
>
>As far as I read what Rajesh wants - he wants a mail sent to both rajeshfowkar
>and santoshfowkar (cc'd to both) to be stored in both /var/spool/mail/santosh
>and /var/spool/mail/rajesh
Correct. This is what I want to happen. For that I wrote the following receipe :
<SNIP>
:0:
* (^TO_:.*)[EMAIL PROTECTED] [EMAIL PROTECTED]
{
:0c:
! [EMAIL PROTECTED]
:0:
/var/spool/mail/santosh
}
<SNIP>
But this still lands the mail sent say :
TO : [EMAIL PROTECTED], [EMAIL PROTECTED]
in /var/spool/mail/santosh.
This mail is received by santosh twice and rajesh's mailbox do not receive this mail.
What can I do ?
Here I have to consider another thing. The mail may be sent TO : or CC :
How to take care of both these conditions in procmail.
Any help ?
Regards
--
Rajesh(ALIAS Shriram) Fowkar
--------------------------------------------------------------------------------
How I Configured my SiS6215 Card ?Visit:http://rajesh.computers.webjump.com/linux.html
Web Site : http://rajesh.computers.webjump.com/ Email :[EMAIL PROTECTED]
Address : KURTARKAR NAGARI, BLDG-C, FLAT NO. T4, THIRD FLOOR, SHANTINAGAR,
PONDA - GOA. (INDIA) PHONE : (0832)315932
Do not dwell in the past, do not dream of the future, concentrate the mind
on the present moment. - Buddha
Scandisk is now checking your hard disk. You can start praying. - Anon. :-)
---------------------------------------------------------------------------------
----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH