Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Re: [milter-greylist] acl regular expression: trailing brackets

2016-10-08 by Bill Levering

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
> 
> 
>

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.