[Exim] changing from procmail to exim

Góra strony
Delete this message
Reply to this message
Autor: Michael West
Data:  
Dla: exim-users
Temat: [Exim] changing from procmail to exim
In my procmailrc I send each mailing list to its own mailbox in $HOME/Mail/
without specifing what mailing lists I belong to.
Can you show me how to do this within exim?
I realize I can just call procmail from within exim, but would like to use exim's
features for it.

Here is the relevant part of my .procmailrc:

-----------------
:0:
* ^Sender: owner-\/[^@]+
`echo $MATCH | sed -e 's/[\/]/_/g'`

:0:
* ^X-BeenThere: \/[^@]+
`echo $MATCH | sed -e 's/[\/]/_/g'`

:0:
* ^Delivered-To: mailing list \/[^@]+
`echo $MATCH | sed -e 's/[\/]/_/g'`

:0:
* X-Mailing-List: <\/[^@]+
`echo $MATCH | sed -e 's/[\/]/_/g'`

:0:
* X-Loop: \/[^@]+
`echo $MATCH | sed -e 's/[\/]/_/g'`
-------------------

I got this idea from
http://www.linuxbrit.co.uk/procmail/
and it works great.