Topic: accesspolicy and aliased domains
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 14.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
In the database table vmail.alias_domain I have an "alias.com" domain that's an alias of "domain.com".
In the database table vmail.alias I have a list name with the following data:
- address: list@domain.com
- goto: comma-separated list of recipients
- accesspolicy: domain
- domain: domain.com
Accordingly to the "accesspolicy" field, only the domain accounts should be able to send emails to list@domain.com.
The access policy is taken in account in case external senders try to send an email to list@domain.com (the email delivery is refused).
BTW, if an external sender sends an email to list@alias.com, the email gets delivered (the access policy is not taken in account).
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.