Difference between revisions of "Dovecot: IPv6 Enable"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://efod.se/dovecot-postfix-ipv6/ Enabling IPv6 in Dovecot and Postfix I realized after some testing that neither Postfix (my MTA), nor Dovecot listened to IPv6...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
Enabling IPv6 in Dovecot and Postfix
 
I realized after some testing that neither Postfix (my MTA), nor Dovecot listened to IPv6 by default. In both cases, enabling IPv6 was easy.
 
  
(This is where I found out that my algorithm for getting parts of an entry and showing it on the front page doesn’t work that well.. so therefore, this text has been added, as it works as a workaround).
+
==Postfix==
  
Postfix
+
Default Postfix (MTA) tidak mendengarkan IPv6.
Set the inet_protocols parameter in /etc/postfix/main.cf:
+
Agar Postfix mendengarkan IPv6 dan IPv4, kita dapat mengubah parameter di/etc/postfix/main.cf agar,
  
 
  inet_protocols=all
 
  inet_protocols=all
  
The default value is ipv4.
+
Default value adalah ipv4.
  
Dovecot
+
==Dovecot==
Set the listen parameter in /etc/dovecot/dovecot.conf:
+
 
 +
Default Dovecot tidak mendengarkan IPv6.
 +
Agar default mendengarkan IPv6 dan IPv4, kita dapat mengubah parameter /etc/dovecot/dovecot.conf agar,
  
 
  listen=[::]
 
  listen=[::]
  
At least on Linux, this will make Dovecot listen to both IPv4 and IPv6. Setting the value of listen to *, will make it listen only to IPv4.
+
Minimal di Linux, ini akan menyebabkan Dovecot akan mendengarkan IPv4 dan IPv6.
 +
Default value *, hanya akan mendengarkan IPv4.
 +
 
 +
Alternatif lain,
 +
 
 +
listen = *, ::
 +
 
 +
Restart dovecot menggunakan,
 +
 
 +
sudo service dovecot restart
 +
 
 +
 
 +
 
 +
==Apache==
  
Apache
+
Server Apache dapat langsung mendeteksi IPv6 saat restart. Pada konfigurasi apache biasanya, default-nya
My apache server happily picked up the presence of an IPv6 interface after a restart. This is probably due to the fact that I have a the following in my Apache configuration:
 
  
 
  listen=*
 
  listen=*

Latest revision as of 11:06, 12 June 2020

Sumber: https://efod.se/dovecot-postfix-ipv6/


Postfix

Default Postfix (MTA) tidak mendengarkan IPv6. Agar Postfix mendengarkan IPv6 dan IPv4, kita dapat mengubah parameter di/etc/postfix/main.cf agar,

inet_protocols=all

Default value adalah ipv4.

Dovecot

Default Dovecot tidak mendengarkan IPv6. Agar default mendengarkan IPv6 dan IPv4, kita dapat mengubah parameter /etc/dovecot/dovecot.conf agar,

listen=[::]

Minimal di Linux, ini akan menyebabkan Dovecot akan mendengarkan IPv4 dan IPv6. Default value *, hanya akan mendengarkan IPv4.

Alternatif lain,

listen = *, ::

Restart dovecot menggunakan,

sudo service dovecot restart


Apache

Server Apache dapat langsung mendeteksi IPv6 saat restart. Pada konfigurasi apache biasanya, default-nya

listen=*



Referensi

Pranala Menarik