1

Topic: Question regarding Black / White Lists

==== Required information ====
- iRedMail version: 1.5.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian
- Related log if you're reporting an issue:
====
for example here:
https://demo.iredmail.org/iredadmin-pro … /blacklist

Q: How do I add entries including a description and a expired date?

Q: Can I add domain names with wildcards in the domain name for example: bad-domain%.com to cover domains names like bad-domain1.com, bad-domain2.com, bad-domain3.com ....

Thanks in advance.

2

Re: Question regarding Black / White Lists

BigJens wrote:

Q: How do I add entries including a description and a expired date?

No, sorry.

BigJens wrote:

Q: Can I add domain names with wildcards in the domain name for example: bad-domain%.com to cover domains names like bad-domain1.com, bad-domain2.com, bad-domain3.com ....

According to Policyd official doc (http://policyd.sourceforge.net/readme.html), yes you can. Quote below:

-> DNS name blacklisting


    INSERT INTO blacklist_dnsname (_blacklist,_description) \
      VALUES ('adsl-%.thisisp.com','# blacklist ADSL users of thisisp.com');
    INSERT INTO blacklist_dnsname (_blacklist,_description) \
      VALUES ('mail.spamtargeting.com','# blacklist only this mailserver');

    The forward and reverse DNS *must* match otherwise it will not work.
    If forward and reverse dns match, then the blacklisting can work.

3

Re: Question regarding Black / White Lists

Thanks!