Difference between revisions of "Raspbian: Instalasi Squirrelmail"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
protocols = imap pop3 | protocols = imap pop3 | ||
+ | Pastikan Postfix hanya untuk IPv4 | ||
+ | |||
+ | vi /etc/postfix/main.cf | ||
+ | |||
+ | inet_protocols = ipv4 | ||
Beritahu [[Apache]] bahwa ada [[Squirrelmail]] dengan cara | Beritahu [[Apache]] bahwa ada [[Squirrelmail]] dengan cara | ||
Line 34: | Line 39: | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
/etc/init.d/postfix restart | /etc/init.d/postfix restart | ||
+ | |||
+ | |||
+ | ==Pancing Untuk Masing-Masing User== | ||
+ | |||
+ | Pancing dengan sebuah mail ke user tersebut | ||
+ | |||
+ | telnet localhost 25 | ||
+ | |||
+ | Kirimkan text berikut | ||
+ | |||
+ | helo test | ||
+ | mail from: <test@test.com> | ||
+ | rcpt to: <onno@korban.com> | ||
+ | data | ||
+ | From: <test@test.com> | ||
+ | To: <onno@korban.com> | ||
+ | Subject: test | ||
+ | |||
+ | test | ||
+ | |||
+ | . | ||
+ | |||
+ | quit |
Latest revision as of 16:24, 16 January 2015
Instalasi Squirrelmail
apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli \ php5-curl mysql-client mysql-server dovecot-common dovecot-imapd \ dovecot-pop3d postfix squirrelmail squirrelmail-decode
Pastikan dovecot mendukung imap, biasanya default-nya sudah ok
vi /etc/dovecot/dovecot.conf
listen = * protocols = imap pop3
Pastikan Postfix hanya untuk IPv4
vi /etc/postfix/main.cf
inet_protocols = ipv4
Beritahu Apache bahwa ada Squirrelmail dengan cara
cp /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf
Konfigurasi Domain Squirrelmail
/usr/sbin/squirrelmail-configure
2 -> 1 -> domain.id -> S -> Q
Edit konfigurasi Dovecot
vi /etc/dovecot/conf.d/10-mail.conf
mail_location = mbox:~/mail:INBOX=/var/mail/%u
Restart Server
/etc/init.d/dovecot restart /etc/init.d/apache2 restart /etc/init.d/postfix restart
Pancing Untuk Masing-Masing User
Pancing dengan sebuah mail ke user tersebut
telnet localhost 25
Kirimkan text berikut
helo test mail from: <test@test.com> rcpt to: <onno@korban.com> data From: <test@test.com> To: <onno@korban.com> Subject: test test . quit