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?
Thanks
MarcusMessage
combining from and rcpt lists in one ACL
2016-09-07 by Marcus Schopen
Attachments
- No local attachments were found for this message.