Re: delivered to wrong maildir

[email protected] Sat, 8 Aug 2015 02:53:08 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
On Thu, August 6, 2015 9:52 pm, Sam Varshavchik wrote:
> [email protected] writes:
...
>> if ( /^(To: xkb@listserv)||(From:.*xkb-subscribe)/ ) to
>> $MAILREPOSITORY/list/xkb
...
> Looks like you have two pipes between the parenthesized expressions,
> instead of 1. This is probably getting parsed as an empty string between
> two "or" pipes, which, in this context, would match any header.

I thank you for the diagnosis and explanation.  If I understand correctly,
the way to write the logical OR which I intended is:

if ( /^(To: xkb@listserv) || (From:.*xkb-subscribe)/ )

RLH



------------------------------------------------------------------------------