Yahoo Groups archive

Milter-greylist

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

Thread

regular expressions in domain

regular expressions in domain

2005-12-15 by c.r.p.

The provided greylist.conf says
"
# It is possible to use regular expressions in domain, from
# and rcpt lines. The expression must be enclosed by
# slashes (/).
"

So , how come when I tried 
         acl whitelist rcpt nbrey/.*\.*/

the greylist spit out an error message and stopped using the rest
of the configuration file ?

Re: [milter-greylist] regular expressions in domain

2005-12-15 by Matt Kettler

c.r.p. wrote:
> The provided greylist.conf says
> "
> # It is possible to use regular expressions in domain, from
> # and rcpt lines. The expression must be enclosed by
> # slashes (/).
> "
> 
> So , how come when I tried 
>          acl whitelist rcpt nbrey/.*\.*/
> 
> the greylist spit out an error message and stopped using the rest
> of the configuration file ?

because you're mixing syntax. Use a regex or a string, not a mix of both.

Try:
acl whitelist rcpt /nbrey.*\.*/

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.