Thank you for your hints!<br>Do you have a place to read about all this syntax and functions, so I can improve my knowledge about sieve and its possibilities<br><br>Best regards, Walter<br><br>P.S. By the way, is it possible to call a perl script paramtrized with the mail data?
<br><br><div><span class="gmail_quote">On 6/22/06, <b class="gmail_sendername">Kjetil Torgrim Homme</b> <<a href="mailto:kjetilho@ifi.uio.no">kjetilho@ifi.uio.no</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2006-06-22 at 10:59 +0200, Sylvain MEDEOT wrote:<br>> Here is what I am using...<br>><br>> if allof (address :contains ["From","FROM"] "<a href="http://extspec.de">extspec.de</a>") {
<br>> redirect "<a href="mailto:myuserlist@mylocaldmain.de">myuserlist@mylocaldmain.de</a>";<br>> }<br><br>just picking some Sieve nits, I hope you don't mind.<br><br>the header field name is case insensitive, so you don't have to specify
<br>both "From" and "FROM" -- all variants will be checked anyway. also,<br>allof is superfluous here since there is only one test. finally, in<br>this case I would prefer :matches for more exact matching,
e.g.,<br><br> From: Some One <<a href="mailto:nextspec.detritus@example.com">nextspec.detritus@example.com</a>><br><br>would return true for the above test. so I suggest:<br><br> if address :matches "From" "*@
<a href="http://extspec.de">extspec.de</a>" {<br> ...<br> }<br><br>--<br>Kjetil T.<br><br><br></blockquote></div><br><br clear="all"><br>-- <br>MfG<br><br>Walter Willmertinger<br>Auenstr. 22<br>82194 Groebenzell<br>