Re: delivered to wrong maildir

Sam Varshavchik <[email protected]> Thu, 06 Aug 2015 22:52:20 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
[email protected] writes:

> The maildrop log has the following entry for a message delivered to
> $MAILREPOSITORY/list/xkb:
>
> Date: Thu Aug  6 21:36:30 2015
> From: =?utf-8?Q?Ligonier=20Ministries?= <[email protected]>
> Subj: [POSSIBLE SPAM]
> File: /home/rlh/mail/repository/list/xkb
> (16707)
>
> However, the only rule in ".mailfilter" which contains the string "xkb" is
> the following:
>
> if ( /^(To: xkb@listserv)||(From:.*xkb-subscribe)/ )
>    to $MAILREPOSITORY/list/xkb
>
> What is the cause of this mis-delivery?

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.

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

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJVxB1kAAoJEGs6Yr4nnb8l1E4QANAJxqp6PFfIb6a+gwwLojkc
Q8vAHq/qb1t9zTYJkIRmBytXTek15Cc15rS1uPlqhn8JDt07l9p8WfzRzxSJ20uh
vS+n4gEJ6ELlW0wsOqKHN5YutsCURllEy4S4zbLV4MhhUNqE4COEOw7D3dqc+keF
tWSPJKQoli5WDIOjlgujVJvYgSijaBleWjC+InUOnXvx4ZWnAFFvp5k49TgQTDfs
tnfEo9t62L+BQdGD5k8kjrBsIXf/hKLnN1cx/GtWBd7d+slceTEcReuDWs/lSzCN
j5mTsKmvgLfZEciFBQhmG2NQWqKbwXA3dvsO6krwSTdg4kJl+CQuMyRsv/WZCmjt
rigIsrrobCQSmfDxDv4aii+MeKB8e/tZlu5pnmsKPJhYMIfA28c/MWOk3juPfu6b
1ACulf59PAoDIWmkNSkgXHqjll8RfadTV182V1JGNX95b3+Hq4LljzzlZJzCzoVB
4i3NMWiAmc9OvbhNRM/qmwrtqSMtlPFnHAnyx3CRmguatvDh6fBCupqEFwmcrSlf
0EqIjU8i1GXlyptenu0jcPkF6MQypJUpDOKmUydWwbBgBj16A8NkqCuMt+09mUHf
Z7kUSsCN9/jM5rHjycEPSWcz1d2sYucCnXV/ID2YoEYkZ9h+F9vMgZI1jf8AJ8Hb
C5kZCIGuPUAQtQt03YoU
=xjQM
-----END PGP SIGNATURE-----