Difference between revisions of "Instalasi Dovecot"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Siapkan [[POP3]] & [[IMAP]] Server Dovecot
 
Siapkan [[POP3]] & [[IMAP]] Server Dovecot
  
  # apt-get install dovecot-common dovecot-imapd dovecot-pop3d
+
  apt -y install dovecot-core dovecot-imapd dovecot-pop3d
  
 +
Pada saat instalasi, masukan hostname anda, misalnya
  
Pada masa lalu, pastikan dovecot mendukung imap
+
webanda.id
 +
 
 +
pastikan dovecot mendukung imap
 +
 
 +
cd /etc/dovecot/conf.d/
 +
vi 10-master.conf
 +
 
 +
ada kalimat berikut & tidak di #
 +
 
 +
service imap-login {
 +
  inet_listener imap {
 +
  inet_listener imaps {
 +
service imap {
 +
 
 +
 
 +
Pastikan lokasi mail di /var/mail
 +
 
 +
cd /etc/dovecot/conf.d/
 +
vi 10-mail.conf
  
# vi /etc/dovecot/dovecot.conf
 
 
protocols = imap pop3
 
 
  mail_location = mbox:~/mail:INBOX=/var/mail/%u
 
  mail_location = mbox:~/mail:INBOX=/var/mail/%u
  
Untuk ubuntu versi 12.x ke atas tampaknya konfigurasi ada di file / folder
 
  
/etc/dovecot/
+
Pastikan owner & mod folder mail
  /etc/dovecot/dovecot.conf
+
 
  /etc/dovecot/conf.d/20-imap.conf
+
  chmod -Rf 777 /var/spool/mail
/etc/dovecot/conf.d/20-pop3.conf
+
  chmod -Rf root.mail /var/spool/mail
 +
 
  
 
Restart Dovecot
 
Restart Dovecot
  
  # /etc/init.d/dovecot restart
+
  service dovecot restart
 
 
  
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 +
* [[Dovecot: IPv6 Enable]]
 
* [[Instalasi Squirrelmail]]
 
* [[Instalasi Squirrelmail]]
 
* [[Instalasi Postfix]]
 
* [[Instalasi Postfix]]

Latest revision as of 18:54, 15 January 2021

Siapkan POP3 & IMAP Server Dovecot

apt -y install dovecot-core dovecot-imapd dovecot-pop3d

Pada saat instalasi, masukan hostname anda, misalnya

webanda.id

pastikan dovecot mendukung imap

cd /etc/dovecot/conf.d/
vi 10-master.conf

ada kalimat berikut & tidak di #

service imap-login {
  inet_listener imap {
  inet_listener imaps {
service imap {


Pastikan lokasi mail di /var/mail

cd /etc/dovecot/conf.d/
vi 10-mail.conf
mail_location = mbox:~/mail:INBOX=/var/mail/%u


Pastikan owner & mod folder mail

chmod -Rf 777 /var/spool/mail
chmod -Rf root.mail /var/spool/mail


Restart Dovecot

service dovecot restart


Pranala Menarik