I can also confirm that it should be able to work like you are trying.<br>My configuration for High spam action is:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
FromOrTo: *@*.<a href="http://api.domain.nl">api.domain.nl</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>FromOrTo: *@<a href="http://domain.org">domain.org</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>
FromOrTo: *@<a href="http://domain.nl">domain.nl</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>FromOrTo: *@<a href="http://domain.eu">domain.eu</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>
FromOrTo: *@<a href="http://domain.info">domain.info</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>FromOrTo: *@<a href="http://domain.nl">domain.nl</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>
FromOrTo: *@<a href="http://domain.nl">domain.nl</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>FromOrTo: *@<a href="http://domain.com">domain.com</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>
FromOrTo: *@<a href="http://domain.nl">domain.nl</a> store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br># Localhost<br>From: 127. store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br>
<br># Some customer<br>From: 89.123.123.123 store-spam deliver header "X-CompanyName-Spam-Status: Yes"<br><br>FromOrTo: default store-spam delete<br></blockquote><br><i>grep syntax /var/log/mail.log</i> doesn't give any results so I clearly don't suffer from a syntax error.<br>
<br>The documentation Andrew links to in his E-mail clearly states that the last part of a rule consists of "<span class="n">Result</span> <span class="n">value</span> <span class="p">(</span><span class="ow">or</span> <b><span class="nb">values</span></b><span class="p">)</span>". The linked Regex also matches the rules provided. I have not looked at the further processing of the values but I can see from the logs that the actions are correctly parsed and applied.<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Sep 21 09:36:56 giselle MailScanner[10385]: Spam Actions: message 64747978.A51A5 actions are delete,store-spam<br>
Sep 21 09:37:39 giselle MailScanner[11496]: Spam Actions: message 57AED15A6.AAE13 actions are deliver,header,store-spam<br></blockquote><br><br><div class="gmail_quote">On 21 September 2012 08:27, John Wilcock <span dir="ltr"><<a href="mailto:john@tradoc.fr" target="_blank">john@tradoc.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 21/09/2012 06:05, Andrew Colin Kissa a écrit :<br>
<div class="im">> I think you failed to understand what am saying here, when used within a configuration file it is fine, but NOT<br>
> when used in a rule set. Please refer to the links i posted earlier to clarify.<br>
<br>
</div>It definitely does work within a rule set - try it! For that matter,<br>
tabs can be used as whitespace, too (except in filename and filetype<br>
rules IIRC).<br>
<br>
I have a Spam Actions ruleset that looks like this, for example:<br>
<br>
From: <a href="http://exception1.example.net" target="_blank">exception1.example.net</a> store bounce<br>
From: <a href="http://exception2.example.net" target="_blank">exception2.example.net</a> store bounce<br>
FromOrTo: default store deliver header "X-Spam-Flag: YES"<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
John.<br>
<br>
--<br>
-- Over 5000 webcams from ski resorts around the world - <a href="http://www.snoweye.com" target="_blank">www.snoweye.com</a><br>
-- Translate your technical documents and web pages - <a href="http://www.tradoc.fr" target="_blank">www.tradoc.fr</a><br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>