This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Email and Groupware / Re: Mail Server
« on: July 18, 2017, 10:13:01 am »
Hi,
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 main.cf add you own net to mynetworks. Example 127.0.0.1 192.168.1.0 Net
mynetworks = 127.0.0.0/8,192.168.1.0/24
3. Add in the main.cf
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
4. Create /etc/postfix/sender_canonical file
joe /etc/postfix/sender_canonical
Content
#Emailadresse lokal | Emailadresse beim Provider
user1@local.lan user1@gmx.de
user2@local.lan user2@web.de
5. Create Relayhostmap /etc/postfix/relaymaps
Content
#Emailadresse lokal | Servername des providers
user1@gmx.local.lan [mail.gmx.net]
user2@web.local.lan [smtp.web.de]
6. Create SASL Password /etc/postfix/sasl_passwd
mail.gmx.net benutzernameprovider:password1
smtp.web.de 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
Content
user@gmx.local.lan user@gmx.de
user@web.local.lan user@web.de
8. create Postmaps
postmap /etc/postfix/sender_canonical
postmap /etc/postfix/relaymaps
postmap /etc/postfix/sasl_passwd
postmap /etc/postfix/generic
9. if the main.cf contains inet_interfaces = loopback-only then comment out
#inet_interfaces = loopback-only
10. Postfix neustarten
service postfix restart
11. happy sending
Sincerely Bonkersdeluxe
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 main.cf add you own net to mynetworks. Example 127.0.0.1 192.168.1.0 Net
mynetworks = 127.0.0.0/8,192.168.1.0/24
3. Add in the main.cf
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
4. Create /etc/postfix/sender_canonical file
joe /etc/postfix/sender_canonical
Content
#Emailadresse lokal | Emailadresse beim Provider
user1@local.lan user1@gmx.de
user2@local.lan user2@web.de
5. Create Relayhostmap /etc/postfix/relaymaps
Content
#Emailadresse lokal | Servername des providers
user1@gmx.local.lan [mail.gmx.net]
user2@web.local.lan [smtp.web.de]
6. Create SASL Password /etc/postfix/sasl_passwd
mail.gmx.net benutzernameprovider:password1
smtp.web.de 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
Content
user@gmx.local.lan user@gmx.de
user@web.local.lan user@web.de
8. create Postmaps
postmap /etc/postfix/sender_canonical
postmap /etc/postfix/relaymaps
postmap /etc/postfix/sasl_passwd
postmap /etc/postfix/generic
9. if the main.cf contains inet_interfaces = loopback-only then comment out
#inet_interfaces = loopback-only
10. Postfix neustarten
service postfix restart
11. happy sending
Sincerely Bonkersdeluxe
2
Email and Groupware / Zentyal 5.0 Sogo on Port 80
« on: July 18, 2017, 09:49:49 am »
Hi,
We use an application thats use caldav, but this application can not connect to https. In the Apache config folder Site Enabled is 000-default.conf, which VirtualHost is listen on Port 80, but i can not connect SOGo to Port 80. Only 443 with https in webbrowser.
What is wrong?
Thank you!
Sincerely Bonkersdeluxe
We use an application thats use caldav, but this application can not connect to https. In the Apache config folder Site Enabled is 000-default.conf, which VirtualHost is listen on Port 80, but i can not connect SOGo to Port 80. Only 443 with https in webbrowser.
What is wrong?
Thank you!
Sincerely Bonkersdeluxe
Pages: [1]