Difference between revisions of "SchoolOnffLine: Instalasi Postfix SMTP Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 45: | Line 45: | ||
==Test SMTP Server sebagai Relay== | ==Test SMTP Server sebagai Relay== | ||
+ | Lakukan dari mesin lain | ||
$ telnet 192.168.0.254 25 | $ telnet 192.168.0.254 25 | ||
Line 52: | Line 53: | ||
helo test | helo test | ||
mail from: <admin1@sekolah.sch.id> | mail from: <admin1@sekolah.sch.id> | ||
− | rcpt to: < | + | rcpt to: <mailanda@mailserver> |
data | data | ||
From: <admin1@sekolah.sch.id> | From: <admin1@sekolah.sch.id> | ||
− | To: < | + | To: <mailanda@mailserver> |
Subject: test schoolonffline | Subject: test schoolonffline | ||
percobaan | percobaan | ||
. | . | ||
quit | quit | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Pranala Menarik== | ==Pranala Menarik== |
Revision as of 08:02, 2 August 2009
Instalasi Postfix
# apt-get install postfix
Pilih
Internet with Smarthost OK
Sistem mail name, isi
sekolah.sch.id
SMTP relay host
smtp.telkom.net
Relayhost smtp.telkom.net adalah relayhost bagi mereka yang menggunakan TelkomSpeedy. Relayhost sangat tergantung pada ISP yang kita gunakan. Beberapa ISP tidak memberikan relayhost bagi pelanggannya.
Edit Konfigurasi Postfix
Edit konfigurasi /etc/postfix/main.cf
# vi /etc/postfix/main.cf
Pastikan
myhostname = sekolah.sch.id mydestination = sekolah.sch.id, sekolah, localhost.localdomain, localhost relayhost = smtp.telkom.net mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16 inet_interfaces = all
Restart Postfix
# /etc/init.d/postfix restart
Test SMTP Server sebagai Relay
Lakukan dari mesin lain
$ telnet 192.168.0.254 25
Ketik
helo test mail from: <admin1@sekolah.sch.id> rcpt to: <mailanda@mailserver> data From: <admin1@sekolah.sch.id> To: <mailanda@mailserver> Subject: test schoolonffline percobaan . quit