udah lama gk posting nih..
skg ada kesempatan mau posting mail server on ubuntu...
setelah login sebagai root
Install Postfix MTA (Mail Transfer Agent)
sudo apt-get install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules
Install dovecot
sudo apt-get install dovecot-imapd dovecot-pop3d dovecot-common
edit file dovecot.conf (akan di tambahkan sedikit configurasi di akhir step)
sudo gedit /etc/dovecot/dovecot.conf
edit
#protocols = imap imaps
protocols = imap imaps pop3 pop3s
cari "disable_plaintext_auth = no"
setelah itu di save..
lalu konfigurasi sasl aunthentication
sudo gedit /etc/postfix/main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
*tambahkan di paling akhir !!
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ubuntu2
smtpd_recipients_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_security_options = noanonymous
setelah itu save..
sudo gedit /etc/default/saslauthd
Start=yes
setelah itu save..
rm -r /var/run/saslauthd/
mkdir -p /var/spool/postfix/var/run/saslauthd /var/run
ln -s /var/spool/postfix/var/run/saslauth
chgrp sals /var/spool/postfix/var/run/saslauthd
adduser postfix sasl
masuk ke dovecot kembali, ada yang harus di edit kembali
sudo gedit /etc/dovecot/dovecot.conf
cari "auth default"
lalu isi diatas "auth default"
auth default2 {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
setelah itu di save
/etc/init.d/saslauthd restart
/etc/init.d/postfix restart
/etc/init.d/dovecot restart
setelah berjalan dengan baik
status setelah di restart [ok]
lakukan installasi squirrel mail
sudo apt-get install apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi squirrelmail
sudo gedit /etc/apache2/apache2.conf
Masukkan informasi dibawah ini :
Include /etc/squirrelmail/apache.conf
http://ip_anda/squirrelmail
:)
ya selamat mencoba..
insya allah berhasill .. :)
5.03.2010
Subscribe to:
Posts (Atom)