Re: naïve koi8-r regexp a bad idea

Nick Phillips nwp at nz.lemon-computing.com
Fri Oct 10 00:12:41 IST 2008


On 10/10/2008, at 10:54 AM, Ken A wrote:

> Alex Neuman van der Hans wrote:
>> There may be a milter. Google around and you'll probably find it -  
>> although it's generally not a good idea to filter by subject alone,  
>> only in very specific cases.
>> On Oct 9, 2008, at 3:47 AM, Mail Admin wrote:
>>> Is there such a thing in SendMail
>
> http://www.benzedrine.cx/milter-regex.html works nicely for things  
> like this if you absolutely never want mail with koi8-r in the  
> subject line:
>
> reject "no koi8-r allowed here"
> header /^Subject$/ /koi8-r/i
>
> (not tested)

Oops.


Cheers,


Nick


More information about the MailScanner mailing list