On 29/07/00 21:24 +0000, Dwivedi Ajay kumar spewed into the LI bitstream:

>       Tell me one thing. Aren't u using something like fetchmail to
> download the mails from goatelecom.com and mail.com . I don't understand
> how else u would try to use procmailrc on mails not intended for your pc.

Have you considered the fact that mail.com address may forward to the
goatelecom.com address?

>       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

>       If I am right u can use the fetchmail to that easily instead of
> using procmail.

Not when one of the accounts forwards to the other account.  Even in fetchmail
I would prefer using procmail -

user foo with password "bar" wants mda "sed -e '1s/^\t/Received:/'| formail | 
/usr/bin/procmail -d foo-localuser"

[one line above - split with a slash if you want that in multiple lines]

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Just about every computer on the market today runs Unix, except the Mac
(and nobody cares about it).
                -- Bill Joy 6/21/85

----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to