Portal Net

  • BISNIS ONLINE
  • KOMPUTER
  • PAKAIAN ADAT PERNIKAHAN
  • RESEP MASAKAN
  • SMART PHONE
  • KESEHATAN
Beranda » Fedora » Jaringan » LINUX » Mail Server » Server » Konfigurasi Mail Server di Fedora 7 / Setting Mail Server di Fedora 7

Konfigurasi Mail Server di Fedora 7 / Setting Mail Server di Fedora 7

Konfigurasi Mail Server di Fedora 7 / Setting Mail Server di Fedora 7
 
Untuk tampilan mail saya menggunakan squirrelmail.
Silahkan Anda download :
Download Squirrelmail-1.4.19.tar.gz
Tidak perlu basa-basi berikut langkah-langkahnya :
1. Install Fedora telebih dahulu atau klik disini.
2. Buat DNS atau klik disini.
Pada zona forward tambahkan script dibawah :



mail    A                     192.168.21.1

        IN MX 10           mail.zainul.com.


3. Restart named

#service named restart

Stopping named:                                            [  OK  ]

Starting named:                                            [  OK  ]



4. Cek subdomain mail :

# nslookup

> mail.zainul.com

Server:         192.168.21.1

Address:        192.168.21.1#53



Name:   mail.zainul.com

Address: 192.168.21.1

> exit



5. Install paket dovecot dan postfix

Sebelumnya setting yum terlebih dahulu atau klik disini.

#yum -y install dovecot

#yum -y install postfix

6. Setting postfix :
#vi /etc/postfix/main.cf
Edit atau tambahkan dengan tekan INSERT seperti di bawah :



myhostname = zainul.zainul.com (localhost.domain anda)



mydomain = zainul.com  (domain anda)



myorigin = $mydomain



inet_interfaces = all

#inet_interfaces = $myhostname

#inet_interfaces = $myhostname, localhost

#inet_interfaces = localhost



#mydestination = $myhostname, localhost.$mydomain, localhost

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,

#       mail.$mydomain, www.$mydomain, ftp.$mydomain



mynetworks_style = subnet


mynetworks = 192.168.21.0/24 (Ip anda / subnet mask), 127.0.0.0/8


Kemudian simpan dengan tekan tombol ESC ketik :wq Enter.

7. Setting dovecot :
# vim /etc/dovecot.conf

Hilangkan tanda pagar pada :

protocols = imap imaps pop3 pop3s


Kemudian simpan dengan tekan tombol ESC ketik :wq Enter.



8. Biasanya sudah terinstall sendmail matikan sendmail terlebih dahulu dengan perintah :

#service sendmail stop

Shutting down sm-client:                                   [  OK  ]

Shutting down sendmail:                                    [  OK  ]



9. Restart dovecot :

#service dovecot restart

Stopping Dovecot Imap:                                     [  OK  ]

Starting Dovecot Imap:                                     [  OK  ]



10. Restart Postfix :

#service postfix restart

Shutting down postfix:                                     [  OK  ]

Starting postfix:                                          [  OK  ]



11. Buat User :

#useradd -m arema

#passwd arema

New UNIX password:

Retype new UNIX password:



Untuk membuat lagi user ikuti langkah di atas karena kalau mail harus memiliki minimal 2 user untuk mengecheck apakah berhasil atau tidaknya.



12. Cek mengirim email :

#telnet mail.zainul.com 25   (mengirim email)

Trying ::1...

Connected to mail.zainul.com.

Escape character is '^]'.

220 zainul.zainul.com ESMTP Postfix

mail from: zainul      (mail dari user)

250 2.1.0 Ok

rcpt to: arema          (user yang menerima email)

250 2.1.5 Ok

data   (data yang dikirim)

354 End data with .
Salam Satu Jiwa   (isi data yang dikirim)
.
250 2.0.0 Ok: queued as C1FCD50072
quit   (keluar dari telnet 25)
221 2.0.0 Bye
Connection closed by foreign host.

13. Cek email ditrima atau tidak :
#telnet mail.zainul.com 110
Trying ::1...
Connected to mail.zainul.com.
Escape character is '^]'.
+OK Dovecot ready.
user arema   (user yang dikirimi email)
+OK
pass arema   (password user)
+OK Logged in.
list          (untuk melihat dapat pesan atau tidak)
+OK 1 messages:
1 453
.
retr 1         (melihat isi email)
+OK 453 octets
Return-Path:
X-Original-To: arema
Delivered-To: arema@zainul.com
Received: from localhost6.localdomain6 (localhost6.localdomain6 [IPv6:::1])
        by zainul.zainul.com (Postfix) with SMTP id C1FCD50072
        for ; Fri, 10 Dec 2010 04:07:41 +0700 (WIT)
Message-Id: <20101209210748.C1FCD50072@zainul.zainul.com>
Date: Fri, 10 Dec 2010 04:07:41 +0700 (WIT)
From: zainul@zainul.com
To: undisclosed-recipients:;

Salam Satu Jiwa  (isi email yang di kirim)
.
quit   (keluar dari telnet 110)
+OK Logging out.
Connection closed by foreign host.


Setting Webmail dengan menggunakan squirrelmail
Install Squirrelmail 
Misal dari flash disk :
1. Masuk Flashdisk
# mount /dev/sdb1 /media
# cd /media

