:) 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(_at_)mysite(_dot_)org
* ^To:.*joe(_at_)mysite(_dot_)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(_at_)lists(_dot_)rwth-aachen(_dot_)de
Procmail homepage:
http://www.procmail.org/
To unsubscribe send an email to
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de
____________________________________________________________
procmail mailing list -- procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
Procmail homepage: http://www.procmail.org/
To unsubscribe send an email to
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de