Hugo Monteiro wrote:
> Zhang Huangbin wrote:
>> Hi, all.
>>
>> Does blacklist_helo support wildcard in policyd-1.82?
>> if yes, what's the syntax for wildcard? use '%'?
>>
>> Thanks very much.
>>
>>   
>
> Hello Zhang,
>
>
> Policyd doesn't support wildcards on helo checking. I've had that same 
> need a while ago, and i've been able to use it with a small change in 
> the blacklist_helo.c file. I'm sending the patch in attachment, hoping 
> that the devel team can consider it for inclusion on upcoming releases.
>
> Regards,
>
> Hugo Monteiro.

Hi, Hugo.

I think the patch need enhanced:

Work:
    _helo -> '%.example.com'
    _helo -> 'helloworld.com.%'

Not work:
    _helo -> 'ppp-%.example.com'


Will you enhance it? I'm glad to help test your patch. :)


-- 
Best Regards.

Zhang Huangbin

- iRedMail: Mail Server Solution for Red Hat(R) Enterprise Linux & 
  CentOS 5.x: http://iRedMail.googlecode.com/

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to