Yahoo Groups archive

Milter-greylist

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

Thread

exactmatch patch

exactmatch patch

2005-02-17 by Andrew Garth Brook

All, I wrote the patch that reworks acl.c, configure.ac and config.h.in so that exact matches in your acl list can happen. This is a compile time option that

Re: [milter-greylist] exactmatch patch

2005-02-17 by manu@netbsd.org

Andrew Garth Brook <marlin099@...> wrote:

>   I wrote the patch that reworks acl.c, configure.ac
> and config.h.in so that exact matches in your acl list
> can happen. This is a compile time option that is
> actually now the default. You can turn on the old
> behaviour by passing --disable-exactmatch to
> configure. 
(snip) 
> Please let me know if you have any questions or
> comments. 

Instead of doing a build option, what about doing a run time option? An
exactmatch option in the config file is an easy shot and it will be
easier for people to decide what they want...

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Re: exactmatch patch

2005-02-17 by marlin099

--- In milter-greylist@yahoogroups.com, manu@n... wrote:
> Andrew Garth Brook <marlin099@y...> wrote:
> 
> >   I wrote the patch that reworks acl.c, configure.ac
> > and config.h.in so that exact matches in your acl list
> > can happen. This is a compile time option that is
> > actually now the default. You can turn on the old
> > behaviour by passing --disable-exactmatch to
> > configure. 
> (snip) 
> > Please let me know if you have any questions or
> > comments. 
> 
> Instead of doing a build option, what about doing a run time option? An
> exactmatch option in the config file is an easy shot and it will be
> easier for people to decide what they want...
> 

Just as a thought, wouldn't the regex be easier for a substring match
and non-regex be better for an exact match? 

-Andy

Re: [milter-greylist] Re: exactmatch patch

2005-02-17 by manu@netbsd.org

marlin099 <marlin099@...> wrote:

> Just as a thought, wouldn't the regex be easier for a substring match
> and non-regex be better for an exact match? 

The substring match was there before the regex match, that's why it
behaves that way. A runtime option to alter that would indeed be nice.

-- 
Emmanuel Dreyfus
Publicité subliminale: achetez ce livre!
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Re: [milter-greylist] Re: exactmatch patch

2005-02-25 by Andrew Garth Brook

Okay, Try out this patch. In the configuration, if the line is like setup like they are now, the current action happens. If you have a line like acl greylist

Re: [milter-greylist] Re: exactmatch patch

2005-02-25 by manu@netbsd.org

Andrew Garth Brook <marlin099@...> wrote:

> Okay, Try out this patch. In the configuration, if the
> line is like setup like they are now, the current
> action happens.

Thanks for the input.

I'll be AFK until march 8th. I'll check out your patch when I'll be
back.

-- 
Emmanuel Dreyfus
Un bouquin en français sur BSD:
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

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.