Op 2/19/2018 om 7:14 PM schreef IT: > > Hello, > > Im newbie at sieve. I have a nice script running on my boxes, > > and I have the following question: > > Using Sieve, > > is there a RULE to find out if String "MYTESTSTRING" > > is ANYWHERE inside the Email, or ANYWHERE inside the HEADER at least -- > > in order to trigger actions like "discard;" consequently ? >
I am seeing that question a lot lately. For the top-level message, the answer is unfortunately: no. You could hack something ugly using the extprograms plugin, but standard Sieve has no such capability. Regards, Stephan. > > Thank you so much in advance > > best Regards > > Florian > > > > > -- > > Mit freundlichen Grüßen / best regards > > Florian Bojack > > i...@u-eitner.de <mailto:i...@u-eitner.de> > > > > logoEitner > > U.Eitner > > Formenbau, Erodier-& Kunststofftechnik GmbH > > Benzstraße 7 > > D-64807 Dieburg > > > Geschäftsführer Ulrich und Lars Eitner > > Tel: +49 (0) 6071 23262 > > Fax: +49 (0) 6071 5562 > > Web: www.i...@u-eitner.de > > Der Inhalt dieser Email und etwaiger Anhänge ist vertraulich und > ausschließlich für den bezeichneten Adressaten bestimmt. > > Jede unbefugte Kenntnisnahme, Veröffentlichung,Vervielfältigung oder > Weitergabe ist unzulässig. > > Sollten Sie nicht der vorgesehene Empfänger sein, bitten wir Sie, sich > mit uns in Verbindung zu setzen und die Email zu löschen sowie alle > Kopien zu vernichten. > > This e-mail is intended solely for the addressee and may contain > confidential and/or privileged information. > > If you are not the intended recipient, please notify the sender > immediately and destroy this e-mail. > > In this case any form of reproduction, disclosure, distribution or any > action taken or refrained from in reliance on it, is strictly prohibited. >