Non Spam actions problem

Jules Field MailScanner at ecs.soton.ac.uk
Thu Nov 25 21:52:36 GMT 2010



On 25/11/2010 16:48, Søren Dam wrote:
>
>
> 2010/11/25 Julian Field <MailScanner at ecs.soton.ac.uk 
> <mailto:MailScanner at ecs.soton.ac.uk>>
>
>
>
>     On 25/11/2010 14:47, Søren Dam wrote:
>
>
>
>         2010/11/25 Hugo van der Kooij <hvdkooij at vanderkooij.org
>         <mailto:hvdkooij at vanderkooij.org>
>         <mailto:hvdkooij at vanderkooij.org
>         <mailto:hvdkooij at vanderkooij.org>>>
>
>
>            On Wed, 24 Nov 2010 23:20:05 +0100, Søren Dam
>         <post at damschott.dk <mailto:post at damschott.dk>
>         <mailto:post at damschott.dk <mailto:post at damschott.dk>>> wrote:
>
>                When I did that test you proposed, Mailscanner couldn't
>             read the
>                rules file. Then I changed the file name from
>                "Non.SpamAction.*Rules*" to "Non.SpamAction.*rules"
>             *That helped!
>                This is properly common knowledge if you read the
>             Mailscanner
>                book, which i will buy now..;-)
>                /Soeren
>
>
>            Sounds more like common unix knowledge. Things are case
>         sensetive
>            untill proven otherwise.
>
>            Hugo.
>
>         No..thats NOT common UNIX knowledge..
>         I'm fully aware of case sensitivity..
>         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!
>
>         That is NOT normal i would say..
>
>     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's just not that simple.
>
>     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.
>
>     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
>     ".rules" usually. It doesn't enforce that everywhere by any means,
>     but it does make that assumption occasionally.
>
>     I'll change the code to allow .Rules as well as .rules to keep you
>     happy, that shouldn't break anything too major.
>
>     Jules.
>
> 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't know my UNIX. A bit harsh when 
> you, like me, have worked with UNIX professionally for 10 years.
A bit harsh, I agree. But everyone knows you have to take anything said 
by email with a pinch of salt; as we all know and appreciate, it isn't 
the best medium ever invented :-)

But then again, I don't think anyone has ever found an ideal one, or 
even possibly a "best" one! :)

Cheers,

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list