Tanya Mail Server di ubuntu server 10.04

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
Post Reply
User avatar
chitoz

Tanya Mail Server di ubuntu server 10.04

Post 25 Dec 2012, 13:53

Gan ane mau nanya neh,.ane lg belajar buat mail server ngikuti tutorial ini..

Instalasi Postfix
root@budi-desktop:~# apt-get install postfix
Konfigurasi Postfix
root@budi-desktop:~# vim /etc/postfix/main.cf
myhostname = budidesktop
mydomain = kurusetra.web.id
myorigin = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = budidesktop,
localhost.localdomain, $mydomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 ,
192.168.20.0/24,122.200.52.41
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

root@budi-desktop:~# apt-get install dovecot-pop3d dovecot-imapd
Konfigurasi Dovecot
root@budi-desktop:~# vim /etc/dovecot/dovecot.conf
listen = *, ::
root@budi-desktop:~# vim /etc/dovecot/conf.d/10-master.conf
service imaplogin
{
inet_listener imap {
port = 143
}
inet_listener imaps {
#port = 993
#ssl = yes
}
service pop3login
{
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
#port = 995
#ssl = yes
}
}
root@budi-desktop:~# vim /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no
auth_mechanisms = plain
vim /etc/dovecot/conf.d/10-mail.conf
mail_location = mbox:~/mail:INBOX=/var/mail/%u
Pengujian Dovecot POP3
root@budi-desktop:~# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK Dovecot ready.
user budi
+OK
pass 1

Instalasi Squirrelmail
root@budi-desktop:~# apt-get install squirrelmail
Konfigurasi Squirrelmail
root@budi-desktop:~# vim /etc/apache2/apache2.conf
Alias /webmail /usr/share/squirrelmail/
root@budi-desktop:~# /etc/init.d/apache2 restart
--------

nae tes menggunakan
#telnet 192.168.10.2 110
Trying 192.168.10.2...
Connected to 192.168.10.2.
Escape character is '^]'.
+OK Dovecot ready.

trus ane buka browser http://192.168.10.2/webmail/
minta user dan password

1.yg ane tanyakan apakah konfigurasi punya ane udah bener..?
2. ketika memasukan user dan pasword selalu salah..?

mohon bantuannya,..sebelumnya terimakasih banyak..:)


User avatar
budi11
Contact:

Post 26 Dec 2012, 22:48

Coba agan cek imap nya.
telnet 127.0.0.1 imap
a02 login budi 1

untuk keluar
a02 logout
Kalau sudah sukses pasti bisa login dari squirrelmailnya.


User avatar
sayed
Contact:

Post 27 Dec 2012, 21:53

apakah masbro chitoz udah tambah user baru untuk tes login
atau coba aja pop3 ama imap diganti dengan courier
yang dovecot di remove aja mas

kalo ada yang masih kurang jelas PM saya aja mas


Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests