Rajesh Fowkar forced the electrons to say:
> 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.
You didn't attach your .fetchmailrc. Still...
What you want to do is probably easiest done by fetchmail. eg:
poll goatelecom.com user rfowkar pass whatever is rajesh here
poll india.com user santoshi pass whatever is santoshi here
(you get the idea) should work. Or let santoshi run his/her own fetchmail.
> #santoshi
> :0:
> * (^To:.*|^cc:.*)[EMAIL PROTECTED]
> /var/spool/mail/deepa
You are sending all mails which have santoshi in the To/Cc field to
/var/spool/mail/deepa, irrespective of whether they were also addressed
to [EMAIL PROTECTED] Therein lies your problem.
You can try
# Mails addressed to both of you
:0:
* (^TO)[EMAIL PROTECTED]
{
:0 c:
* (^TO)[EMAIL PROTECTED]
/var/spool/mail/rajesh
:0:
! deepa # This means forward to deepa@localhost
}
(Warning - 2:30 AM hack above, use with caution. I am not responsible).
Binand
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/