# ls (melihat isi direktori)

2. Install Squirrelmail
# tar xvfz squirrelmail-1.4.19.tar.gz -C /var/www/
3. Ganti nama squirrelmail..... dengan nama yang tidak terlalu panjang agar mudah menulisnya.
# cd /var/www/ (tempat penyimpanan direktori squrrelmail)
# ls (melihat isi direktori)
# mv squirrelmail-1.4.19/ webmail (mengganti nama squirrelmai dengan webmail agar mudah pengaturannya)

4. Setting Squirrelmain
# /var/webmail/configure

Pada Menu Squirrelmail pilih no 2 yaitu Server Setting
Command >> 2 Enter
Ganti nama domain dengan pilih Command
Command >> 1
ganti dengan zainul.com (Dns anda)
Kemudian ganti IMAP Setting dengan Command >> A
Command >> 4 (ganti Imap server)
Ganti dengan zainul.com (Dns anda)
Ganti Update SMTP Setting dengan cara Command >> B
Pilih Command >> 4
Ganti dengan zainul.com
Kemudian Simpan dengan
Command >> S
Kembali ke menu squirrelmail
Command >> D
Kemudian Command >> dovecot

Kembali ke menu squirrelmail
Setting General Options Command >> 4
Ganti Data Directory Command >> 1

Ganti dengan ../data/

Kemudian Simpan dengan Command >> S
Masuk pada konfigurasi httpd : #vi /etc/httpd/conf/httpd.conf
Tambahkan dengan tekan INSERT :




#    ServerAdmin admin@zainul.com
    DocumentRoot /var/webmail
    ServerName mail.zainul.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common




Restart httpd

# service httpd restart

Stopping httpd:                                            [  OK  ]

Starting httpd:                                            [  OK  ]



Kemudian

# chmod 777 /var/webmail/ -R


Cek di komputer client
Buka browser mail.zainul.com (Dns mail anda)
Kemudian coba login dengan menggunakan salah satu user
Coba kirim email ke user lain
Kemudian keluar
Login dengan user yang anda kirimi email
Kemudian cek apakah sudah masuk




Membuat alias mail

Masuk pada konfigurasi httpd :
#vi /etc/httpd/conf/httpd.conf
Tambahkan dengan tekan INSERT :



alias /webmail "/var/webmail"


Restart httpd

# service httpd restart

Stopping httpd:                                            [  OK  ]

Starting httpd:                                            [  OK  ]



Kemudian

# chmod 777 /var/webmail/ -R


Cek di komputer client
Buka browser zainul.com/webmail (DNS anda)

Tweet
Konfigurasi Mail Server di Fedora 7 / Setting Mail Server di Fedora 7

Artikel keren lainnya:

Ditulis oleh Unknown pada tanggal
Posting Lebih Baru
Posting Lama
Beranda




Banyak Di Baca

  • HWiNFO terbaru Oktober 2017, versi 5.58 Build 3255
    HWiNFO (for DOS operating system), HWiNFO32™ and HWiNFO64™ (for both 32-bit and 64-bit Windows versions) is a collection of professional har...
  • Microsoft Security Essentials & offline update for Windows XP, Vista, 7 , 8, 8.1, 10 terbaru Desember 2016
    Microsoft Security Essentials is a free* download from Microsoft that is simple to install, easy to use, and always kept up-to-date so you c...
  • Cara Downgrade ASUS Zenfone 2 Laser 5,5" ZE550KL dari Marshmallow ke Lollipop
      File - File :     1) ADB : Setup versi 1.4.3 dan ADB Driver universal versi 2.0      3) Stock Lollipop Recovery Image ZE550KL versi 1.6.4...
  • Microsoft Windows and Office ISO Download Too terbaru September 2017, versi 5.21
    This new tool allows an easy and comfortable way to download genuine Windows 7, 8.1 and 10, as well as Office 2007, 2010, 2013 and 2016 disk...
  • Konfigurasi DNS di Fedora 7 / Setting DNS di Fedora 7
    Konfigurasi DNS di Linux Fedora 7 Pertama install fedora terlebih dahulu. Berikut langkah-langkah membuat DNS server : 1. Setting IP di Fedo...
  • .NET Framework 4.6.2 offline Installer
    Today we are excited to announce the availability of the .NET Framework 4.6.2! Many of the changes are based on your feedback, including tho...
  • Cara Setting IP di Ubuntu via Text
     Cara Setting IP di Ubuntu via Text     Berikut langkah-langkahnya : 1. Install Ubuntu terlebih dahulu atau klik disini. 2. Masuk konfiguras...
  • .NET Framework 4.7 (Offline Installer)
    Microsoft .NET Framework 4.7. Many of the changes are based on your feedback, including those submitted on UserVoice and Connect. Thanks for...
  • Daum PotPlayer terbaru Agustus 2017, versi 1.7.3344
    Daum PotPlayer is a freeware multimedia software from the author of The KMPlayer, it supports for all modern video and audio formats with a...
  • How to remove last name from facebook|TRICKS AND TIPS
    How to remove last name from facebook|TRICKS AND TIPS In this post i will teach you a trick in which you can remove you facebook last name f...

Arsip Blog

Total Tayangan Laman

Copyright © 2014 Portal Net - Powered by Blogger
Template by Mas Sugeng - Versi Seluler