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

From Stephen Frost
Subject Re: Procmail recipe for new setup
Date
Msg-id 20171120223902.GW4628@tamriel.snowman.net
Whole thread Raw
In response to Re: Procmail recipe for new setup  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
Greetings Rich, all,

* Rich Shepard (rshepard@appl-ecosys.com) wrote:
> 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/.

Yes, this is a good recipe to use, particularly as we will be,
eventually, encouraging more use of the 'lists.postgresql.org'
subdomain in the future, and email is already being accepted for the
lists through it.

Thanks!

Stephen

pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Procmail recipe for new setup
Next
From: Steve Atkins
Date:
Subject: Re: To all who wish to unsubscribe