Rajesh Fowkar forced the electrons to say:
> Hi,
>
> If I receive a mail from one person and the mail is sent to both
> TO: [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> How to write a procmail receipe so that the mail goes at both the mailboxes
> /var/spool/mail/rajesh and /var/spool/mail/santosh
>
> Suresh can you help me ?
Does that mean you will reject my help? :-)
Not enough data - Are mails to both these addresses landing up in the same
mailbox? Then you will have to figure out the header that has the individual
information, and write a filter to use that header. If X-Foo: is the header
that says the mail was meant for Santosh or Rajesh, then your recipe will look
like:
:0:
* ^X-Foo:.*rajesh
/var/spool/mail/rajesh
:0:
* ^X-Foo:.*santosh
/var/spool/mail/santosh
Of course, both these userids should exist.
Binand
--
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])
----------------------------------------------------------------------
An alpha version of a web based tool to manage your
subscriptions with this majordomo2 server is available
at http://lists.linux-india.org/cgi-bin/mj_wwwusr