Author Topic: External alias  (Read 1186 times)


  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
External alias
« on: May 09, 2017, 10:07:13 am »

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
all mails to external alias: have to be forwarded to

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 ldap:/etc/postfix/ or
postalias -q ldap:/etc/postfix/
doesn't return anything.

Are we missing something?

Thanks for your help



  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: External alias
« Reply #1 on: May 26, 2017, 08:34:46 pm »
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
3. Save the file and edit the line virtual_alias_maps in /etc/postfix/ 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/, BUT the changes wont stay betewn resets

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
Re: External alias
« Reply #2 on: May 29, 2017, 07:08:45 pm »
We hope this is fixed without manual workarounds in the new zentyal-mail 5.0.6
Zentyal Server Lead Developer