Global Filters Whitelist/Black list can't use .domain?

Discussion in 'Server Operation' started by danf.1979, Jul 29, 2015.

  1. danf.1979

    danf.1979 ISPConfig Developer ISPConfig Developer


    With ISPConfig 2 I could use a file and enter:
    .domain REJECT
    to block all subdomains from spammer domains.

    Now in ISPConfig 3 this is not working as expected. If I enter .domain in any global whitelist or blacklist, and then try:
    postmap -q subdomain.domain mysql:/etc/postfix/
    It doesn't work.

    But if I do:
    postmap -q .domain mysql:/etc/postfix/
    It works. I get an "OK", but clearly this is not what I'm expecting, since it is matching the exact mysql query, but if I use a subdomain, doesn't match anymore.

    Is this a bug?

    I want to enter a domain in global filters and automatically include all subdomains. How to do this?

    Thank you in advance.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You enter the domain in ispconfig and not in a file as postfix reads them out of the mysql database. The syntax is the same.

Share This Page