
:) Thanks - I had such a good laugh about these kittens... I did not know that space is not mandatory after ":0". ".*" would should not cross end of line, so maybe it is not so dangerous. I usually escape "." with "\." rather than "[.]", but "[.]" does look neat. Vlado On Tue, 17 Nov 2020, Ruud H.G. van Tol wrote:
On 2020-11-17 13:36, Vlado Keselj wrote:
Are you saying that something like
:0 * ^From:.*joe@mysite.org * ^To:.*joe@mysite.org spam
would not work?
Unanchored regexen kill kittens!
After some tweaks:
:0HD * ^From:[ ]+["][a-z\.\-]+@mysite[.]org"[ ]+[<] * some-other-condition(s) spam/
-- Ruud ____________________________________________________________ procmail mailing list -- procmail@lists.rwth-aachen.de Procmail homepage: http://www.procmail.org/ To unsubscribe send an email to procmail-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de