Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Regular expression in acl

2012-05-04 by manu@netbsd.org

Denis Solovyov <elk@...> wrote:

> Please explain to me if I need to use ^ and $ symbols to match the
> beginning and the end of the string in regexps in acls.

If you want to match boundaries, yes. For instance:
/whatever@example\.com$/

But note that ^.* here is useless and inefficient:
/^.*whatever@example\.com$/

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
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.