NYCPHP Meetup

NYPHP.org

[nycphp-talk] Procmail recipe

Jon Britton jon at corporatelords.org
Tue Nov 5 09:05:24 EST 2002


On Tue, 2002-11-05 at 09:26, Robert Bala wrote:
> I'm trying to set up procmail recipe for talk at nyphp.org mailing list. I
> want to filter mail from above list and put it to different mailbox but
> my procmail is very subborn and all my attempts failed.
> 
> I was trying with somthing like this
> 
> * ^Reply-to:.*talk at nyphp.org
>   nyphp-mail
> * ^TOtalk at nyphp.org
>   nyphp-mail
> Does anyone have an idea how to do it?

Make life easy on yourself:

:0
* ^(List-Id: <|X-List-ID: |Sender: owner-|X-BeenThere: |Delivered-To:
mailing list |X-(Mailing-)?List: <|X-Loop: )\\/[^@/\\.~>]+
/home/username/Mail/$MATCH


Put all your mailing lists into a folder based on their relative name.

- Jon





More information about the talk mailing list