[Exim] procmailrc

Top Page
Delete this message
Reply to this message
Author: Tommy Einarsson
Date:  
To: exim-users
Subject: [Exim] procmailrc
Hi,
I know that this is not an exim question, but it is somewhat related
though.

From my ISP-mailbox, I get all my mail to me@???. To the same
mailbox, all my domain mail (all@???) is routed.

I use fetchmail to grab the mail from the ISP and by using to To:
line, I sort my domain mail to the family. I.e:
tommy@??? --> user tommye
christina@??? --> user christina
etc...

The problem now is that mail from some mailing lists (hockey, school,
etc) has both my private mail and the mrs domain name in the To:
line.

My procmailrc looks like:
:0
* ^To:*ommy@???
tommye

:0
* ^To:*hristina@???
christina

:0
* ^To:*ommy.einarsson@???
tommye

The problem now is that in the To: line, both christina@???
and tommy.einarsson@??? appears. The result is that the two
mail that are sent, both are delivered to tommye.

Is there anything more specific to parse to find out to whome the
mail is sent to?

// Tommy