Re: Procmail recipe for new setup

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Procmail recipe for new setup
Date: 2017-11-20 22:18:06
Message-ID: alpine.LNX.2.20.1711201414180.21783@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 20 Nov 2017, Steve Litt wrote:

> The following procmail recipe works for me:
>
> ===========================================
> :0:
> * ^(To|Cc)(dot)*pgsql-general(at)postgresql(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2017-11-20 22:18:11 Re: Procmail recipe for new setup
Previous Message Steve Litt 2017-11-20 22:10:16 Procmail recipe for new setup