Hajimu UMEMOTO <ume@...> wrote:
> addr 192.168.0.0/24 # http://localhost/
Fix in conf_lex.l:
> -regex "/"[^/\n]+"/"
> +regex "/"[^/#\n]+"/"
That makes illegal a # in the regex, something that might not be
desirable. Moreover comment at the end of the line are not really
supported. See greylist.conf(5):
NAME
greylist.conf - milter-greylist configuration file
DESCRIPTION
greylist.conf configures milter-greylist(8) operation. The format
is simple: each line contains a keyword and an optionnal
argument. Any line starting with a # is considered as a comment and
is ignored. Blank lines are ignored as well. Comments at the end of
are accepted in some situations, but do not take them as granted.
--
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@...Message
Re: [milter-greylist] pattern for regex and comment
2004-10-17 by manu@netbsd.org
Attachments
- No local attachments were found for this message.