Re: Procmail recipe for new setup - Mailing list pgsql-general

From Rich Shepard
Subject Re: Procmail recipe for new setup
Date
Msg-id alpine.LNX.2.20.1711201414180.21783@salmo.appl-ecosys.com
Whole thread Raw
In response to Procmail recipe for new setup  (Steve Litt <slitt@troubleshooters.com>)
Responses Re: Procmail recipe for new setup  (Stephen Frost <sfrost@snowman.net>)
List pgsql-general
On Mon, 20 Nov 2017, Steve Litt wrote:

> The following procmail recipe works for me:
>
> ===========================================
> :0:
> * ^(To|Cc).*pgsql-general@postgresql.org
> .Postgres/
> ===========================================

Hi, Steve!
  Here's an alternative recipe:

:0:
* ^TO_.*pgsql-general@(lists\.)?postgresql.org
POSTGRES

The TO_(with no space after it) captures CCs too, and the regex (lists\.)?
says accept 0 (zero) or 1 (one) of the lists prefix. I use mbox not maildir
so POSTGRES is the name of the file in ~/mail/.

Regards,

Rich


pgsql-general by date:

Previous
From: Steve Litt
Date:
Subject: Procmail recipe for new setup
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Procmail recipe for new setup