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