blacklist question
Ken Anderson (Pacific Internet)
ka at PACIFIC.NET
Thu Apr 1 22:14:09 IST 2004
Alas, the regex doesn't work with per user blacklists.
I suppose I could change CustomConfig.pm from this:
----------------------------------------
$from = $message->{from};
return 1 if $BlackWhite->{$to}{$from};
-----------------------------------------
to this:
----------------------------------------
if($message->{from} eq "") { $from="null_address" }
else{ $from = $message->{from}; }
return 1 if $BlackWhite->{$to}{$from};
-----------------------------------------
and then specify the keyword null_address for the blacklist?
Any smarter way to do this? :-)
Thanks,
Ken A
Ken Anderson (Pacific Internet) wrote:
> found it.
>
> From: /^$/
>
> Thanks!
> Ken
> Pacific.Net
>
>
> Ken Anderson (Pacific Internet) wrote:
>
>> I didn't see it. I'll take another look.
>> Thanks,
>> Ken
>>
>>
>> Kai Schaetzl wrote:
>>
>>> Ken Anderson (Pacific Internet) wrote on Thu, 1 Apr 2004
>>> 08:27:27
>>> -0800:
>>>
>>>
>>>> How do I match "from=<>" in a blacklist rule?
>>>> Will this work?
>>>> From: "" yes
>>>>
>>>
>>>
>>> Don't think so. Julian answered this some weeks back, have a look in the
>>> archive!
>>>
>>>
>>> Kai
>>>
>>
>>
>
>
More information about the MailScanner
mailing list