Have you tried the expression: /\.co\.ua>?$/ the ? after a character means it isn’t required Bill > On Oct 7, 2016, at 2:55 PM, Marcus Schopen lists-yahoogroups@... [milter-greylist] <milter-greylist@yahoogroups.com> wrote: > > Hi, > > I'd like to block all senders from .co.ua and bis.ua. A rule like this > > racl "BL_UKRAINIA" blacklist from /\.co\.ua$/ msg "Bad reputation - > sender addr <%f> listed on SPAM blacklist %a" flushaddr > > does not work, because of ending bracket ">" in sender addresses. This > works > > racl "BL_UKRAINIA" blacklist from /\.co\.ua>$/ msg "Bad reputation - > sender addr <%f> listed on SPAM blacklist %a" flushaddr > > but is there a way to block ending /co.ua$/ with or without ending > bracket? > > Thanks > Marcus > > >
Message
Re: [milter-greylist] acl regular expression: trailing brackets
2016-10-08 by Bill Levering