Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] wildcards in addr clause?

2004-05-26 by manu@netbsd.org

Dan Hollis <goemon@...> wrote:

> Is it possible to add wildcard support in the addr clause?
> 
> E.g.
> 
> addr *.someisp.com

Yes, it is now possible to whitelist using DNS names. Use either
domain someisp.com
or
domain /.*\.someisp\.com$/

Depending what you want ("domain someisp.com" is a wide match: it will
catch any DNS name containing "someisp.com". The second syntax is a
regex. 

Of course, that needs version 1.3.4 that was released a few minutes ago.

-- 
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.