Zentyal Forum, Linux Small Business Server
Zentyal Server => Email and Groupware => Topic started by: zencos on May 09, 2017, 10:07:13 am
-
Hi,
we are using Zentyal 5.0 and we are facing a big problem: we create few mail virtual domains and we want to create few External Alias.
For example
virtualdomain: example.com
all mails to external alias: externaluser@example.com have to be forwarded to external.usermail@gmail.com.
According to the documentation this can be done in "Mail > Virtual Domains > External accounts aliases" but it doesn't work...
Looking in the LDAP tree with a ldapsearch there is no configuration about that alias.
Also postalias -q externaluser@example.com ldap:/etc/postfix/useraliases.cf or
postalias -q externaluser@example.com ldap:/etc/postfix/valiases.cf
doesn't return anything.
Are we missing something?
Thanks for your help
Cos
-
I have the same issue, for workarround i have donde this
1. sudo nano /etc/postfix/virtual
2. added the mail addresses to forward. ie test@mydomain.com pepe@hotmail.com
3. Save the file and edit the line virtual_alias_maps in /etc/postfix/main.cf. The original is:
virtual_alias_maps = ldap:valiases change it to virtual_alias_maps = hash:/etc/postfix/virtual, ldap:valiases
4. Run: sudo postmap /etc/postfix/virtual, then reload postfix: sudo postfix reload
Then i edit the /usr/share/zentyal/stubs/mail/main.cf.mas, BUT the changes wont stay betewn resets
-
We hope this is fixed without manual workarounds in the new zentyal-mail 5.0.6