On Wednesday 28 Apr 2010, Nitesh Mistry wrote:
I have a POP mailbox hosted with a service provider from where I pull up my messages.
I want to set up email clients on two different machine each configured to pull different categories of messages (or rather from different set of senders). How can I create filters (using fetchmail?) such that each client gets only its respective category of messages and flush them while keeping the other messages intact?
Should be straightforward: Get all the mail to one procmail-enabled mailbox and then let procmail do the routing to the two systems, based on whatever criteria you need.
Going through fetchmail manpage while writing this.
Look at procmailrc and procmailex man pages.
If you need a detailed tutorial (or a complete solution), I'm available for my usual token fee.
Regards,
-- Raju