Re: [Exim] changing from procmail to exim

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael West
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] changing from procmail to exim
Yes, this works great for me.
Follow the link in my original post to see how to set up
Mutt to automatically know about new lists as well.

I will try your suggestion.

Let me know how it goes for you.

    ~Michael
On Tue, Sep 04, 2001 at 09:23:41AM +0100, Nigel Metheringham wrote:

> On Mon, 2001-09-03 at 22:18, Michael West wrote:
> > 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.
>
> [snipped]
> > :0:
> > * ^Sender: owner-\/[^@]+
> > `echo $MATCH | sed -e 's/[\/]/_/g'`
> [snipped]
>
> What a fascinating idea... although you are making part of the mail
> headers effectively executable although with some cleaning up... you
> need to be very careful you don't break things such that a carefully
> crafted message can write whether the author wishes...
>
> Maybe something on the lines of (for list-id & x-mailing-list):-
>
>    if $header_list-id: matches "<([a-z0-9-]+)\\\\." then
>     save Maildir/list.$1/
>    elif $header_x-mailing-list:  matches "([a-z0-9-]+)" then
>     save Maildir/list.$1/
> ....

>
> I might look at reducing the size of my filter by a factor of 100 or
> so...
>
>     Nigel.

>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##