I'm going to build an email system at home and I'm subscribed to a lot of mailing list. The emails fetched to my local machine by fetchmail and filtered by procmail. But, there is a situation which is not possible to solve with my current knowledge. I have been googling for 2-3 hours to find a solution without any result.
What I want is that, I get an email with multiple recipients and I would like to copy this email to different folders. Here is an example:
Cc: [email protected], [email protected]
I would like to put this email into linux-kernel and linux-kernel-janitors folder. How can I do it by procmail?
Thanks in advance!