1

Topic: Dumb Question --- Where is blacklist and whitelist?

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04.1 LTS
- Related log if you're reporting an issue:
====

OK, this is annoying me.  From what I understand the table amavisd.wblist is related to a USERS white/blacklist right?  I may want to look into that in the future but for now I just want a general whitelist and blacklist.  Where do I add those?

Looking for a domain or global level.
So for example, how do i block everything from a ".rocks" domain?

I do not have Admin-Pro.

Thank you!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Dumb Question --- Where is blacklist and whitelist?

crowdstar wrote:

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04.1 LTS
- Related log if you're reporting an issue:
====

OK, this is annoying me.  From what I understand the table amavisd.wblist is related to a USERS white/blacklist right?  I may want to look into that in the future but for now I just want a general whitelist and blacklist.  Where do I add those?

Looking for a domain or global level.
So for example, how do i block everything from a ".rocks" domain?

I do not have Admin-Pro.

Thank you!

If you want to do this on a global level, you could do this from within postfix itself.  I had this same question about a week ago that I posted on the postfix mailing list.  Let me see if I can dig it up..

[...digs around his email archives for a bit...]

Ok this might help you some:

/etc/postfix/main.cf:

    smtpd_sender_restrictions =
        check_sender_access      pcre:/etc/postfix/sender_access


/etc/postfix/sender_access:

    /\.jp$/           REJECT Mail from .jp not accepted
    /\.ro$/           REJECT Mail from .ro not accepted
    /\.my$/           REJECT Mail from .my not accepted