[Exim] changing from procmail to exim

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Michael West
日付:  
To: exim-users
題目: [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.