[Mimedefang] and statement for probable spam Not working ??

alan premselaar alien at 12inch.com
Tue May 20 22:18:00 EDT 2003


try :

if ( ($hits <= $req) && ($hits >= 0) ) {
    md_log('probable_spam',$hits, $RelayAddr);
}


HTH

alan

On 5/21/03 7:48 AM, "troy lebouef" <troy at lebouef.com> wrote:

> I dont understand why this is not working ...
> 
> When I put this entry in mimedefang compiles but data input to the log
> for probable spam goes to zero.
> 
>    if ($hits <= $req and $hits >= 0) {
>               md_log('probable_spam', $hits, $RelayAddr);
>               }
> 
> It only works like this :
>   
>   if ($hits <= $req ) {
>               md_log('probable_spam', $hits, $RelayAddr);
>               }
> 
> Any ideas ?? 
> 
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 




More information about the MIMEDefang mailing list