<br><br><div class="gmail_quote">2010/11/25 Julian Field <span dir="ltr">&lt;<a href="mailto:MailScanner@ecs.soton.ac.uk">MailScanner@ecs.soton.ac.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
On 25/11/2010 14:47, Søren Dam wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
2010/11/25 Hugo van der Kooij &lt;<a href="mailto:hvdkooij@vanderkooij.org" target="_blank">hvdkooij@vanderkooij.org</a> &lt;mailto:<a href="mailto:hvdkooij@vanderkooij.org" target="_blank">hvdkooij@vanderkooij.org</a>&gt;&gt;<div class="im">
<br>
<br>
    On Wed, 24 Nov 2010 23:20:05 +0100, Søren Dam &lt;<a href="mailto:post@damschott.dk" target="_blank">post@damschott.dk</a><br></div><div class="im">
    &lt;mailto:<a href="mailto:post@damschott.dk" target="_blank">post@damschott.dk</a>&gt;&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    When I did that test you proposed, Mailscanner couldn&#39;t read the<br>
    rules file. Then I changed the file name from<br>
    &quot;Non.SpamAction.*Rules*&quot; to &quot;Non.SpamAction.*rules&quot; *That helped!<br>
    This is properly common knowledge if you read the Mailscanner<br>
    book, which i will buy now..;-)<br>
    /Soeren<br>
</blockquote>
<br>
    Sounds more like common unix knowledge. Things are case sensetive<br>
    untill proven otherwise.<br>
<br>
    Hugo.<br>
<br>
No..thats NOT common UNIX knowledge..<br>
I&#39;m fully aware of case sensitivity..<br>
I named the entry in the Mailscanner.conf the EXACT same way as the .rules file. But it does simply not work if you name a something.rules file something.Rules. Try it out!<br>
<br>
That is NOT normal i would say..<br>
</div></blockquote>
MailScanner uses a lot of heuristics to work out what you mean by what you put in the MailScanner.conf file. There is no defined syntax, it&#39;s just not that simple.<br>
<br>
If I had made it easy for me, all you guys would have to put explanatory things all over the place so my code could easily see what you meant.<br>
<br>
I made it easy for you, not for me; so the parser is very much heuristics-based, and so does tend to make a few assumptions to start with. And yes, one of those is that rules filenames end in &quot;.rules&quot; usually. It doesn&#39;t enforce that everywhere by any means, but it does make that assumption occasionally.<br>

<br>
I&#39;ll change the code to allow .Rules as well as .rules to keep you happy, that shouldn&#39;t break anything too major.<br>
<br>
Jules.<br>
<br></blockquote><div>Hey, You wrote some fantastic software here, and my users and me are grateful to use it. I worked for many years with Amavisd-new, and I think you are right, Mailscanner is easy and intutitive.  I just replied to the statement that I don&#39;t know my UNIX. A bit harsh when you, like me, have worked with UNIX professionally for 10 years. </div>
<div><br></div><div> /Soeren</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
    --     <a href="mailto:hvdkooij@vanderkooij.org" target="_blank">hvdkooij@vanderkooij.org</a>  &lt;mailto:<a href="mailto:hvdkooij@vanderkooij.org" target="_blank">hvdkooij@vanderkooij.org</a>&gt;    <a href="http://hugo.vanderkooij.org/" target="_blank">http://hugo.vanderkooij.org/</a><br>

    PGP/GPG  &lt;<a href="http://hugo.vanderkooij.org/PGP/GPG" target="_blank">http://hugo.vanderkooij.org/PGP/GPG</a>&gt;? Use:<a href="http://hugo.vanderkooij.org/0x58F19981.asc" target="_blank">http://hugo.vanderkooij.org/0x58F19981.asc</a><div class="im">
<br>
<br>
<br>
    --<br>
    This mail was scanned by BitDefender<br>
    For more information please visit<br>
    <a href="http://www.bitdefender.com/links/en/frams.html" target="_blank">http://www.bitdefender.com/links/en/frams.html</a><br>
<br>
    --<br>
    MailScanner mailing list<br>
    <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br></div>
    &lt;mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>&gt;<div class="im"><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>
<br>
<br>
</div></blockquote><div class="im">
<br>
Jules<br>
<br>
-- <br>
Julian Field MEng CITP CEng<br>
<a href="http://www.MailScanner.info" target="_blank">www.MailScanner.info</a><br>
Buy the MailScanner book at <a href="http://www.MailScanner.info/store" target="_blank">www.MailScanner.info/store</a><br>
<br>
Need help customising MailScanner?<br>
Contact me!<br>
Need help fixing or optimising your systems?<br>
Contact me!<br>
Need help getting you started solving new requirements from your boss?<br>
Contact me!<br>
<br>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br></div>
Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a> and <a href="http://twitter.com/MailScanner" target="_blank">twitter.com/MailScanner</a><div class="im"><br>
<br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
-- <br></div><div><div></div><div class="h5">
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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! </div></div></blockquote></div><br>