Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist-1.4

2004-06-12 by Dan Hollis

On Sat, 12 Jun 2004 manu@... wrote:
> Dan Hollis <goemon@...> wrote:
> > I guess you'd need multiple rcpt {} blocks for that. Unless you allowed
> > nesting:
> > 
> > rcpt john.doe@... {
> >       addr 192.0.2.0/24 {
> >               from friend@...
> >       }
> >       addr 10.0.0.1/8 {
> >               from otherfriend@...
> >       }
> >       report none
> > }
> > 
> > But this could get ugly.
> could? Is there something that makes you feel you have wrote something
> that is not ugly? ;)
> Seriously speaking, the nested stuff will be complicated to implement
> and complicated to understand, I'm not sure it's a good idea.

The alternative is this, which I think is ugly too:

rcpt john.doe@... {
      addr 192.0.2.0/24
      from friend@...
      report none
}

rcpt john.doe@... {
      addr 10.0.0.1/8 {
      from otherfriend@...
      report none
}

-Dan

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.