Sabtu, 13 Oktober 2012

Konfigurasi Mail Server Linux Debian

Posted by Unknown  |  at  16.17

Salam Belajar Multimedia kali ini Belajar Multimedia moe ngeshare dket ilmu yang telah didapat selama di bangku SMK dulu : yaitu Cara Konfigurasi Mail Server Di Debian, sebelumnya Belajar Multimedia juga sudah pernah ngeshare sedikit ilmu nya tentang : Cara Membagi atau Membatasi Bandwidth Mikrotik Router Untuk Jam Waktu Tertentun, Jika sobat lupa silahkan diklik kembali untuk membaca nya.

untuk hari ini saya akan mencoba membagikan sintak nya :
ne dia syntak yang digunakan untuk Mengkonfigurasi Mail Server di Debian cek it out:

ikuti langkah2 dibawah ini :

 1). Install packages yang diperlukan untuk membangun “Mail Server” :
# aries@debian:~$ apt-get install postfix
# aries@debian:~$ apt-get install squirrelmail
# aries@debian:~$ apt-get install courier-imap
# aries@debian:~$ apt-get install courier-pop
# aries@debian:~$ apt-get install php4-imap
2). Edit file konfigurasi Mail Server :
# aries @debian:~$ pico /etc/postfix/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA’s job.
append_dot_mydomain = no
# Uncomment the next line to generate “delayed mail” warnings
#delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = aries.net
mydomain = aries.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = aries.net, aries, localhost.localdomain, localhost
home_mailbox = Maildir/
relayhost =
mynetworks = 127.0.0.0/8 192.168.13.0/24
#mailbox_command = procmail -a “$EXTENSION”
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

3). Edit juga file konfigurasi yang lain :
# aries @debian:~$ pico /etc/apache2/sites-available/default
NameVirtualHost 192.168.13.13
NameVirtualHost 192.168.2.1
<VirtualHost 192.168.13.13>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2s default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /mail/ “/usr/share/squirrelmail/”
<Directory “/usr/share/squirrelmail/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 192.168.2.1>
DocumentRoot /home/www
ServerName beckz.net
</VirtualHost>

4). Membuat folder Maildir di user tertentu :
# aries @debian:~$ cd /home/ aries
# aries @debian:~$ maildirmake Maildir


5). Ubah hak akses pemilik Maildir :
# aries @debian:~$ chown aries. aries Maildir -Rf


6). Membuat folder Maildir otomatis ketika create user :
# cd /etc/skel
# maildirmake Maildir

7). Jalankan Mail Server :
# aries @debian:~$ /etc/init.d/postfix restart
# aries @debian:~$ /etc/init.d/squirrelmail restart
# aries @debian:~$ /etc/init.d/courier-imap restart
# aries @debian:~$ /etc/init.d/courier-pop restart
# aries @debian:~$ /etc/init.d/cuorier-authdaemon restart


atau jika sobat ingin mendownload bahan nya ne Belajar Multimedia juga Menyediakan SoftCopy File nya :
Silahkan Di download :  Konfigurasi Mail Server Debian

Akhir kata sahabat Belajar Multimedia Mengucapkan Selamat Membaca dan Mencoba Semoga Berhasil.... Salam Belajar Multimedia.

Tagged as:
About the Author

Write admin description here..

0 komentar:

Tinggalkan komentar anda tentang semua tulisan yang ada di dalam blog ini...
n tinggalkan pula komentar anda pada buku tamu agar kami bisa mengunjungi blog anda jika anda seorang blogger...
trimakasih.. salam Belajar Multimedia

Subscribe
Get our latest posts directly in your email inbox.

Total Tayangan Halaman

Pengikut

back to top