Topic: Send email from alias address
======== Required information ====
- iRedMail version: 0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Sending emails as another sender than sasl authentricated is not allowed. As read a few times in this forum it might be good to allow sending from known aliases. Is this implemented in iRedMail Pro?
If not how about this solution from another user posted:
vi /etc/postfix/mysql/sender_login_maps.cf
query = SELECT mailbox.username FROM mailbox,domain WHERE mailbox.username='%s' AND mailbox.domain='%d' AND mailbox.domain=domain.domain AND mailbox.enablesmtp=1 AND mailbox.active=1 AND domain.backupmx=0 AND domain.active=1
UNION
SELECT goto as username FROM alias WHERE alias.address='%s' and alias.domain='%d' and alias.active=1
Is this an acceptable solution? It seems to work here.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.