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 Marcus Schopen

On 2016-09-07 20:31, Marcus Schopen lists-yahoogroups@... 
[milter-greylist] wrote:
> Hi,
> 
> 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/ \
> }
> 
> racl "TESTLIST" blacklist list "SPAMSENDER" list "MYDOMAINS" msg "Bad
> reputation - sender addr <%f> listed on SPAM blacklist %a" flushadd
> 
> This line works, but blocks @... sender addresses to _all_
> recipient domains on that host:
> 
> racl "TESTLIST" blacklist list "SPAMSENDER" msg "Bad reputation -
> sender
> addr <%f> listed on SPAM blacklist %a" flushadd
> 
> Any ideas?

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

Ciao
Marcus

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.