Jumat, 10 Februari 2012

Setting Mail dan Webmail Server

,
Setting Mail dan Webmail Server di Ubuntu 10.04


Setting Mail Server
  • Install postfix, dovecot-common, dovecot-imapd, dovecot-pop3d
$ sudo apt-get install postfix dovecot-common dovecot-imapd dovecot-pop3d
  • Edit Konfigurasi postfix
$ sudo dpkg-reconfigure postfix
  • Masukan data seperti berikut:

General type = Internet Site
Sistem mail name = mail.kelompok2.com
Root and postmaster = tkj02 (user anda)
Other destinations =mail.kelompok2.com, localhost.localdomain, localhost
Force Syncrhonous = No
Local networks =127.0.0.0/8 [::ffff:127.0.d0.0]/104 [::1]/128 192.168.1.0/24
Use Procmail = No
Mail box limit = 0
Local extension = +
Internet protocol = Ipv4
  • Edit file /etc/postfix/main.cf
$ sudo gedit /etc/postfix/main.cf
pada baris terakhir tambahkan “home_mailbox= Maildir/

  • Buat direktory mail
$sudo maildirmake /etc/skel/Maildir
  • Tambah user
$sudo adduser kelompok1
$sudo adduser kelompok2
  • Restart postfix, apache2, dovecot
# /etc/init.d/postfix restart
# /etc/init.d/apache2 restart
# /etc/init.d/dovecot restart
  • Mail server siap digunakan dengan telnet.
  • Coba test mail server dengan perintah telnet. Test mengirim => telnet 192.168.1.102 25
    mail from: kelompok1
    rcpt to: kelompok2
    data
    (ketikkan pesan anda diakhiri tanda titik)
    .
    quit


  • Test melihat email => telnet 192.168.1.102 110
user kelompok2
pass **** (password user anda)
list





Untuk lebih mudah mengakses mail, maka menggunakan Webmail Server



Setting Webmail Server
  • Install squirrelmail
$sudo apt-get install squirrelmail
  • Edit file /etc/apache2/apache2.conf
$sudo gedit /etc/apache2/apache2.conf
pada baris akhir tambahkan perintah “Include /etc/squirrelmail/apache.conf”

  • Edit file /etc/squirrelmail/apache.conf
pada baris paling bawah tambahkan perintah berikut ini:
DocumentRoot /usr/share/squirrelmail
ServerName mail.kelompok2.com



  • Restart paket apache2
# /etc/init.d/apache2 restart



1 komentar:

  • 1 Januari 2019 pukul 22.00
    john says:

    Blockchain is a notable name in Cryptocurrency advertise. Blockchain is pressed with incredible and accommodating highlights that contributed a ton to make it a triumph. With regards to innovation, you ought to envision issues with Timejacking Attacks issues. You can dial Blockchain Support Phone Number 1-800-665-6722 and specifically address Blockchain client benefit group. They have specialists with expert accreditations to determine all the wallet issues. They work day and night to give best outcomes to the clients by their administrations.

Posting Komentar