Author Topic: Mail Server  (Read 1379 times)


  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Mail Server
« on: July 12, 2017, 11:03:45 am »
hi friends
i want help regarding Zentyal Mail Server
i configured mail server and internally mail send received working fine but i want to send receive mail to public mail account like gmail, yahoomail how i do.i have registered on godaddy and my website working. for mail server what i do......


  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Mail Server
« Reply #1 on: July 18, 2017, 10:13:01 am »

I have a VM Server. One Zentyal and One a simple Postfix Linux Container.
In Zentyal
Configure under Email -> Allgemein (in english Genereic?) in the smarthost textfield  your Postfix-Server IP.
without username and password. The PostfixServer ist only ab intern relay. Not available from internet.

Here ist my Posftix tutorial

MTA configuration

0. install pakets
 apt-get install libsasl2-modules postfix       // postfix ssl tls verschlüsselung für smtp versand hinzufügen

1. In the Postfix main add rows
sender_canonical_maps = hash:/etc/postfix/sender_canonical
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/relaymaps
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_security_level = encrypt
smtp_generic_maps = hash:/etc/postfix/generic

2. Posftix as relayserver without authentication from own net
in add you own net to mynetworks. Example Net
   mynetworks =,
3. Add in the
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

4. Create /etc/postfix/sender_canonical file
  joe /etc/postfix/sender_canonical

    #Emailadresse lokal | Emailadresse beim Provider

5.  Create Relayhostmap /etc/postfix/relaymaps
    #Emailadresse lokal | Servername des providers
    user1@gmx.local.lan  []
    user2@web.local.lan  []

6. Create SASL Password /etc/postfix/sasl_passwd    benutzernameprovider:password1     benutzernameprovider:password2

7. the adresses user@gmx.local.lan and/or user@web.local.lan rewrite to real adress in generic map /etc/postfix/generic

8. create Postmaps
   postmap /etc/postfix/sender_canonical
   postmap /etc/postfix/relaymaps
   postmap /etc/postfix/sasl_passwd
   postmap /etc/postfix/generic

9. if the contains inet_interfaces = loopback-only then comment out
   #inet_interfaces = loopback-only

10. Postfix neustarten
   service postfix restart

11. happy sending

Sincerely Bonkersdeluxe


  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Mail Server
« Reply #2 on: July 19, 2017, 09:55:58 am »
thanks for reply
actually i just started this task so i am work as beginner. i apply configuration as per your suggestion but i did not get success. can u give me in detail information.