Yahoo Groups archive

Milter-greylist

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

Message

Re: Regex broken?

2005-03-01 by marlin099

--- In milter-greylist@yahoogroups.com, "marlin099" <marlin099@y...>
wrote:
> 
> --- In milter-greylist@yahoogroups.com, manu@n... wrote:
> > marlin099 <marlin099@y...> wrote:
> > 
> > > > > acl greplist rcpt /^andyb@*/
> > > > 
> > > > This should work. I use it at mine. Does it match andyb, randyb,
> both or
> > > > none?
> > > > 
> > > 
> > > I also work  with this system. I'm actually the andyb that he is
> > > talking about. 
> > > 
> > > When we put the ^ symbol in, it doesn't match anything.
> > 
> > Err... I realise it's not good, after all:
> > /^andyb@*/ might be better
> > 
> I think that was a typo, we did actually mean /^andyb@*/
> 
> -Andy

I think I figured this one out. /<andyb@.*>/ will match andyb@
anything, but not randyb@.* The string that these regex are trying to
match to has the <>'s with them, coming from sendmail. 

-Andy

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.