Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] combining from and rcpt lists in one ACL

2016-09-08 by Johann Klasek

On Thu, Sep 08, 2016 at 09:15:56AM +0200, Marcus Schopen lists-yahoogroups@... [milter-greylist] wrote:
> On 2016-09-07 20:31, Marcus Schopen lists-yahoogroups@... 
> [milter-greylist] wrote:
> > as a test I'd like to block all mails from sender @... to my
> > recipient domains mydomain1.de and mydomain2.de. All other mails from
> > @... to other recipient domains should not be blocked. I
> > thought
> > I could combine two lists in one ACL, but this seems not to work:
> > 
> > list "SPAMSENDER" from { \
> > /.*@spammer\.com/ \
> > }
> > 
> > list "MYDOMAINS" rcpt { \
> > /*.@mydomain1\.de/ \
> > /*.@mydomain2\.de/ \
> > }
[..]

> Seems to work now. I forgot to enable extendedregex on my fresh set up 
> testing host. ;)

Beside this, I'm wondering if /*.@mydomain.... does really make any
sense either. Was /.*@mydomain meant? Incidentally it might work because "*" is
ignored in the regex?

Johann K.

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.